MotionSolutionBuilder Class¶
-
class
NXOpen.Motion.MotionSolutionBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Motion.MotionSolutionBuilderTo create a new instance of this class, use
NXOpen.Motion.MotionSolutionCollection.CreateSolutionBuilder()New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AdamsSolverProperty | Returns or sets the Adams Solver property |
| AnalysisType | Returns or sets the analysis type |
| Description | Returns or sets the description |
| GravityValueExpression | Returns the gravity value expression |
| GravityVector | Returns or sets the gravity vector |
| IsSkipStep | Returns or sets the skipped steps option |
| LmsSolverProperty | Returns or sets the LMS Solver property |
| Name | Returns or sets the name |
| RecurdynSolverProperty | Returns or sets the Recurdyn Solver property |
| SkipSteps | Returns or sets the skipped steps |
| SolutionType | Returns or sets the solution type |
| StaticAnalysis | Returns or sets the Static Analysis option |
| Step | Returns or sets the step |
| Tag | Returns the Tag for this object. |
| TimeExpression | Returns the time expression |
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. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| 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. |
Enumerations¶
| MotionSolutionBuilderAnalysisTypes Enumeration | Analysis type The LMS Solver does not support NXOpen.Motion.MotionSolutionBuilderAnalysisTypes.Control. |
| MotionSolutionBuilderSolutionTypes Enumeration | Solution type |
Property Detail¶
AdamsSolverProperty¶
-
MotionSolutionBuilder.AdamsSolverProperty¶ Returns or sets the Adams Solver property
-------------------------------------Getter Method
Signature
AdamsSolverPropertyReturns: Return type: NXOpen.Motion.AdamsSolverPropertyNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AdamsSolverPropertyParameters: adamsSolverProperty ( NXOpen.Motion.AdamsSolverProperty) –New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
AnalysisType¶
-
MotionSolutionBuilder.AnalysisType¶ Returns or sets the analysis type
-------------------------------------Getter Method
Signature
AnalysisTypeReturns: Return type: NXOpen.Motion.MotionSolutionBuilderAnalysisTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AnalysisTypeParameters: analysisType ( NXOpen.Motion.MotionSolutionBuilderAnalysisTypes) –New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
Description¶
-
MotionSolutionBuilder.Description¶ Returns or sets the description
-------------------------------------Getter Method
Signature
DescriptionReturns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DescriptionParameters: description (str) – New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
GravityValueExpression¶
-
MotionSolutionBuilder.GravityValueExpression¶ Returns the gravity value expression
-------------------------------------Getter Method
Signature
GravityValueExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
GravityVector¶
-
MotionSolutionBuilder.GravityVector¶ Returns or sets the gravity vector
-------------------------------------Getter Method
Signature
GravityVectorReturns: Return type: NXOpen.DirectionNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GravityVectorParameters: gravityVector ( NXOpen.Direction) –New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
IsSkipStep¶
-
MotionSolutionBuilder.IsSkipStep¶ Returns or sets the skipped steps option
-------------------------------------Getter Method
Signature
IsSkipStepReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsSkipStepParameters: isSkipStep (bool) – New in version NX8.0.0.
License requirements: mechanisms (“MECHANISMS”)
LmsSolverProperty¶
-
MotionSolutionBuilder.LmsSolverProperty¶ Returns or sets the LMS Solver property
-------------------------------------Getter Method
Signature
LmsSolverPropertyReturns: Return type: NXOpen.Motion.LmsSolverPropertyNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LmsSolverPropertyParameters: lmsSolverProperty ( NXOpen.Motion.LmsSolverProperty) –New in version NX10.0.0.
License requirements: mechanisms (“MECHANISMS”)
Name¶
-
MotionSolutionBuilder.Name¶ Returns or sets the name
-------------------------------------Getter Method
Signature
NameReturns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NameParameters: name (str) – New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
RecurdynSolverProperty¶
-
MotionSolutionBuilder.RecurdynSolverProperty¶ Returns or sets the Recurdyn Solver property
-------------------------------------Getter Method
Signature
RecurdynSolverPropertyReturns: Return type: NXOpen.Motion.RecurdynSolverPropertyNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RecurdynSolverPropertyParameters: recurdynSolverProperty ( NXOpen.Motion.RecurdynSolverProperty) –New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
SkipSteps¶
-
MotionSolutionBuilder.SkipSteps¶ Returns or sets the skipped steps
-------------------------------------Getter Method
Signature
SkipStepsReturns: Return type: str New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SkipStepsParameters: skipSteps (str) – New in version NX8.0.0.
License requirements: mechanisms (“MECHANISMS”)
SolutionType¶
-
MotionSolutionBuilder.SolutionType¶ Returns or sets the solution type
-------------------------------------Getter Method
Signature
SolutionTypeReturns: Return type: NXOpen.Motion.MotionSolutionBuilderSolutionTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SolutionTypeParameters: solutionType ( NXOpen.Motion.MotionSolutionBuilderSolutionTypes) –New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
StaticAnalysis¶
-
MotionSolutionBuilder.StaticAnalysis¶ Returns or sets the Static Analysis option
-------------------------------------Getter Method
Signature
StaticAnalysisReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StaticAnalysisParameters: staticAnalysis (bool) – New in version NX7.5.0.
License requirements: mechanisms (“MECHANISMS”)
Step¶
-
MotionSolutionBuilder.Step¶ Returns or sets the step
-------------------------------------Getter Method
Signature
StepReturns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StepParameters: step (int) – New in version NX5.0.0.
License requirements: mechanisms (“MECHANISMS”)
TimeExpression¶
-
MotionSolutionBuilder.TimeExpression¶ Returns the time expression
-------------------------------------Getter Method
Signature
TimeExpressionReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
Method Detail¶
Validate¶
-
MotionSolutionBuilder.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.