StandardPartBuilder Class¶
-
class
NXOpen.Tooling.
StandardPartBuilder
¶ Bases:
NXOpen.Builder
Represents a builder to be used to create Mold Wizard Standard Part.
To create a new instance of this class, use
NXOpen.Tooling.StandardPartCollection.CreateStandardPartBuilder
Default values.
Property Value AssociativePosition 0 ConceptDesign 0 ReferenceSet True RenameComponents 0 ShowInfoWindow 0 StandardPartEditType AddInstance New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
AssociativePosition | Returns or sets the flag to indicate whether to use the associative position method. |
ConceptDesign | Returns or sets the flag to indicate whether to add concept symbols instead of real standard parts. |
PointPattern | Returns the point pattern used to control how to standard parts. |
PostioningPlane | Returns the postioning plane used to position a standard part. |
ReferenceSet | Returns or sets the reference set currently used to add a new component to an assembly. |
RenameComponents | Returns or sets the flag to indicate whether to bring up the Part Name Management dialog. |
ShowInfoWindow | Returns or sets the flag to indicate whether to show the Information Window. |
StandardPartComponent | Returns the standard part component which is selected to be edited. |
StandardPartEditType | Returns or sets the standard part edit type of processing the selected component. |
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. |
EditDataBase | Edits the data file of the standard item selected in Reuse Member View |
EditRegister | Edits the registering spread sheet file of the standard item selected in Reuse Member View. |
Flip | Flips the selected standard part component. |
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. |
Help | Ask help of the selected standard part component. |
RemoveComponent | Removes the selected standard part component. |
Reposition | Repositions the selected standard part component. |
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¶
StandardPartBuilderEditType Enumeration | Represents the type to edit a standard part. |
StandardPartBuilderRefsetName Enumeration | Represents the reference set of the standard part when it is added to the assembly. |
Property Detail¶
AssociativePosition¶
-
StandardPartBuilder.
AssociativePosition
¶ Returns or sets the flag to indicate whether to use the associative position method.
-------------------------------------
Getter Method
Signature
AssociativePosition()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AssociativePosition(associativePosition)
Parameters: associativePosition (bool) – New in version NX8.0.0.
License requirements: None.
ConceptDesign¶
-
StandardPartBuilder.
ConceptDesign
¶ Returns or sets the flag to indicate whether to add concept symbols instead of real standard parts.
-------------------------------------
Getter Method
Signature
ConceptDesign()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConceptDesign(conceptDesign)
Parameters: conceptDesign (bool) – New in version NX8.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
PointPattern¶
-
StandardPartBuilder.
PointPattern
¶ Returns the point pattern used to control how to standard parts.
-------------------------------------
Getter Method
Signature
PointPattern()
Returns: Return type: NXOpen.SelectNXObject
New in version NX8.0.0.
License requirements: None.
PostioningPlane¶
-
StandardPartBuilder.
PostioningPlane
¶ Returns the postioning plane used to position a standard part.
-------------------------------------
Getter Method
Signature
PostioningPlane()
Returns: Return type: NXOpen.SelectNXObject
New in version NX8.0.0.
License requirements: None.
ReferenceSet¶
-
StandardPartBuilder.
ReferenceSet
¶ Returns or sets the reference set currently used to add a new component to an assembly.
-------------------------------------
Getter Method
Signature
ReferenceSet()
Returns: Return type: NXOpen.Tooling.StandardPartBuilderRefsetName
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReferenceSet(referenceSet)
Parameters: referenceSet ( NXOpen.Tooling.StandardPartBuilderRefsetName
) –New in version NX8.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
RenameComponents¶
-
StandardPartBuilder.
RenameComponents
¶ Returns or sets the flag to indicate whether to bring up the Part Name Management dialog.
-------------------------------------
Getter Method
Signature
RenameComponents()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RenameComponents(renameComponents)
Parameters: renameComponents (bool) – New in version NX8.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
ShowInfoWindow¶
-
StandardPartBuilder.
ShowInfoWindow
¶ Returns or sets the flag to indicate whether to show the Information Window.
-------------------------------------
Getter Method
Signature
ShowInfoWindow()
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowInfoWindow(showInfoWindow)
Parameters: showInfoWindow (bool) – New in version NX8.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
StandardPartComponent¶
-
StandardPartBuilder.
StandardPartComponent
¶ Returns the standard part component which is selected to be edited.
-------------------------------------
Getter Method
Signature
StandardPartComponent()
Returns: Return type: NXOpen.SelectNXObject
New in version NX8.0.0.
License requirements: None.
StandardPartEditType¶
-
StandardPartBuilder.
StandardPartEditType
¶ Returns or sets the standard part edit type of processing the selected component.
-------------------------------------
Getter Method
Signature
StandardPartEditType()
Returns: Return type: NXOpen.Tooling.StandardPartBuilderEditType
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StandardPartEditType(standardPartEditType)
Parameters: standardPartEditType ( NXOpen.Tooling.StandardPartBuilderEditType
) –New in version NX8.0.0.
License requirements: ug_mold_design (“UG MOLD”) OR nx_electrode_wizard (“NX Electrode Wizard”) OR prog_die_wizard (“UG/Progressive Die Wizard”)
Method Detail¶
EditDataBase¶
-
StandardPartBuilder.
EditDataBase
¶ Edits the data file of the standard item selected in Reuse Member View
Signature
EditDataBase()
New in version NX8.0.0.
License requirements: None.
EditRegister¶
-
StandardPartBuilder.
EditRegister
¶ Edits the registering spread sheet file of the standard item selected in Reuse Member View.
Signature
EditRegister()
New in version NX8.0.0.
License requirements: None.
Flip¶
-
StandardPartBuilder.
Flip
¶ Flips the selected standard part component.
Signature
Flip()
New in version NX8.0.0.
License requirements: None.
Help¶
-
StandardPartBuilder.
Help
¶ Ask help of the selected standard part component.
Signature
Help()
New in version NX8.0.0.
License requirements: None.
RemoveComponent¶
-
StandardPartBuilder.
RemoveComponent
¶ Removes the selected standard part component.
Signature
RemoveComponent()
New in version NX8.0.0.
License requirements: None.
Reposition¶
-
StandardPartBuilder.
Reposition
¶ Repositions the selected standard part component.
Signature
Reposition()
New in version NX8.0.0.
License requirements: None.
Validate¶
-
StandardPartBuilder.
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.