PMDCMotorBuilder Class¶
-
class
NXOpen.Motion.PMDCMotorBuilder¶ Bases:
NXOpen.Motion.MotorBuilderRepresents a
NXOpen.Motion.PMDCMotorBuilderTo create a new instance of this class, use
NXOpen.Motion.PMDCMotorCollection.CreatePmdcMotorBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| DampingCoefficient | Returns or sets the damping coefficient |
| DisplayScale | Returns or sets the icon display scale |
| GroupName | Returns or sets the group name |
| GroupType | Returns or sets the group type |
| InductanceExpression | Returns the Inductant Expression |
| InitialCurrentExpression | Returns the Initial Current Expression |
| InitialSpeed | Returns or sets the initial speed |
| MotorType | Returns or sets the motor type |
| Name | Returns or sets the name |
| NominalVoltageExpression | Returns the Nominal Voltage Expression |
| ResistanceExpression | Returns the Resistance Expression |
| RotorInteria | Returns or sets the rotor interia |
| Tag | Returns the Tag for this object. |
| VoltageConstantExpression | Returns the Voltage Constant Expression |
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¶
| PMDCMotorBuilderType Enumeration | Motor type |
Property Detail¶
DampingCoefficient¶
-
PMDCMotorBuilder.DampingCoefficient¶ Returns or sets the damping coefficient
-------------------------------------Getter Method
Signature
DampingCoefficientReturns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
DampingCoefficientParameters: dampingCoefficient (float) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
InductanceExpression¶
-
PMDCMotorBuilder.InductanceExpression¶ Returns the Inductant Expression
-------------------------------------Getter Method
Signature
InductanceExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
InitialCurrentExpression¶
-
PMDCMotorBuilder.InitialCurrentExpression¶ Returns the Initial Current Expression
-------------------------------------Getter Method
Signature
InitialCurrentExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
InitialSpeed¶
-
PMDCMotorBuilder.InitialSpeed¶ Returns or sets the initial speed
-------------------------------------Getter Method
Signature
InitialSpeedReturns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
InitialSpeedParameters: initialSpeed (float) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
MotorType¶
-
PMDCMotorBuilder.MotorType¶ Returns or sets the motor type
-------------------------------------Getter Method
Signature
MotorTypeReturns: Return type: NXOpen.Motion.PMDCMotorBuilderTypeNew in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
MotorTypeParameters: motorType ( NXOpen.Motion.PMDCMotorBuilderType) –New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Name¶
-
PMDCMotorBuilder.Name¶ Returns or sets the name
-------------------------------------Getter Method
Signature
NameReturns: Return type: str New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
NameParameters: motorName (str) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
NominalVoltageExpression¶
-
PMDCMotorBuilder.NominalVoltageExpression¶ Returns the Nominal Voltage Expression
-------------------------------------Getter Method
Signature
NominalVoltageExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
ResistanceExpression¶
-
PMDCMotorBuilder.ResistanceExpression¶ Returns the Resistance Expression
-------------------------------------Getter Method
Signature
ResistanceExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
RotorInteria¶
-
PMDCMotorBuilder.RotorInteria¶ Returns or sets the rotor interia
-------------------------------------Getter Method
Signature
RotorInteriaReturns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------Setter Method
Signature
RotorInteriaParameters: rotorInteria (float) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
VoltageConstantExpression¶
-
PMDCMotorBuilder.VoltageConstantExpression¶ Returns the Voltage Constant Expression
-------------------------------------Getter Method
Signature
VoltageConstantExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Method Detail¶
Validate¶
-
PMDCMotorBuilder.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.