NcmctPartMountingBuilder Class¶
-
class
NXOpen.CAM.
NcmctPartMountingBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.CAM.NcmctPartMountingBuilder
a “commit” of this object will perform the Part Mounting and no object is returned.To create a new instance of this class, use
NXOpen.CAM.CAMSetup.CreateNcmctPartMountingBuilder
New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
Geometry | Returns the selected part geometry list. |
Layer | Returns or sets the layer |
LayerOptions | Returns or sets the layer type |
PartMountJunction | Returns or sets the CSYS associated with the junction |
Positioning | Returns or sets the positioning type |
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. |
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. |
Enumerations¶
NcmctPartMountingBuilderLayerTypes Enumeration | Available types for layer options |
NcmctPartMountingBuilderPositioningTypes Enumeration | Available types for positioning |
Property Detail¶
Geometry¶
-
NcmctPartMountingBuilder.
Geometry
¶ Returns the selected part geometry list.
-------------------------------------
Getter Method
Signature
Geometry()
Returns: the selected geometry list Return type: NXOpen.SelectNXObjectList
New in version NX8.0.0.
License requirements: None.
Layer¶
-
NcmctPartMountingBuilder.
Layer
¶ Returns or sets the layer
-------------------------------------
Getter Method
Signature
Layer()
Returns: the layer Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Layer(layer)
Parameters: layer (int) – the layer New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
LayerOptions¶
-
NcmctPartMountingBuilder.
LayerOptions
¶ Returns or sets the layer type
-------------------------------------
Getter Method
Signature
LayerOptions()
Returns: the layer options Return type: NXOpen.CAM.NcmctPartMountingBuilderLayerTypes
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LayerOptions(layerType)
Parameters: layerType ( NXOpen.CAM.NcmctPartMountingBuilderLayerTypes
) – the layer optionsNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
PartMountJunction¶
-
NcmctPartMountingBuilder.
PartMountJunction
¶ Returns or sets the CSYS associated with the junction
-------------------------------------
Getter Method
Signature
PartMountJunction()
Returns: the part mount junction Return type: NXOpen.CartesianCoordinateSystem
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PartMountJunction(csys)
Parameters: csys ( NXOpen.CartesianCoordinateSystem
) – the part mount junctionNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
Positioning¶
-
NcmctPartMountingBuilder.
Positioning
¶ Returns or sets the positioning type
-------------------------------------
Getter Method
Signature
Positioning()
Returns: the positioning type Return type: NXOpen.CAM.NcmctPartMountingBuilderPositioningTypes
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Positioning(posType)
Parameters: posType ( NXOpen.CAM.NcmctPartMountingBuilderPositioningTypes
) – the positioning typeNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
Method Detail¶
Validate¶
-
NcmctPartMountingBuilder.
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.