SimConstraintSetCollection Class

class NXOpen.CAE.SimConstraintSetCollection

Bases: object

Provides methods for managing SimConstraintSet in a sim part

To obtain an instance of this class, refer to NXOpen.CAE.SimSimulation

New in version NX11.0.0.

Methods

Method Description
CreateConstraintSet Creates a NXOpen.CAE.SimConstraintSet
FindObject Finds the NXOpen.CAE.SimConstraintSet with the given identifier as recorded in a journal.

Method Detail

CreateConstraintSet

SimConstraintSetCollection.CreateConstraintSet

Creates a NXOpen.CAE.SimConstraintSet

Signature CreateConstraintSet(descriptorName, name, label)

Parameters:
  • descriptorName (str) – Name of the constraint set descriptor
  • name (str) – Name of the constraint set
  • label (int) – Label of the constraint set, input 0 to get next available label
Returns:

Constraint set object created

Return type:

NXOpen.CAE.SimConstraintSet

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

FindObject

SimConstraintSetCollection.FindObject

Finds the NXOpen.CAE.SimConstraintSet with 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 set found
Return type:NXOpen.CAE.SimConstraintSet

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)