SimConditionCollection Class¶
-
class
NXOpen.CAE.SimConditionCollection¶ Bases:
objectThis class is a collection of
NXOpen.CAE.SimCondition.To obtain an instance of this class, refer to
NXOpen.CAE.SimConditionSeqMgrNew in version NX9.0.0.
Methods¶
| Method | Description |
|---|---|
| Create | Adds a NXOpen.CAE.SimCondition. |
| Delete | Deletes the specified NXOpen.CAE.SimCondition. |
| Find | Collection’s object finder |
| Get | Returns the NXOpen.CAE.SimCondition with the specified label or None if such a condition doesn’t exist |
| GetAll | Returns all NXOpen.CAE.SimCondition |
| IsLabelValid | Returns if a specified NXOpen.CAE.SimCondition label is valid |
| NextLabel | Returns the next available NXOpen.CAE.SimCondition label |
Method Detail¶
Create¶
-
SimConditionCollection.Create¶ Overloaded method Create
Create(name, label)Create(name)Create(label)Create()
-------------------------------------Adds a
NXOpen.CAE.SimCondition. Name can be anything, even empty. Label must be unique and can be tested withNXOpen.CAE.SimConditionCollection.IsLabelValid().Signature
Create(name, label)Parameters: - name (str) –
- label (int) –
Returns: Added
NXOpen.CAE.SimConditionReturn type: New in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Adds a
NXOpen.CAE.SimCondition. Name can be anything, even empty. A unique label will automatically be set.Signature
Create(name)Parameters: name (str) – Returns: Added NXOpen.CAE.SimConditionReturn type: NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Adds a
NXOpen.CAE.SimCondition. Name will be automatically set. Label must be unique and can be tested withNXOpen.CAE.SimConditionCollection.IsLabelValid().Signature
Create(label)Parameters: label (int) – Returns: Added NXOpen.CAE.SimConditionReturn type: NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Adds a
NXOpen.CAE.SimCondition. Name and label will be automatically set.Signature
Create()Returns: Added NXOpen.CAE.SimConditionReturn type: NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------
Delete¶
-
SimConditionCollection.Delete¶ Deletes the specified
NXOpen.CAE.SimCondition.If that
NXOpen.CAE.SimConditionis referenced in aNXOpen.CAE.SimConditionTimeStep, theNXOpen.CAE.SimConditionTimeStepwill no longer reference anyNXOpen.CAE.SimCondition. Will return the number ofNXOpen.CAE.SimConditionactually deleted.Signature
Delete(condition)Parameters: condition ( NXOpen.CAE.SimCondition) –Returns: Return type: int New in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Find¶
-
SimConditionCollection.Find¶ Collection’s object finder
Signature
Find(label)Parameters: label (str) – label of the NXOpen.CAE.SimConditionReturns: The NXOpen.CAE.SimConditionReturn type: NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Get¶
-
SimConditionCollection.Get¶ Returns the
NXOpen.CAE.SimConditionwith the specified label or None if such a condition doesn’t existSignature
Get(label)Parameters: label (int) – Returns: the corresponding NXOpen.CAE.SimConditionReturn type: NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: None.
GetAll¶
-
SimConditionCollection.GetAll¶ Returns all
NXOpen.CAE.SimConditionSignature
GetAll()Returns: all NXOpen.CAE.SimConditionReturn type: list of NXOpen.CAE.SimConditionNew in version NX9.0.0.
License requirements: None.
IsLabelValid¶
-
SimConditionCollection.IsLabelValid¶ Returns if a specified
NXOpen.CAE.SimConditionlabel is validSignature
IsLabelValid(label)Parameters: label (int) – Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
NextLabel¶
-
SimConditionCollection.NextLabel¶ Returns the next available
NXOpen.CAE.SimConditionlabelSignature
NextLabel()Returns: Return type: int New in version NX9.0.0.
License requirements: None.