public interface InstanceSelectionCriteria extends TaggedObject
Component.createEmptyPartFamilyInstanceSelectionCriteria(nxopen.partfamily.Template)
to get an instance of this class. Modifier and Type | Method and Description |
---|---|
Template |
family()
Returns the
Template that corresponds to this criteria object
License requirements: solid_modeling ("SOLIDS MODELING") Created in NX9.0.0 |
String[] |
getCriteriaStrings()
Obtains the criteria strings associated with this selection criteria.
|
Instance |
instance()
Returns the
Instance of criteria. |
boolean |
isValidPartFamilyInstanceSelectionCriteria()
Returns true if the selection criteria evaluates to a valid part family instance, false otherwise.
|
void |
setPartFamilyInstanceSelectionCriteria(FamilyAttribute[] attributes,
String[] criteriaStringArray)
Sets criteria on
InstanceSelectionCriteria . |
void |
setPartFamilyInstanceSelectionCriteria(String memberName)
Sets criteria on
InstanceSelectionCriteria . |
printTestData, printTestData, tag, tagValue
Template family() throws NXException, RemoteException
Template
that corresponds to this criteria object
NXException
RemoteException
Instance instance() throws NXException, RemoteException
Instance
of criteria.
NXException
RemoteException
String[] getCriteriaStrings() throws NXException, RemoteException
NXException
RemoteException
void setPartFamilyInstanceSelectionCriteria(FamilyAttribute[] attributes, String[] criteriaStringArray) throws NXException, RemoteException
InstanceSelectionCriteria
.
This criteria can be used while adding a part family member to assembly.
Number of elements in "attributes" and "criteriaStringArray" should always match the "attributeCount".
"criteriaStringArray" has to be an array of TEXT_pc_t with each element of the form for e.g. "p7 >= 100",
where "p7" is the attribute, "100" the value and ">=" the expression connecting both
attributes
- criteriaStringArray
- NXException
RemoteException
void setPartFamilyInstanceSelectionCriteria(String memberName) throws NXException, RemoteException
InstanceSelectionCriteria
.
This routine can be used when user wants to add a part family member to assembly directly using
the "memberName" instead of using attribute criteria. This "memberName" will be ignored in case
the InstenaceSelectionCriteria already has any valid attribute criteria or if the user adds a valid
attribute criteria later on.
User could obtain valid "memberName" using Template.getMembers()
.
memberName
- NXException
RemoteException
boolean isValidPartFamilyInstanceSelectionCriteria() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.