LinkAttachmentData Class¶
-
class
NXOpen.Motion.
LinkAttachmentData
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
Motion.LinkAttachmentData
.Should be used by entities that hold a Link, Origin, and/or either one of Vector and CoordinateSystem. Setting the CSYS will make the Vector null. Setting the Vector will make the CSYS null .. versionadded:: NX11.0.0
Properties¶
Property | Description |
---|---|
Csys | Returns or sets the csys - if the selected type is CSYS, use this method to access it. |
Link | Returns the link |
Origin | Returns or sets the origin |
Tag | Returns the Tag for this object. |
Vector | Returns or sets the vector - if the selected type is Vector, use this method to access it. |
Methods¶
Method | Description |
---|---|
GetOrientation | The orientation matrix |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Csys¶
-
LinkAttachmentData.
Csys
¶ Returns or sets the csys - if the selected type is CSYS, use this method to access it.
Note: use either one of Vector and CSYS, not both
-------------------------------------
Getter Method
Signature
Csys
Returns: Return type: NXOpen.CoordinateSystem
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Csys
Parameters: csys ( NXOpen.CoordinateSystem
) –New in version NX11.0.0.
License requirements: None.
Link¶
-
LinkAttachmentData.
Link
¶ Returns the link
-------------------------------------
Getter Method
Signature
Link
Returns: Return type: NXOpen.Motion.SelectLink
New in version NX11.0.0.
License requirements: None.
Origin¶
-
LinkAttachmentData.
Origin
¶ Returns or sets the origin
-------------------------------------
Getter Method
Signature
Origin
Returns: Return type: NXOpen.Point
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Origin
Parameters: origin ( NXOpen.Point
) –New in version NX11.0.0.
License requirements: None.
Vector¶
-
LinkAttachmentData.
Vector
¶ Returns or sets the vector - if the selected type is Vector, use this method to access it.
Note: use either one of Vector and CSYS, not both
-------------------------------------
Getter Method
Signature
Vector
Returns: Return type: NXOpen.Direction
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Vector
Parameters: vector ( NXOpen.Direction
) –New in version NX11.0.0.
License requirements: None.
Method Detail¶
GetOrientation¶
-
LinkAttachmentData.
GetOrientation
¶ The orientation matrix
Signature
GetOrientation()
Returns: Return type: NXOpen.Matrix3x3
New in version NX11.0.0.
License requirements: None.
Validate¶
-
LinkAttachmentData.
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.