SIZERImportBuilder Class¶
-
class
NXOpen.Tooling.
SIZERImportBuilder
¶ Bases:
NXOpen.Builder
Imports results for motor selection from SIZER drive design based on the sizing, configuration, and selection of drive components.
To create a new instance of this class, use
NXOpen.Tooling.SIZERCollection.CreateImportBuilder()
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
InputFile | Returns or sets the input *. |
PositionMethod | Returns or sets the position method, which is used in adding to assembly. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CreateMcdLogical | Creates logical node in system navigator. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
EditMcdLogical | Edits logical node in system navigator. |
GenerateMotorModel | Generates motor 3D model. |
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¶
SIZERImportBuilderPositionMode Enumeration | Represents the position mode. |
Property Detail¶
InputFile¶
-
SIZERImportBuilder.
InputFile
¶ Returns or sets the input *.
mdex file, which is imported from SIZER.
-------------------------------------
Getter Method
Signature
InputFile
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InputFile
Parameters: filename (str) – New in version NX7.5.0.
License requirements: None.
PositionMethod¶
-
SIZERImportBuilder.
PositionMethod
¶ Returns or sets the position method, which is used in adding to assembly.
-------------------------------------
Getter Method
Signature
PositionMethod
Returns: Return type: NXOpen.Tooling.SIZERImportBuilderPositionMode
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositionMethod
Parameters: positionMethod ( NXOpen.Tooling.SIZERImportBuilderPositionMode
) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
CreateMcdLogical¶
-
SIZERImportBuilder.
CreateMcdLogical
¶ Creates logical node in system navigator.
Signature
CreateMcdLogical(referenceDesignator)
Parameters: referenceDesignator (str) – Multiple Reference Designator Returns: Logical Object Tag Return type: NXOpen.Mechatronics.LogicObject
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
EditMcdLogical¶
-
SIZERImportBuilder.
EditMcdLogical
¶ Edits logical node in system navigator.
Signature
EditMcdLogical(logicalNode, newPartOccs, parameterData)
Parameters: - logicalNode (
NXOpen.Mechatronics.LogicObject
) – Logical Object Tag - newPartOccs (list of
NXOpen.Assemblies.Component
) – New Components Array - parameterData (list of
NXOpen.Mechatronics.LogicObjectBuilderParameterData_Struct
) – Parameter Data Array
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
- logicalNode (
GenerateMotorModel¶
-
SIZERImportBuilder.
GenerateMotorModel
¶ Generates motor 3D model.
Signature
GenerateMotorModel(motorType)
Parameters: motorType (str) – Motor Type Returns: Motor Part object Return type: NXOpen.BasePart
New in version NX7.5.0.
License requirements: None.
Validate¶
-
SIZERImportBuilder.
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.