MotionEnvironment Class

class NXOpen.Motion.MotionEnvironment

Bases: object

Represents a Motion Environment

To obtain an instance of this class, refer to NXOpen.Motion.MotionSession

New in version NX7.5.0.

Methods

Method Description
CheckCosimLicense Checks the co-simulation license
CheckFlexbodyLicense Checks the flexible body dynamic license
CheckMotorLicense Checks the motor license
GetJointWizardStatus Gets the on-off status of joint wizard @return
GetSolver Gets current Motion solver @return
SetAnalysisType Sets the the analysis type
SetComponentBasedMechanism Sets component based mechanism
SetJointWizardStatus Sets the on-off status of joint wizard
SetSolver Sets Motion solver

Enumerations

MotionEnvironmentAnalysis Enumeration Represents analysis type of current mechanisms
MotionEnvironmentJointWizardStatus Enumeration Represents the on-off status of joint wizard
MotionEnvironmentSolver Enumeration Represents Motion solver of current mechanism

Method Detail

CheckCosimLicense

MotionEnvironment.CheckCosimLicense

Checks the co-simulation license

Signature CheckCosimLicense(checkCosimLicense)

Parameters:checkCosimLicense (bool) – Checks out or checks in co-simulation license

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

CheckFlexbodyLicense

MotionEnvironment.CheckFlexbodyLicense

Checks the flexible body dynamic license

Signature CheckFlexbodyLicense(checkFlexbodyLicense)

Parameters:checkFlexbodyLicense (bool) – Checks out or checks in flexible body dynamic license

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

CheckMotorLicense

MotionEnvironment.CheckMotorLicense

Checks the motor license

Signature CheckMotorLicense(checkMotorLicense)

Parameters:checkMotorLicense (bool) – Checks out or checks in motor license

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

GetJointWizardStatus

MotionEnvironment.GetJointWizardStatus

Gets the on-off status of joint wizard

Signature GetJointWizardStatus()

Returns:
Return type:NXOpen.Motion.MotionEnvironmentJointWizardStatus

New in version NX10.0.0.

License requirements: mechanisms (“MECHANISMS”)

GetSolver

MotionEnvironment.GetSolver

Gets current Motion solver

Signature GetSolver()

Returns:
Return type:NXOpen.Motion.MotionEnvironmentSolver

New in version NX10.0.0.

License requirements: mechanisms (“MECHANISMS”)

SetAnalysisType

MotionEnvironment.SetAnalysisType

Sets the the analysis type

Signature SetAnalysisType(analysisType)

Parameters:analysisType (NXOpen.Motion.MotionEnvironmentAnalysis) – The analysis type

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

SetComponentBasedMechanism

MotionEnvironment.SetComponentBasedMechanism

Sets component based mechanism

Signature SetComponentBasedMechanism(componentBasedMech)

Parameters:componentBasedMech (bool) – Sets component based mechanism

New in version NX7.5.0.

License requirements: mechanisms (“MECHANISMS”)

SetJointWizardStatus

MotionEnvironment.SetJointWizardStatus

Sets the on-off status of joint wizard

Signature SetJointWizardStatus(setting)

Parameters:setting (NXOpen.Motion.MotionEnvironmentJointWizardStatus) –

New in version NX10.0.0.

License requirements: mechanisms (“MECHANISMS”)

SetSolver

MotionEnvironment.SetSolver

Sets Motion solver

Signature SetSolver(solver)

Parameters:solver (NXOpen.Motion.MotionEnvironmentSolver) –

New in version NX10.0.0.

License requirements: mechanisms (“MECHANISMS”)