PMDCMotorBuilder Class¶
-
class
NXOpen.Motion.
PMDCMotorBuilder
¶ Bases:
NXOpen.Motion.MotorBuilder
Represents a
NXOpen.Motion.PMDCMotorBuilder
To 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 |
Inductance | Returns or sets the inductance |
InductanceExpression | Returns the Inductant Expression |
InitialCurrent | Returns or sets the initial current |
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 |
NominalVoltage | Returns or sets the nominal voltage |
NominalVoltageExpression | Returns the Nominal Voltage Expression |
Resistance | Returns or sets the resistance |
ResistanceExpression | Returns the Resistance Expression |
RotorInteria | Returns or sets the rotor interia |
Tag | Returns the Tag for this object. |
VoltageConstant | Returns or sets the voltage constant |
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
DampingCoefficient()
Returns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
DampingCoefficient(dampingCoefficient)
Parameters: dampingCoefficient (float) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Inductance¶
-
PMDCMotorBuilder.
Inductance
¶ Returns or sets the inductance
-------------------------------------
Getter Method
Signature
Inductance()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.InductanceExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
Inductance(inductance)
Parameters: inductance (float) – New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.InductanceExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
InductanceExpression¶
-
PMDCMotorBuilder.
InductanceExpression
¶ Returns the Inductant Expression
-------------------------------------
Getter Method
Signature
InductanceExpression()
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
InitialCurrent¶
-
PMDCMotorBuilder.
InitialCurrent
¶ Returns or sets the initial current
-------------------------------------
Getter Method
Signature
InitialCurrent()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.InitialCurrentExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
InitialCurrent(initialCurrent)
Parameters: initialCurrent (float) – New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.InitialCurrentExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
InitialCurrentExpression¶
-
PMDCMotorBuilder.
InitialCurrentExpression
¶ Returns the Initial Current Expression
-------------------------------------
Getter Method
Signature
InitialCurrentExpression()
Returns: Return type: NXOpen.Expression
New 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
InitialSpeed()
Returns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
InitialSpeed(initialSpeed)
Parameters: 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
MotorType()
Returns: Return type: NXOpen.Motion.PMDCMotorBuilderType
New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
MotorType(motorType)
Parameters: 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
Name()
Returns: Return type: str New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
Name(motorName)
Parameters: motorName (str) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
NominalVoltage¶
-
PMDCMotorBuilder.
NominalVoltage
¶ Returns or sets the nominal voltage
-------------------------------------
Getter Method
Signature
NominalVoltage()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.NominalVoltageExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
NominalVoltage(nominalVoltage)
Parameters: nominalVoltage (float) – New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.NominalVoltageExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
NominalVoltageExpression¶
-
PMDCMotorBuilder.
NominalVoltageExpression
¶ Returns the Nominal Voltage Expression
-------------------------------------
Getter Method
Signature
NominalVoltageExpression()
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
Resistance¶
-
PMDCMotorBuilder.
Resistance
¶ Returns or sets the resistance
-------------------------------------
Getter Method
Signature
Resistance()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.ResistanceExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
Resistance(resistance)
Parameters: resistance (float) – New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.ResistanceExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
ResistanceExpression¶
-
PMDCMotorBuilder.
ResistanceExpression
¶ Returns the Resistance Expression
-------------------------------------
Getter Method
Signature
ResistanceExpression()
Returns: Return type: NXOpen.Expression
New 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
RotorInteria()
Returns: Return type: float New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
RotorInteria(rotorInteria)
Parameters: rotorInteria (float) – New in version NX6.0.0.
License requirements: nx_motion_motor (“NX Motion Motor”)
VoltageConstant¶
-
PMDCMotorBuilder.
VoltageConstant
¶ Returns or sets the voltage constant
-------------------------------------
Getter Method
Signature
VoltageConstant()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.VoltageConstantExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
-------------------------------------
Setter Method
Signature
VoltageConstant(voltageConstant)
Parameters: voltageConstant (float) – New in version NX6.0.0.
Deprecated since version NX8.5.0: Obtion the exression using
NXOpen.Motion.PMDCMotorBuilder.VoltageConstantExpression()
to query or edit it.License requirements: nx_motion_motor (“NX Motion Motor”)
VoltageConstantExpression¶
-
PMDCMotorBuilder.
VoltageConstantExpression
¶ Returns the Voltage Constant Expression
-------------------------------------
Getter Method
Signature
VoltageConstantExpression()
Returns: Return type: NXOpen.Expression
New 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.