public interface SelectionRecipeCollection extends TaggedObjectCollection
SelectionRecipe
CaePart
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
SelectionRecipe |
copy(SelectionRecipe recipeToCopy,
String name)
Copies a Selection Recipe with all attributes and add it to the collection.
|
AttributeSelectionRecipe |
createAttributeRecipe(String name,
CaeSetGroupFilterType entityType,
boolean resolveRelatedFeEntity,
CaeSetGroupFilterType relatedFeEntityType)
Creates an Attribute based Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
BoundingVolumeSelectionRecipe |
createBoxBoundingVolumeRecipe(String name,
CoordinateSystem centerCsys,
Expression length,
Expression width,
Expression height,
CaeSetGroupFilterType[] entityTypes)
Create a Bounding Volume Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
BoundingVolumeSelectionRecipe |
createBoxBoundingVolumeRecipe(String name,
Point centerPoint,
Point targetPoint,
CaeSetGroupFilterType[] entityTypes)
Create a Bounding Volume Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
CoordinateSelectionRecipe |
createCoordinateRecipe(String name,
Point3d coordinates,
double tolerance)
Creates a Coordinate based Single Node Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
BoundingVolumeSelectionRecipe |
createCylinderBoundingVolumeRecipe(String name,
CoordinateSystem centerCsys,
Expression diameter,
Expression cylinderHeight,
CaeSetGroupFilterType[] entityTypes)
Create a Bounding Volume Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
BoundingVolumeSelectionRecipe |
createCylinderBoundingVolumeRecipe(String name,
Expression diameter,
Point baseCenter,
Point topCenter,
CaeSetGroupFilterType[] entityTypes)
Create a Bounding Volume Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
LabelRangeSelectionRecipe |
createLabelRangeRecipe(String name,
int[] singleLabels,
int[] startLabels,
int[] endLabels,
int[] increments,
CaeSetGroupFilterType entityType)
Creates a Label Range Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
PointSelectionRecipe |
createPointRecipe(String name,
Point point,
double tolerance)
Creates a Point based Single Node Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
SingleLabelSelectionRecipe |
createSingleLabelRecipe(String name,
int nodeLabel)
Creates a Single Node Label Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
BoundingVolumeSelectionRecipe |
createSphereBoundingVolumeRecipe(String name,
Point centerPoint,
Expression diameter,
CaeSetGroupFilterType[] entityTypes)
Create a Bounding Volume Selection Recipe
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") . |
void |
delete(SelectionRecipe[] recipes)
Delete a list of selection recipes
License requirements: nx_masterfem ("Finite Element Modeling") . |
SelectionRecipe |
findObject(String journalIdentifier)
Finds the
SelectionRecipe with the given identifier as recorded in a journal. |
_find_next, iterator
BoundingVolumeSelectionRecipe createBoxBoundingVolumeRecipe(String name, CoordinateSystem centerCsys, Expression length, Expression width, Expression height, CaeSetGroupFilterType[] entityTypes) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.centerCsys
- length
- width
- height
- entityTypes
- Entity types to which this recipe resolves to. If null default will be NodesNXException
RemoteException
BoundingVolumeSelectionRecipe createBoxBoundingVolumeRecipe(String name, Point centerPoint, Point targetPoint, CaeSetGroupFilterType[] entityTypes) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.centerPoint
- targetPoint
- entityTypes
- Entity types to which this recipe resolves to. If null default will be NodesNXException
RemoteException
BoundingVolumeSelectionRecipe createCylinderBoundingVolumeRecipe(String name, CoordinateSystem centerCsys, Expression diameter, Expression cylinderHeight, CaeSetGroupFilterType[] entityTypes) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.centerCsys
- diameter
- cylinderHeight
- entityTypes
- Entity types to which this recipe resolves to. If null default will be NodesNXException
RemoteException
BoundingVolumeSelectionRecipe createCylinderBoundingVolumeRecipe(String name, Expression diameter, Point baseCenter, Point topCenter, CaeSetGroupFilterType[] entityTypes) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.diameter
- baseCenter
- topCenter
- entityTypes
- Entity types to which this recipe resolves to. If null default will be NodesNXException
RemoteException
BoundingVolumeSelectionRecipe createSphereBoundingVolumeRecipe(String name, Point centerPoint, Expression diameter, CaeSetGroupFilterType[] entityTypes) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.centerPoint
- diameter
- entityTypes
- Entity types to which this recipe resolves to. If null default will be NodesNXException
RemoteException
SingleLabelSelectionRecipe createSingleLabelRecipe(String name, int nodeLabel) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.nodeLabel
- The label of the node to which the recipe resolves to.NXException
RemoteException
LabelRangeSelectionRecipe createLabelRangeRecipe(String name, int[] singleLabels, int[] startLabels, int[] endLabels, int[] increments, CaeSetGroupFilterType entityType) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.singleLabels
- startLabels
- endLabels
- increments
- entityType
- NXException
RemoteException
CoordinateSelectionRecipe createCoordinateRecipe(String name, Point3d coordinates, double tolerance) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.coordinates
- The coordinates to be used in the search.tolerance
- The search tolerance.NXException
RemoteException
PointSelectionRecipe createPointRecipe(String name, Point point, double tolerance) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.point
- The point whom coordinates will be used in the search.tolerance
- The search tolerance.NXException
RemoteException
AttributeSelectionRecipe createAttributeRecipe(String name, CaeSetGroupFilterType entityType, boolean resolveRelatedFeEntity, CaeSetGroupFilterType relatedFeEntityType) throws NXException, RemoteException
name
- Name of the selection recipe. If null, then a valid unique name will be generated.entityType
- The main enitity type to which the recipe resolves to.resolveRelatedFeEntity
- Resolve to FE entity type related to main entity type.relatedFeEntityType
- The FE enitity type related to the main entity type. Recipe will only resolve to the FE entity type, not the main entity type.NXException
RemoteException
SelectionRecipe findObject(String journalIdentifier) throws NXException, RemoteException
SelectionRecipe
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Identifier of the Set you wantNXException
RemoteException
SelectionRecipe copy(SelectionRecipe recipeToCopy, String name) throws NXException, RemoteException
recipeToCopy
- name
- Name of the selection recipe. If null, then a valid unique name will be generated.NXException
RemoteException
void delete(SelectionRecipe[] recipes) throws NXException, RemoteException
recipes
- The recipes to be deletedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.