TrimMoldComponentsBuilder Class¶
-
class
NXOpen.Tooling.
TrimMoldComponentsBuilder
¶ Bases:
NXOpen.Builder
Represents a builder to be used to create Mold Wizard trim mold components.
To create a new instance of this class, use
NXOpen.Tooling.TrimMoldComponentsCollection.CreateTrimMoldComponentsBuilder()
Default values.
Property Value ActionType Trim TargetSelectScope Product TrimPart Notrimpart TrimSurface SelectFaces New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
ActionType | Returns or sets the action type defines the current trim method used to processing a mold components. |
Tag | Returns the Tag for this object. |
TargetBodies | Returns the target bodies which collects the bodies to be trimmed or untrimmed. |
TargetSelectScope | Returns or sets the selection scope for target body selection. |
ToolFace | Returns the tool face used to trim the target bodies. |
ToolSheetBody | Returns the tool sheet body used to trim the target bodies. |
TrimDirection | Returns or sets the indication to reverse the trim direction. |
TrimPart | Returns or sets the trim part where trim surface features are found. |
TrimSurface | Returns or sets the trim surface used to trim the target bodies. |
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. |
SetTrimDataDetails | Set details of the trim data. |
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¶
TrimMoldComponentsBuilderTargetScope Enumeration | the target bodies selection scope |
TrimMoldComponentsBuilderTrimMethod Enumeration | the processing type of Trim Mold Components. |
TrimMoldComponentsBuilderTrimPartName Enumeration | the trim part options where a part chosen to work around |
TrimMoldComponentsBuilderTrimSurfaceName Enumeration | trim surface types |
Property Detail¶
ActionType¶
-
TrimMoldComponentsBuilder.
ActionType
¶ Returns or sets the action type defines the current trim method used to processing a mold components.
-------------------------------------
Getter Method
Signature
ActionType
Returns: Return type: NXOpen.Tooling.TrimMoldComponentsBuilderTrimMethod
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ActionType
Parameters: actionType ( NXOpen.Tooling.TrimMoldComponentsBuilderTrimMethod
) –New in version NX7.5.0.
License requirements: None.
TargetBodies¶
-
TrimMoldComponentsBuilder.
TargetBodies
¶ Returns the target bodies which collects the bodies to be trimmed or untrimmed.
-------------------------------------
Getter Method
Signature
TargetBodies
Returns: Return type: NXOpen.SelectBodyList
New in version NX7.5.0.
License requirements: None.
TargetSelectScope¶
-
TrimMoldComponentsBuilder.
TargetSelectScope
¶ Returns or sets the selection scope for target body selection.
-------------------------------------
Getter Method
Signature
TargetSelectScope
Returns: Return type: NXOpen.Tooling.TrimMoldComponentsBuilderTargetScope
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TargetSelectScope
Parameters: targetSelectScope ( NXOpen.Tooling.TrimMoldComponentsBuilderTargetScope
) –New in version NX7.5.0.
License requirements: None.
ToolFace¶
-
TrimMoldComponentsBuilder.
ToolFace
¶ Returns the tool face used to trim the target bodies.
-------------------------------------
Getter Method
Signature
ToolFace
Returns: Return type: NXOpen.ScCollector
New in version NX7.5.0.
License requirements: None.
ToolSheetBody¶
-
TrimMoldComponentsBuilder.
ToolSheetBody
¶ Returns the tool sheet body used to trim the target bodies.
-------------------------------------
Getter Method
Signature
ToolSheetBody
Returns: Return type: NXOpen.SelectBody
New in version NX7.5.0.
License requirements: None.
TrimDirection¶
-
TrimMoldComponentsBuilder.
TrimDirection
¶ Returns or sets the indication to reverse the trim direction.
-------------------------------------
Getter Method
Signature
TrimDirection
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimDirection
Parameters: trimDirection (bool) – New in version NX7.5.0.
License requirements: None.
TrimPart¶
-
TrimMoldComponentsBuilder.
TrimPart
¶ Returns or sets the trim part where trim surface features are found.
-------------------------------------
Getter Method
Signature
TrimPart
Returns: Return type: NXOpen.Tooling.TrimMoldComponentsBuilderTrimPartName
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimPart
Parameters: trimPart ( NXOpen.Tooling.TrimMoldComponentsBuilderTrimPartName
) –New in version NX7.5.0.
License requirements: None.
TrimSurface¶
-
TrimMoldComponentsBuilder.
TrimSurface
¶ Returns or sets the trim surface used to trim the target bodies.
-------------------------------------
Getter Method
Signature
TrimSurface
Returns: Return type: NXOpen.Tooling.TrimMoldComponentsBuilderTrimSurfaceName
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrimSurface
Parameters: trimSurface ( NXOpen.Tooling.TrimMoldComponentsBuilderTrimSurfaceName
) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
SetTrimDataDetails¶
-
TrimMoldComponentsBuilder.
SetTrimDataDetails
¶ Set details of the trim data.
Signature
SetTrimDataDetails(surfaceType, trimDirection, targets, tools)
Parameters: - surfaceType (int) – the surface type.
- trimDirection (int) – the trim direction.
- targets (list of
NXOpen.NXObject
) – array of target ejector pins. - tools (list of
NXOpen.NXObject
) – array of tool objects.
New in version NX7.5.0.
License requirements: None.
Validate¶
-
TrimMoldComponentsBuilder.
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.