SimConditionCollection Class¶
-
class
NXOpen.CAE.
SimConditionCollection
¶ Bases:
object
This class is a collection of
NXOpen.CAE.SimCondition
.To obtain an instance of this class, refer to
NXOpen.CAE.SimConditionSeqMgr
New 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 @return The NXOpen.CAE.SimCondition |
Get | Returns the NXOpen.CAE.SimCondition with the specified label or None if such a condition doesn’t exist @return the corresponding NXOpen.CAE.SimCondition |
GetAll | Returns all NXOpen.CAE.SimCondition @return all NXOpen.CAE.SimCondition |
IsLabelValid | Returns if a specified NXOpen.CAE.SimCondition label is valid @return |
NextLabel | Returns the next available NXOpen.CAE.SimCondition label @return |
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) – NOTE: The full Unicode character set is not supported for this parameter.
- label (int) –
Returns: Added
NXOpen.CAE.SimCondition
Return 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) – NOTE: The full Unicode character set is not supported for this parameter. Returns: Added NXOpen.CAE.SimCondition
Return type: NXOpen.CAE.SimCondition
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 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.SimCondition
Return type: NXOpen.CAE.SimCondition
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 and label will be automatically set.Signature
Create()
Returns: Added NXOpen.CAE.SimCondition
Return type: NXOpen.CAE.SimCondition
New 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.SimCondition
is referenced in aNXOpen.CAE.SimConditionTimeStep
, theNXOpen.CAE.SimConditionTimeStep
will no longer reference anyNXOpen.CAE.SimCondition
. Will return the number ofNXOpen.CAE.SimCondition
actually 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.SimCondition
Returns: The NXOpen.CAE.SimCondition
Return type: NXOpen.CAE.SimCondition
New 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.SimCondition
with the specified label or None if such a condition doesn’t existSignature
Get(label)
Parameters: label (int) – Returns: the corresponding NXOpen.CAE.SimCondition
Return type: NXOpen.CAE.SimCondition
New in version NX9.0.0.
License requirements: None.
GetAll¶
-
SimConditionCollection.
GetAll
¶ Returns all
NXOpen.CAE.SimCondition
Signature
GetAll()
Returns: all NXOpen.CAE.SimCondition
Return type: list of NXOpen.CAE.SimCondition
New in version NX9.0.0.
License requirements: None.
IsLabelValid¶
-
SimConditionCollection.
IsLabelValid
¶ Returns if a specified
NXOpen.CAE.SimCondition
label 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.SimCondition
labelSignature
NextLabel()
Returns: Return type: int New in version NX9.0.0.
License requirements: None.