SimMotionLoadsBuilder Class¶
-
class
NXOpen.CAE.
SimMotionLoadsBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.CAE.SimMotionLoadsBuilder
To create a new instance of this class, use
NXOpen.CAE.SimSimulation.CreateMotionLoadsBuilder()
New in version NX5.0.1.
Properties¶
Property | Description |
---|---|
MotionSimFile | Returns or sets the motion simulation part file |
SelectedLoadTransferListItem | Returns or sets the selected load transfer item |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CreateNewListItem | Create a motion loads list item builder from link and solution name |
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. |
GetLoadTransferListItemByIndex | Retrieve a load tranfer list item by its index |
GetLoadTransferListItemCount | The number of load tranfer list items |
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. |
Property Detail¶
MotionSimFile¶
-
SimMotionLoadsBuilder.
MotionSimFile
¶ Returns or sets the motion simulation part file
-------------------------------------
Getter Method
Signature
MotionSimFile
Returns: the motion simulation part Return type: NXOpen.Part
New in version NX5.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
MotionSimFile
Parameters: tSimMotionPart ( NXOpen.Part
) –New in version NX5.0.1.
License requirements: None.
SelectedLoadTransferListItem¶
-
SimMotionLoadsBuilder.
SelectedLoadTransferListItem
¶ Returns or sets the selected load transfer item
-------------------------------------
Getter Method
Signature
SelectedLoadTransferListItem
Returns: Return type: NXOpen.CAE.SimMotionLoadsListItemBuilder
New in version NX5.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
SelectedLoadTransferListItem
Parameters: loadTranferItem ( NXOpen.CAE.SimMotionLoadsListItemBuilder
) –New in version NX5.0.1.
License requirements: None.
Method Detail¶
CreateNewListItem¶
-
SimMotionLoadsBuilder.
CreateNewListItem
¶ Create a motion loads list item builder from link and solution name
Signature
CreateNewListItem(linkName, solutionName)
Parameters: - linkName (str) – name of the link
- solutionName (str) – name of the solution
Returns: Return type: New in version NX5.0.1.
License requirements: None.
GetLoadTransferListItemByIndex¶
-
SimMotionLoadsBuilder.
GetLoadTransferListItemByIndex
¶ Retrieve a load tranfer list item by its index
Signature
GetLoadTransferListItemByIndex(index)
Parameters: index (int) – index of list item in the array of all list items Returns: Return type: NXOpen.CAE.SimMotionLoadsListItemBuilder
New in version NX5.0.1.
License requirements: None.
GetLoadTransferListItemCount¶
-
SimMotionLoadsBuilder.
GetLoadTransferListItemCount
¶ The number of load tranfer list items
Signature
GetLoadTransferListItemCount()
Returns: number of load tranfer list items Return type: int New in version NX5.0.1.
License requirements: None.
Validate¶
-
SimMotionLoadsBuilder.
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.