ScalarTorqueBuilder Class¶
-
class
NXOpen.Motion.ScalarTorqueBuilder¶ Bases:
NXOpen.Motion.MotionBuilderRepresents a
NXOpen.Motion.ScalarTorqueBuilderTo create a new instance of this class, use
NXOpen.Motion.ScalarTorqueCollection.CreateScalarTorqueBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| ActionCsys | Returns or sets the action csys |
| ActionLink | Returns the action link attachment. |
| ActionPoint | Returns or sets the action point |
| ApplicationType | Returns or sets the scalar torque application type. |
| BaseCsys | Returns or sets the base csys |
| BaseLink | Returns the base link attachment. |
| BasePoint | Returns or sets the base point |
| Direction | Returns or sets the control Output Variable direction. |
| DisplayScale | Returns or sets the icon display scale |
| Function | Returns or sets the function |
| GroupName | Returns or sets the group name |
| GroupType | Returns or sets the group type |
| Joint | Returns the joint |
| Name | Returns or sets the name |
| Profile | Returns the profile |
| Tag | Returns the Tag for this object. |
| TorqueType | Returns or sets the type. |
| ValueExpression | Returns the value expression |
| ValueType | Returns or sets the value type |
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¶
| ScalarTorqueBuilderAppType Enumeration | the application type |
| ScalarTorqueBuilderDirectionType Enumeration | the direction |
| ScalarTorqueBuilderScalarTorqueType Enumeration | the torque type |
Property Detail¶
ActionCsys¶
-
ScalarTorqueBuilder.ActionCsys¶ Returns or sets the action csys
-------------------------------------Getter Method
Signature
ActionCsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
ActionCsysParameters: actionCsysTag ( NXOpen.CoordinateSystem) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
ActionLink¶
-
ScalarTorqueBuilder.ActionLink¶ Returns the action link attachment.
Required in type if Torque is Link.
-------------------------------------Getter Method
Signature
ActionLinkReturns: Return type: NXOpen.Motion.SelectLinkNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
ActionPoint¶
-
ScalarTorqueBuilder.ActionPoint¶ Returns or sets the action point
-------------------------------------Getter Method
Signature
ActionPointReturns: Return type: NXOpen.PointNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
ActionPointParameters: actionPointTag ( NXOpen.Point) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
ApplicationType¶
-
ScalarTorqueBuilder.ApplicationType¶ Returns or sets the scalar torque application type.
Default Type is Action-Reaction.
-------------------------------------Getter Method
Signature
ApplicationTypeReturns: Return type: NXOpen.Motion.ScalarTorqueBuilderAppTypeNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
ApplicationTypeParameters: appType ( NXOpen.Motion.ScalarTorqueBuilderAppType) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
BaseCsys¶
-
ScalarTorqueBuilder.BaseCsys¶ Returns or sets the base csys
-------------------------------------Getter Method
Signature
BaseCsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
BaseCsysParameters: baseCsysTag ( NXOpen.CoordinateSystem) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
BaseLink¶
-
ScalarTorqueBuilder.BaseLink¶ Returns the base link attachment.
Optional in type if Torque is Link.
-------------------------------------Getter Method
Signature
BaseLinkReturns: Return type: NXOpen.Motion.SelectLinkNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
BasePoint¶
-
ScalarTorqueBuilder.BasePoint¶ Returns or sets the base point
-------------------------------------Getter Method
Signature
BasePointReturns: Return type: NXOpen.PointNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
BasePointParameters: basePointTag ( NXOpen.Point) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
Direction¶
-
ScalarTorqueBuilder.Direction¶ Returns or sets the control Output Variable direction.
Default Control Output Variable Direction is Z direction.
-------------------------------------Getter Method
Signature
DirectionReturns: Return type: NXOpen.Motion.ScalarTorqueBuilderDirectionTypeNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
DirectionParameters: direction ( NXOpen.Motion.ScalarTorqueBuilderDirectionType) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
Function¶
-
ScalarTorqueBuilder.Function¶ Returns or sets the function
-------------------------------------Getter Method
Signature
FunctionReturns: Return type: NXOpen.CAE.FunctionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FunctionParameters: function ( NXOpen.CAE.Function) –New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
Joint¶
-
ScalarTorqueBuilder.Joint¶ Returns the joint
-------------------------------------Getter Method
Signature
JointReturns: Return type: NXOpen.Motion.SelectJointNew in version NX6.0.0.
License requirements: None.
Name¶
-
ScalarTorqueBuilder.Name¶ Returns or sets the name
-------------------------------------Getter Method
Signature
NameReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NameParameters: name (str) – New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
Profile¶
-
ScalarTorqueBuilder.Profile¶ Returns the profile
-------------------------------------Getter Method
Signature
ProfileReturns: Return type: NXOpen.Motion.SelectFieldDataNew in version NX12.0.0.
License requirements: None.
TorqueType¶
-
ScalarTorqueBuilder.TorqueType¶ Returns or sets the type.
Default type is Link.
-------------------------------------Getter Method
Signature
TorqueTypeReturns: Return type: NXOpen.Motion.ScalarTorqueBuilderScalarTorqueTypeNew in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
TorqueTypeParameters: torqueType ( NXOpen.Motion.ScalarTorqueBuilderScalarTorqueType) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
ValueExpression¶
-
ScalarTorqueBuilder.ValueExpression¶ Returns the value expression
-------------------------------------Getter Method
Signature
ValueExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.0.0.
License requirements: None.
ValueType¶
-
ScalarTorqueBuilder.ValueType¶ Returns or sets the value type
-------------------------------------Getter Method
Signature
ValueTypeReturns: Return type: NXOpen.Motion.ForceValueTypesNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValueTypeParameters: valueType ( NXOpen.Motion.ForceValueTypes) –New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
Validate¶
-
ScalarTorqueBuilder.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.