MoldFillingBuilder Class¶
-
class
NXOpen.Tooling.
MoldFillingBuilder
¶ Bases:
NXOpen.Builder
Builder used to add a gate/runner standard part from fill library, it returns None.
To create a new instance of this class, use
NXOpen.Tooling.MoldwizardManager.CreateMoldFillingBuilder()
Default values.
Property Value Constraint 0 InstallOptions AddInstance IsBalanced 0 MoveAllGates 1 MoveOptions Move Rename 0 New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
AddedGatesByRunner | Returns the gates added by selecting a runner body. |
Constraint | Returns or sets a value that indicates whether adding a constraint when placing a fill component. |
FillComponent | Returns the fill component to be edit. |
InstallOptions | Returns or sets the installation option when adding multiple gates one time. |
IsBalanced | Returns or sets a value that indicates whether placing gates as product layout. |
MoveAllGates | Returns or sets a value that indicates whether to move all gates or not when moving the active gate. |
MoveOptions | Returns or sets the modification option. |
PositionObject | Returns the position object(point or runner body) used to place a gate component. |
PositionPoint | Returns or sets the point used to place a runner component. |
Rename | Returns or sets a value that indicates whether the rename dialog should be activated when adding a fill component. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
AddFillingComponents | Adds gate or runner component. |
AskFillLibraryData | Gets fill standard part library data. |
Commit | Commits any edits that have been applied to the builder. |
CreateCloneObject | Creates clone object. |
DeleteFill | Deletes selected fill component. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
EditComponentDimensions | Edits standard part dimensions. |
GateLayoutAction | Places the gate as product layout. |
GetCloneObject | Gets clone client data. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetDataFromSelectedFillComponent | Gets spreadsheet data from specified fill component. |
GetObject | Returns the object currently being edited by this builder. |
PreviewSelectedFillComponent | Preview selected fill component. |
RemoveAddedComponents | Removes added fill components. |
SaveEditingFillComponentPosition | Saves the position of fill component to be edit. |
SetActiveFillComponent | Sets the specified component as the active component. |
SetClientDataWithSelectedItem | Gets selected part data, and assign it to standard part client data. |
SetCloneObject | Sets clone client data. |
SetFillClientData | Sets standard part client data. |
SetManipulatorPosition | Sets manipulator position. |
SetParameterTreeData | Sets spreadsheet 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¶
MoldFillingBuilderInstallOption Enumeration | The installation type of the fill component. |
MoldFillingBuilderMoveOption Enumeration | The modification options of the selected fill component. |
Property Detail¶
AddedGatesByRunner¶
-
MoldFillingBuilder.
AddedGatesByRunner
¶ Returns the gates added by selecting a runner body.
-------------------------------------
Getter Method
Signature
AddedGatesByRunner
Returns: Return type: NXOpen.Assemblies.SelectComponentList
New in version NX11.0.0.
License requirements: None.
Constraint¶
-
MoldFillingBuilder.
Constraint
¶ Returns or sets a value that indicates whether adding a constraint when placing a fill component.
-------------------------------------
Getter Method
Signature
Constraint
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Constraint
Parameters: constraint (bool) – New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
FillComponent¶
-
MoldFillingBuilder.
FillComponent
¶ Returns the fill component to be edit.
-------------------------------------
Getter Method
Signature
FillComponent
Returns: Return type: NXOpen.Assemblies.SelectComponent
New in version NX11.0.0.
License requirements: None.
InstallOptions¶
-
MoldFillingBuilder.
InstallOptions
¶ Returns or sets the installation option when adding multiple gates one time.
-------------------------------------
Getter Method
Signature
InstallOptions
Returns: Return type: NXOpen.Tooling.MoldFillingBuilderInstallOption
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InstallOptions
Parameters: installOptions ( NXOpen.Tooling.MoldFillingBuilderInstallOption
) –New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
IsBalanced¶
-
MoldFillingBuilder.
IsBalanced
¶ Returns or sets a value that indicates whether placing gates as product layout.
-------------------------------------
Getter Method
Signature
IsBalanced
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IsBalanced
Parameters: isBalanced (bool) – New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
MoveAllGates¶
-
MoldFillingBuilder.
MoveAllGates
¶ Returns or sets a value that indicates whether to move all gates or not when moving the active gate.
-------------------------------------
Getter Method
Signature
MoveAllGates
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MoveAllGates
Parameters: moveAllGates (bool) – New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
MoveOptions¶
-
MoldFillingBuilder.
MoveOptions
¶ Returns or sets the modification option.
-------------------------------------
Getter Method
Signature
MoveOptions
Returns: Return type: NXOpen.Tooling.MoldFillingBuilderMoveOption
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MoveOptions
Parameters: movecopy ( NXOpen.Tooling.MoldFillingBuilderMoveOption
) –New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
PositionObject¶
-
MoldFillingBuilder.
PositionObject
¶ Returns the position object(point or runner body) used to place a gate component.
-------------------------------------
Getter Method
Signature
PositionObject
Returns: The position object can be a point or a solid body Return type: NXOpen.SelectNXObject
New in version NX11.0.0.
License requirements: None.
PositionPoint¶
-
MoldFillingBuilder.
PositionPoint
¶ Returns or sets the point used to place a runner component.
-------------------------------------
Getter Method
Signature
PositionPoint
Returns: Return type: NXOpen.Point
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositionPoint
Parameters: positionPoint ( NXOpen.Point
) –New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
Rename¶
-
MoldFillingBuilder.
Rename
¶ Returns or sets a value that indicates whether the rename dialog should be activated when adding a fill component.
-------------------------------------
Getter Method
Signature
Rename
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Rename
Parameters: rename (bool) – New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
Method Detail¶
AddFillingComponents¶
-
MoldFillingBuilder.
AddFillingComponents
¶ Adds gate or runner component.
Signature
AddFillingComponents()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
AskFillLibraryData¶
-
MoldFillingBuilder.
AskFillLibraryData
¶ Gets fill standard part library data.
Signature
AskFillLibraryData(isFromMemberView, libName, libPath)
Parameters: - isFromMemberView (bool) – True if user drags an fill item from reuse library
- libName (str) – Name of the fill library
- libPath (str) – Path of the fill library
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
CreateCloneObject¶
-
MoldFillingBuilder.
CreateCloneObject
¶ Creates clone object.
Signature
CreateCloneObject()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
DeleteFill¶
-
MoldFillingBuilder.
DeleteFill
¶ Deletes selected fill component.
Signature
DeleteFill()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
EditComponentDimensions¶
-
MoldFillingBuilder.
EditComponentDimensions
¶ Edits standard part dimensions.
Signature
EditComponentDimensions(addedPartOcc)
Parameters: addedPartOcc ( NXOpen.Assemblies.Component
) – The component to be editNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
GateLayoutAction¶
-
MoldFillingBuilder.
GateLayoutAction
¶ Places the gate as product layout.
Signature
GateLayoutAction()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
GetCloneObject¶
-
MoldFillingBuilder.
GetCloneObject
¶ Gets clone client data.
Signature
GetCloneObject()
Returns: A NXOpen.Tooling.CloneObject
instanceReturn type: NXOpen.Tooling.CloneObject
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
GetDataFromSelectedFillComponent¶
-
MoldFillingBuilder.
GetDataFromSelectedFillComponent
¶ Gets spreadsheet data from specified fill component.
Signature
GetDataFromSelectedFillComponent(sheetData)
Parameters: sheetData ( NXOpen.Tooling.SpreadsheetData
) – Spreadsheet dataNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
PreviewSelectedFillComponent¶
-
MoldFillingBuilder.
PreviewSelectedFillComponent
¶ Preview selected fill component.
Signature
PreviewSelectedFillComponent()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
RemoveAddedComponents¶
-
MoldFillingBuilder.
RemoveAddedComponents
¶ Removes added fill components.
Signature
RemoveAddedComponents()
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
SaveEditingFillComponentPosition¶
-
MoldFillingBuilder.
SaveEditingFillComponentPosition
¶ Saves the position of fill component to be edit.
Signature
SaveEditingFillComponentPosition(matrix, position)
Parameters: - matrix (
NXOpen.Matrix3x3
) – Transform matrix of the editing component - position (
NXOpen.Point3d
) – Transform origin point of the editing component
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
- matrix (
SetActiveFillComponent¶
-
MoldFillingBuilder.
SetActiveFillComponent
¶ Sets the specified component as the active component.
Signature
SetActiveFillComponent(activePartOcc)
Parameters: activePartOcc ( NXOpen.Assemblies.Component
) – The component to be set as the active componentNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
SetClientDataWithSelectedItem¶
-
MoldFillingBuilder.
SetClientDataWithSelectedItem
¶ Gets selected part data, and assign it to standard part client data.
Signature
SetClientDataWithSelectedItem(catalogName, descriptiveName)
Parameters: - catalogName (str) – Catalog name of the fill component
- descriptiveName (str) – Descriptive name of the fill component
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
SetCloneObject¶
-
MoldFillingBuilder.
SetCloneObject
¶ Sets clone client data.
Signature
SetCloneObject(cloneObject)
Parameters: cloneObject ( NXOpen.Tooling.CloneObject
) – ANXOpen.Tooling.CloneObject
instanceNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
SetFillClientData¶
-
MoldFillingBuilder.
SetFillClientData
¶ Sets standard part client data.
Signature
SetFillClientData(clientData)
Parameters: clientData ( NXOpen.Tooling.StandardPartData
) – Standard part client dataNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
SetManipulatorPosition¶
-
MoldFillingBuilder.
SetManipulatorPosition
¶ Sets manipulator position.
Signature
SetManipulatorPosition(matrix, position)
Parameters: - matrix (
NXOpen.Matrix3x3
) – Matrix of the specified coordinates - position (
NXOpen.Point3d
) – Origin point of the specified coordinates
New in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
- matrix (
SetParameterTreeData¶
-
MoldFillingBuilder.
SetParameterTreeData
¶ Sets spreadsheet data.
Signature
SetParameterTreeData(sheetData)
Parameters: sheetData ( NXOpen.Tooling.SpreadsheetData
) – Spreadsheet dataNew in version NX11.0.0.
License requirements: ug_mold_design (“UG MOLD”)
Validate¶
-
MoldFillingBuilder.
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.