PhysicsPreferenceCollection Class¶
-
class
NXOpen.Mechatronics.
PhysicsPreferenceCollection
¶ Bases:
object
Represents a collection of Physics Preference.
To obtain an instance of this class, refer to
NXOpen.Mechatronics.PhysicsManager
New 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.PhysicsPreference
to be edited, if None then create a new oneReturns: Return type: NXOpen.Mechatronics.PreferencesBuilder
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
FindObject¶
-
PhysicsPreferenceCollection.
FindObject
¶ Finds the
NXOpen.Mechatronics.PhysicsPreference
with 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.PhysicsPreference
with this name.Return type: NXOpen.Mechatronics.PhysicsPreference
New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)