InspectionSaveToLayerBuilder Class

class NXOpen.CAM.InspectionSaveToLayerBuilder

Bases: NXOpen.Builder

Inspection Analyze Save to Layer dialog builder

To create a new instance of this class, use NXOpen.CAM.InspectionOperationCollection.CreateInspectionSaveToLayerBuilderSel()

New in version NX9.0.1.

Properties

Property Description
GroupName Returns or sets the destination group name
Layer Returns or sets the destination layer
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
GetSelectedOps Returns the selected operations.
SaveToLayer Saves measured data to a layer.
SetSelectedOps Sets the selected operations.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

GroupName

InspectionSaveToLayerBuilder.GroupName

Returns or sets the destination group name

-------------------------------------

Getter Method

Signature GroupName

Returns:
Return type:str

New in version NX9.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature GroupName

Parameters:groupName (str) –

New in version NX9.0.1.

License requirements: insp_programming (“INSPECTION PROGRAMMING”)

Layer

InspectionSaveToLayerBuilder.Layer

Returns or sets the destination layer

-------------------------------------

Getter Method

Signature Layer

Returns:
Return type:int

New in version NX9.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature Layer

Parameters:layer (int) –

New in version NX9.0.1.

License requirements: insp_programming (“INSPECTION PROGRAMMING”)

Method Detail

GetSelectedOps

InspectionSaveToLayerBuilder.GetSelectedOps

Returns the selected operations.

Signature GetSelectedOps()

Returns:Selected operation tags
Return type:list of NXOpen.CAM.CAMObject

New in version NX9.0.1.

License requirements: None.

SaveToLayer

InspectionSaveToLayerBuilder.SaveToLayer

Saves measured data to a layer.

Signature SaveToLayer()

New in version NX9.0.1.

License requirements: insp_programming (“INSPECTION PROGRAMMING”)

SetSelectedOps

InspectionSaveToLayerBuilder.SetSelectedOps

Sets the selected operations.

Signature SetSelectedOps(selectedOps)

Parameters:selectedOps (list of NXOpen.CAM.CAMObject) – Selected operation tags

New in version NX9.0.1.

License requirements: insp_programming (“INSPECTION PROGRAMMING”)

Validate

InspectionSaveToLayerBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.