MarkerToNodeData Class¶
-
class
NXOpen.Motion.
MarkerToNodeData
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents the marker to node data which is a list item in
NXOpen.Motion.FlexBodyBuilder
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
Marker | Returns or sets the marker or joint object |
MarkerPosition | Returns or sets the i or j marker identity |
Move | Returns or sets whether to move the marker to node |
NodeId | Returns or sets the node id |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
GetNodeLocation | Gets the node location |
GetUseClosestNode | Gets the flag UseClosestNode. |
SetNodeLocation | Sets the node locations |
SetUseClosestNode | Sets the flag UseClosestNode. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Marker¶
-
MarkerToNodeData.
Marker
¶ Returns or sets the marker or joint object
-------------------------------------
Getter Method
Signature
Marker
Returns: Return type: NXOpen.NXObject
New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
Marker
Parameters: marker ( NXOpen.NXObject
) –New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
MarkerPosition¶
-
MarkerToNodeData.
MarkerPosition
¶ Returns or sets the i or j marker identity
-------------------------------------
Getter Method
Signature
MarkerPosition
Returns: Return type: int New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
MarkerPosition
Parameters: markerPosition (int) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Move¶
-
MarkerToNodeData.
Move
¶ Returns or sets whether to move the marker to node
-------------------------------------
Getter Method
Signature
Move
Returns: Return type: bool New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
Move
Parameters: move (bool) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
NodeId¶
-
MarkerToNodeData.
NodeId
¶ Returns or sets the node id
-------------------------------------
Getter Method
Signature
NodeId
Returns: Return type: int New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
NodeId
Parameters: nodeID (int) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
GetNodeLocation¶
-
MarkerToNodeData.
GetNodeLocation
¶ Gets the node location
Signature
GetNodeLocation()
Returns: Return type: list of float New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
GetUseClosestNode¶
-
MarkerToNodeData.
GetUseClosestNode
¶ Gets the flag UseClosestNode.
Signature
GetUseClosestNode()
Returns: Return type: bool New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
SetNodeLocation¶
-
MarkerToNodeData.
SetNodeLocation
¶ Sets the node locations
Signature
SetNodeLocation(nodeLocation)
Parameters: nodeLocation (list of float) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
SetUseClosestNode¶
-
MarkerToNodeData.
SetUseClosestNode
¶ Sets the flag UseClosestNode.
Only suppported with the SplineBeam
Signature
SetUseClosestNode(useClosestNode)
Parameters: useClosestNode (bool) – New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
Validate¶
-
MarkerToNodeData.
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.