PhysicsPreferenceCollection Class¶
-
class
NXOpen.Mechatronics.PhysicsPreferenceCollection¶ Bases:
objectRepresents a collection of Physics Preference.
To obtain an instance of this class, refer to
NXOpen.Mechatronics.PhysicsManagerNew in version NX9.0.0.
Methods¶
| Method | Description |
|---|---|
| CreatePreferenceBuilder | Creates a NXOpen.Mechatronics.PreferencesBuilder. |
| FindObject | Finds the NXOpen.Mechatronics.PhysicsPreference with the given name. |
Method Detail¶
CreatePreferenceBuilder¶
-
PhysicsPreferenceCollection.CreatePreferenceBuilder¶ Creates a
NXOpen.Mechatronics.PreferencesBuilder.Signature
CreatePreferenceBuilder(physicsPreference)Parameters: physicsPreference ( NXOpen.Mechatronics.PhysicsPreference) –NXOpen.Mechatronics.PhysicsPreferenceto be edited, if None then create a new oneReturns: Return type: NXOpen.Mechatronics.PreferencesBuilderNew in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
FindObject¶
-
PhysicsPreferenceCollection.FindObject¶ Finds the
NXOpen.Mechatronics.PhysicsPreferencewith the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)Parameters: name (str) – The name of the NXOpen.Mechatronics.PhysicsPreference.Returns: NXOpen.Mechatronics.PhysicsPreferencewith this name.Return type: NXOpen.Mechatronics.PhysicsPreferenceNew in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)