public interface SimConditionCollection extends TaggedObjectCollection
SimCondition
.
SimConditionSeqMgr
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
SimCondition |
create()
Adds a
SimCondition . |
SimCondition |
create(int label)
Adds a
SimCondition . |
SimCondition |
create(String name)
Adds a
SimCondition . |
SimCondition |
create(String name,
int label)
Adds a
SimCondition . |
int |
delete(SimCondition condition)
Deletes the specified
SimCondition . |
SimCondition |
find(String label)
Collection's object finder
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
SimCondition |
get(int label)
Returns the
SimCondition with the specified label or
null if such a condition doesn't exist
License requirements: None. |
SimCondition[] |
getAll()
Returns all
SimCondition
License requirements: None. |
boolean |
isLabelValid(int label)
Returns if a specified
SimCondition label is valid
License requirements: None. |
int |
nextLabel()
Returns the next available
SimCondition label
License requirements: None. |
_find_next, iterator
SimCondition create(String name, int label) throws NXException, RemoteException
SimCondition
.
Name can be anything, even empty.
Label must be unique and can be tested with isLabelValid(int)
.
name
- label
- SimCondition
NXException
RemoteException
SimCondition create(String name) throws NXException, RemoteException
SimCondition
.
Name can be anything, even empty.
A unique label will automatically be set.
name
- SimCondition
NXException
RemoteException
SimCondition create(int label) throws NXException, RemoteException
SimCondition
.
Name will be automatically set.
Label must be unique and can be tested with isLabelValid(int)
.
label
- SimCondition
NXException
RemoteException
SimCondition create() throws NXException, RemoteException
SimCondition
.
Name and label will be automatically set.
SimCondition
NXException
RemoteException
int delete(SimCondition condition) throws NXException, RemoteException
SimCondition
.
If that SimCondition
is referenced in a SimConditionTimeStep
,
the SimConditionTimeStep
will no longer reference any SimCondition
.
Will return the number of SimCondition
actually deleted.
condition
- NXException
RemoteException
SimCondition get(int label) throws NXException, RemoteException
SimCondition
with the specified label or
null if such a condition doesn't exist
label
- SimCondition
NXException
RemoteException
SimCondition[] getAll() throws NXException, RemoteException
SimCondition
NXException
RemoteException
int nextLabel() throws NXException, RemoteException
NXException
RemoteException
boolean isLabelValid(int label) throws NXException, RemoteException
label
- NXException
RemoteException
SimCondition find(String label) throws NXException, RemoteException
label
- label of the SimCondition
SimCondition
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.