SimConstraintCollection Class¶
-
class
NXOpen.CAE.SimConstraintCollection¶ Bases:
objectProvides methods for managing constraints
NXOpen.CAE.SimConstraintin a sim partTo obtain an instance of this class, refer to
NXOpen.CAE.SimSimulationNew in version NX4.0.0.
Methods¶
| Method | Description |
|---|---|
| CreateConstraint | Creates a Constraint for the constraint descriptor passed |
| FindObject | Finds the NXOpen.CAE.SimConstraint with the given identifier as recorded in a journal. |
Method Detail¶
CreateConstraint¶
-
SimConstraintCollection.CreateConstraint¶ Creates a Constraint for the constraint descriptor passed
Signature
CreateConstraint(descriptorName, name)Parameters: - descriptorName (str) – name of the constraint descriptor
- name (str) – name of the constraint to be created
Returns: constraint created
Return type: New in version NX4.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
FindObject¶
-
SimConstraintCollection.FindObject¶ Finds the
NXOpen.CAE.SimConstraintwith the given identifier as recorded in a journal.An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)Parameters: journalIdentifier (str) – Identifier to be found Returns: constraint found Return type: NXOpen.CAE.SimConstraintNew in version NX4.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)