DriverMotionsData Class¶
-
class
NXOpen.Motion.DriverMotionsData¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Motion.DriverMotionsDataNew in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| DataType | Returns or sets the driver data type |
| RotationType | Returns or sets the type of the rotations applied on the link |
| RotationX | Returns the rotation around the x axis |
| RotationY | Returns the rotation around the y axis |
| RotationZ | Returns the rotation around the z axis |
| Tag | Returns the Tag for this object. |
| TranslationX | Returns the translation on the x axis |
| TranslationY | Returns the translation on the y axis |
| TranslationZ | Returns the translation on the z axis |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| DriverMotionsDataDriverDataType Enumeration | Driver Data Type |
| DriverMotionsDataDriverRotationType Enumeration | Driver Rotation type |
Property Detail¶
DataType¶
-
DriverMotionsData.DataType¶ Returns or sets the driver data type
-------------------------------------Getter Method
Signature
DataTypeReturns: Return type: NXOpen.Motion.DriverMotionsDataDriverDataTypeNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
DataTypeParameters: dataType ( NXOpen.Motion.DriverMotionsDataDriverDataType) –New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
RotationType¶
-
DriverMotionsData.RotationType¶ Returns or sets the type of the rotations applied on the link
-------------------------------------Getter Method
Signature
RotationTypeReturns: Return type: NXOpen.Motion.DriverMotionsDataDriverRotationTypeNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------Setter Method
Signature
RotationTypeParameters: rotationType ( NXOpen.Motion.DriverMotionsDataDriverRotationType) –New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
RotationX¶
-
DriverMotionsData.RotationX¶ Returns the rotation around the x axis
-------------------------------------Getter Method
Signature
RotationXReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
RotationY¶
-
DriverMotionsData.RotationY¶ Returns the rotation around the y axis
-------------------------------------Getter Method
Signature
RotationYReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
RotationZ¶
-
DriverMotionsData.RotationZ¶ Returns the rotation around the z axis
-------------------------------------Getter Method
Signature
RotationZReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
TranslationX¶
-
DriverMotionsData.TranslationX¶ Returns the translation on the x axis
-------------------------------------Getter Method
Signature
TranslationXReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
TranslationY¶
-
DriverMotionsData.TranslationY¶ Returns the translation on the y axis
-------------------------------------Getter Method
Signature
TranslationYReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
TranslationZ¶
-
DriverMotionsData.TranslationZ¶ Returns the translation on the z axis
-------------------------------------Getter Method
Signature
TranslationZReturns: Return type: NXOpen.Motion.DriverOperationNew in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
Validate¶
-
DriverMotionsData.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.