MotionEnvironment Class¶
-
class
NXOpen.Motion.MotionEnvironment¶ Bases:
objectRepresents a Motion Environment
To obtain an instance of this class, refer to
NXOpen.Motion.MotionSessionNew 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 |
| EnableCdtire | Enable the CD tire |
| EnableLmsflexbody | Enable the LMS flexible body dynamics |
| EnableMechatronics | Enable the mechatronics |
| EnableStdtire | Enable the standard tire |
| EnableSwifttire | Enable the Swift tire |
| EnableTnotire | Enable the TNO tire |
| GetJointWizardStatus | Gets the on-off status of joint wizard |
| GetSolver | Gets current Motion solver |
| 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¶
| MotionEnvironmentAdoptAssemblyJointStatus Enumeration | Represents the on-off status of adopt assembly joint |
| 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”)
EnableCdtire¶
-
MotionEnvironment.EnableCdtire¶ Enable the CD tire
Signature
EnableCdtire(enableCdtire)Parameters: enableCdtire (bool) – enable or disable CD Tire New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
EnableLmsflexbody¶
-
MotionEnvironment.EnableLmsflexbody¶ Enable the LMS flexible body dynamics
Signature
EnableLmsflexbody(enableLmsflexbody)Parameters: enableLmsflexbody (bool) – enable or disable LMS flex body dynamics New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
EnableMechatronics¶
-
MotionEnvironment.EnableMechatronics¶ Enable the mechatronics
Signature
EnableMechatronics(enableMechatronicsLicense)Parameters: enableMechatronicsLicense (bool) – enable or disable mechatronics New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
EnableStdtire¶
-
MotionEnvironment.EnableStdtire¶ Enable the standard tire
Signature
EnableStdtire(enableStdtire)Parameters: enableStdtire (bool) – enable out or disable Standard Tire New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
EnableSwifttire¶
-
MotionEnvironment.EnableSwifttire¶ Enable the Swift tire
Signature
EnableSwifttire(enableSwifttire)Parameters: enableSwifttire (bool) – enable or disable Swift Tire New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
EnableTnotire¶
-
MotionEnvironment.EnableTnotire¶ Enable the TNO tire
Signature
EnableTnotire(enableTnotiree)Parameters: enableTnotiree (bool) – enable or disable TNO Tire New in version NX11.0.0.
Deprecated since version NX12.0.0: Removed without replacement.
License requirements: mechanisms (“MECHANISMS”)
GetJointWizardStatus¶
-
MotionEnvironment.GetJointWizardStatus¶ Gets the on-off status of joint wizard
Signature
GetJointWizardStatus()Returns: Return type: NXOpen.Motion.MotionEnvironmentJointWizardStatusNew in version NX10.0.0.
License requirements: mechanisms (“MECHANISMS”)
GetSolver¶
-
MotionEnvironment.GetSolver¶ Gets current Motion solver
Signature
GetSolver()Returns: Return type: NXOpen.Motion.MotionEnvironmentSolverNew 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 typeNew 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”)