MotionSolutionBuilder Class

class NXOpen.Motion.MotionSolutionBuilder

Bases: NXOpen.Builder

Represents a NXOpen.Motion.MotionSolutionBuilder

To 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
GravityValue Returns or sets the gravity value
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.
Time Returns or sets the time
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.

Property Detail

AdamsSolverProperty

MotionSolutionBuilder.AdamsSolverProperty

Returns or sets the Adams Solver property

-------------------------------------

Getter Method

Signature AdamsSolverProperty()

Returns:
Return type:NXOpen.Motion.AdamsSolverProperty

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AdamsSolverProperty(adamsSolverProperty)

Parameters: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 AnalysisType()

Returns:
Return type:NXOpen.Motion.MotionSolutionBuilderAnalysisTypes

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AnalysisType(analysisType)

Parameters: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 Description()

Returns:
Return type:str

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Description(description)

Parameters:description (str) –

New in version NX5.0.0.

License requirements: mechanisms (“MECHANISMS”)

GravityValue

MotionSolutionBuilder.GravityValue

Returns or sets the gravity value

-------------------------------------

Getter Method

Signature GravityValue()

Returns:
Return type:float

New in version NX5.0.0.

Deprecated since version NX8.5.0: Obtion the exression using NXOpen.Motion.MotionSolutionBuilder.GravityValueExpression() to query or edit it.

License requirements: None.

-------------------------------------

Setter Method

Signature GravityValue(gravityValue)

Parameters:gravityValue (float) –

New in version NX5.0.0.

Deprecated since version NX8.5.0: Obtion the exression using NXOpen.Motion.MotionSolutionBuilder.GravityValueExpression() to query or edit it.

License requirements: mechanisms (“MECHANISMS”)

GravityValueExpression

MotionSolutionBuilder.GravityValueExpression

Returns the gravity value expression

-------------------------------------

Getter Method

Signature GravityValueExpression()

Returns:
Return type:NXOpen.Expression

New in version NX8.5.0.

License requirements: None.

GravityVector

MotionSolutionBuilder.GravityVector

Returns or sets the gravity vector

-------------------------------------

Getter Method

Signature GravityVector()

Returns:
Return type:NXOpen.Direction

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature GravityVector(gravityVector)

Parameters: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 IsSkipStep()

Returns:
Return type:bool

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature IsSkipStep(isSkipStep)

Parameters: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 LmsSolverProperty()

Returns:
Return type:NXOpen.Motion.LmsSolverProperty

New in version NX10.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LmsSolverProperty(lmsSolverProperty)

Parameters: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 Name()

Returns:
Return type:str

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Name(name)

Parameters: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 RecurdynSolverProperty()

Returns:
Return type:NXOpen.Motion.RecurdynSolverProperty

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature RecurdynSolverProperty(recurdynSolverProperty)

Parameters: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 SkipSteps()

Returns:
Return type:str

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SkipSteps(skipSteps)

Parameters:skipSteps (str) –

New in version NX8.0.0.

License requirements: mechanisms (“MECHANISMS”)

SolutionType

MotionSolutionBuilder.SolutionType

Returns or sets the solution type

-------------------------------------

Getter Method

Signature SolutionType()

Returns:
Return type:NXOpen.Motion.MotionSolutionBuilderSolutionTypes

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SolutionType(solutionType)

Parameters: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 StaticAnalysis()

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature StaticAnalysis(staticAnalysis)

Parameters:staticAnalysis (bool) –

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

Step

MotionSolutionBuilder.Step

Returns or sets the step

-------------------------------------

Getter Method

Signature Step()

Returns:
Return type:int

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Step(step)

Parameters:step (int) –

New in version NX5.0.0.

License requirements: mechanisms (“MECHANISMS”)

Time

MotionSolutionBuilder.Time

Returns or sets the time

-------------------------------------

Getter Method

Signature Time()

Returns:
Return type:float

New in version NX5.0.0.

Deprecated since version NX8.5.0: Obtion the exression using NXOpen.Motion.MotionSolutionBuilder.TimeExpression() to query or edit it.

License requirements: None.

-------------------------------------

Setter Method

Signature Time(time)

Parameters:time (float) –

New in version NX5.0.0.

Deprecated since version NX8.5.0: Obtion the exression using NXOpen.Motion.MotionSolutionBuilder.TimeExpression() to query or edit it.

License requirements: mechanisms (“MECHANISMS”)

TimeExpression

MotionSolutionBuilder.TimeExpression

Returns the time expression

-------------------------------------

Getter Method

Signature TimeExpression()

Returns:
Return type:NXOpen.Expression

New 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.