FlexBodyBuilder Class¶
-
class
NXOpen.Motion.
FlexBodyBuilder
¶ Bases:
NXOpen.Motion.MotionBuilder
Represents a
NXOpen.Motion.FlexBody
builderTo create a new instance of this class, use
NXOpen.Motion.FlexBodyCollection.CreateFlexBodyBuilder
Default values.
Property Value PositioningType AbsoluteOrigin New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
DisplayScale | Returns or sets the icon display scale |
FileTceName | Returns or sets the TCE RFI file name |
GroupName | Returns or sets the group name |
GroupType | Returns or sets the group type |
Name | Returns or sets the flexible body object name |
NativeRfiFileName | Returns or sets the native RFI file name |
PositioningType | Returns or sets the positioning type |
SelectionLink | Returns the selection link |
SourceOption | Returns or sets the file type |
Tag | Returns the Tag for this object. |
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. |
ExportRfiRelatedResults | Export rfi related results in manager mode @return The local file specification |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetMarkerItems | Gets marker to node list Items @return |
GetObject | Returns the object currently being edited by this builder. |
GetOffsetOrientations | Gets the offset orientations @return |
GetOffsetPoints | Gets the offset points @return |
NewListMarkerToNode | Creates a new list item @return |
SetMarkerItems | Sets marker to node list Items |
SetOffsetOrientations | Sets the offset orientations |
SetOffsetPoints | Sets the offset points |
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¶
FlexBodyBuilderPositioning Enumeration | Represents positioning type of flexible body |
FlexBodyBuilderSourceType Enumeration | Represents rfi file type of flexible body |
Property Detail¶
FileTceName¶
-
FlexBodyBuilder.
FileTceName
¶ Returns or sets the TCE RFI file name
-------------------------------------
Getter Method
Signature
FileTceName()
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FileTceName(fileTceName)
Parameters: fileTceName (str) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Name¶
-
FlexBodyBuilder.
Name
¶ Returns or sets the flexible body object name
-------------------------------------
Getter Method
Signature
Name()
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Name(name)
Parameters: name (str) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
NativeRfiFileName¶
-
FlexBodyBuilder.
NativeRfiFileName
¶ Returns or sets the native RFI file name
-------------------------------------
Getter Method
Signature
NativeRfiFileName()
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NativeRfiFileName(nativeRfiFileName)
Parameters: nativeRfiFileName (str) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
PositioningType¶
-
FlexBodyBuilder.
PositioningType
¶ Returns or sets the positioning type
-------------------------------------
Getter Method
Signature
PositioningType()
Returns: Return type: NXOpen.Motion.FlexBodyBuilderPositioning
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositioningType(positioningType)
Parameters: positioningType ( NXOpen.Motion.FlexBodyBuilderPositioning
) –New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
SelectionLink¶
-
FlexBodyBuilder.
SelectionLink
¶ Returns the selection link
-------------------------------------
Getter Method
Signature
SelectionLink()
Returns: Return type: NXOpen.Motion.SelectLink
New in version NX7.5.0.
License requirements: None.
SourceOption¶
-
FlexBodyBuilder.
SourceOption
¶ Returns or sets the file type
-------------------------------------
Getter Method
Signature
SourceOption()
Returns: Return type: NXOpen.Motion.FlexBodyBuilderSourceType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SourceOption(sourceOption)
Parameters: sourceOption ( NXOpen.Motion.FlexBodyBuilderSourceType
) –New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
GetMarkerItems¶
-
FlexBodyBuilder.
GetMarkerItems
¶ Gets marker to node list Items
Signature
GetMarkerItems()
Returns: Return type: list of NXOpen.Motion.MarkerToNodeData
New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
GetOffsetOrientations¶
-
FlexBodyBuilder.
GetOffsetOrientations
¶ Gets the offset orientations
Signature
GetOffsetOrientations()
Returns: Return type: list of float New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
GetOffsetPoints¶
-
FlexBodyBuilder.
GetOffsetPoints
¶ Gets the offset points
Signature
GetOffsetPoints()
Returns: Return type: list of float New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
NewListMarkerToNode¶
-
FlexBodyBuilder.
NewListMarkerToNode
¶ Creates a new list item
Signature
NewListMarkerToNode(marker, markerPosition, nodeID, move, nodeLocationX, nodeLocationY, nodeLocationZ)
Parameters: - marker (
NXOpen.NXObject
) – The marker tag - markerPosition (int) – The i or j marker identity
- nodeID (int) – The node ID
- move (bool) – Whether to move the node
- nodeLocationX (float) – The node location X coordinate
- nodeLocationY (float) – The node location Y coordinate
- nodeLocationZ (float) – The node location Z coordinate
Returns: Return type: New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
- marker (
SetMarkerItems¶
-
FlexBodyBuilder.
SetMarkerItems
¶ Sets marker to node list Items
Signature
SetMarkerItems(markerToNodeListItem)
Parameters: markerToNodeListItem (list of NXOpen.Motion.MarkerToNodeData
) –New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
SetOffsetOrientations¶
-
FlexBodyBuilder.
SetOffsetOrientations
¶ Sets the offset orientations
Signature
SetOffsetOrientations(offsetOrientations)
Parameters: offsetOrientations (list of float) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
SetOffsetPoints¶
-
FlexBodyBuilder.
SetOffsetPoints
¶ Sets the offset points
Signature
SetOffsetPoints(offsetPoints)
Parameters: offsetPoints (list of float) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Validate¶
-
FlexBodyBuilder.
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.