NXOpen C++ Reference Guide
|
Selection Recipe Builder
To create a new instance of this class, use NXOpen::CAE::SelectionRecipeCollection::CreateSelRecipeBuilder
Created in NX1847.0.0.
More...
Public Types | |
enum | InputFilterType { InputFilterTypeEntireModel, InputFilterTypeMesh, InputFilterTypeBody, InputFilterTypeComponent } |
the input filter type More... | |
Public Member Functions | |
NXOpen::CAE::SelRecipeAdapter * | AddAdapter (NXOpen::SelectionMethod *selectionMethod) |
Add an Adapter Strategy. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddArbitraryVolMeshStrategy (NXOpen::CAE::Mesh *mesh, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add an Arbitary Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddArbitraryVolPolygonBodyStrategy (NXOpen::CAE::CAEBody *body, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add an Arbitary Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeAttributeStrategy * | AddAttributeStrategy (NXOpen::CAE::CaeSetGroupFilterType entityType, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add an Attribute Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddBoxBoundingVolumeStrategy (NXOpen::Point *centerPoint, NXOpen::Point *targetPoint, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Box Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddBoxBoundingVolumeStrategy (NXOpen::CoordinateSystem *centerCsys, NXOpen::Expression *length, NXOpen::Expression *width, NXOpen::Expression *height, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Box Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeCoordinateStrategy * | AddCoordinateStrategy (const NXOpen::Point3d &coordinates, double tolerance, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Coordinate based Single Node Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddCylinderBoundingVolumeStrategy (NXOpen::CoordinateSystem *centerCsys, NXOpen::Expression *diameter, NXOpen::Expression *cylinderHeight, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Cylinder Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddCylinderBoundingVolumeStrategy (NXOpen::Expression *diameter, NXOpen::Point *baseCenter, NXOpen::Point *topCenter, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Cylinder Bounding Volume Strategy. More... | |
NXOpen::CAE::SelRecipeLabelRangeStrategy * | AddLabelRangeStrategy (const std::vector< int > &singleLabels, const std::vector< int > &startLabels, const std::vector< int > &endLabels, const std::vector< int > &increments, NXOpen::CAE::CaeSetGroupFilterType entityType, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Label Range Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipePointStrategy * | AddPointStrategy (NXOpen::Point *point, double tolerance, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Point based Single Node Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeProximityStrategy * | AddProximityStrategy (const std::vector< NXOpen::TaggedObject * > &selectedObject, double tolerance, NXOpen::CAE::CaeSetGroupFilterType entityType, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Proximity Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeSingleLabelStrategy * | AddSingleLabelStrategy (int nodeLabel, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Single Label Node Strategy Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy * | AddSphereBoundingVolumeStrategy (NXOpen::Point *centerPoint, NXOpen::Expression *diameter, const std::vector< NXOpen::CAE::CaeSetGroupFilterType > &entityTypes, NXOpen::CAE::SelRecipeBuilder::InputFilterType inputFilterType, NXOpen::TaggedObject *inputFilter) |
Add a Sphere Bounding Volume Strategy. More... | |
void | DeleteLastNStrategies (int nStrategies) |
Delete Last N Strategies Created in NX1847.0.0. More... | |
NXOpen::CAE::SelRecipeBaseStrategy * | GetNthStrategy (int index) |
Returns the Nth Strategy. More... | |
NXString | RecipeName () |
Returns the selection recipe name Created in NX1847.0.0. More... | |
void | SetRecipeName (const NXString &recipeName) |
Sets the selection recipe name Created in NX1847.0.0. More... | |
void | SetRecipeName (const char *recipeName) |
Sets the selection recipe name Created in NX1847.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Selection Recipe Builder
To create a new instance of this class, use NXOpen::CAE::SelectionRecipeCollection::CreateSelRecipeBuilder
Created in NX1847.0.0.
NXOpen::CAE::SelRecipeAdapter* NXOpen::CAE::SelRecipeBuilder::AddAdapter | ( | NXOpen::SelectionMethod * | selectionMethod | ) |
Add an Adapter Strategy.
selectionMethod | Smart Selector Method which defines the adaptor |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddArbitraryVolMeshStrategy | ( | NXOpen::CAE::Mesh * | mesh, |
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add an Arbitary Bounding Volume Strategy.
mesh | mesh |
entityTypes | Entity types to which this recipe resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddArbitraryVolPolygonBodyStrategy | ( | NXOpen::CAE::CAEBody * | body, |
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add an Arbitary Bounding Volume Strategy.
body | body |
entityTypes | Entity types to which this recipe resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeAttributeStrategy* NXOpen::CAE::SelRecipeBuilder::AddAttributeStrategy | ( | NXOpen::CAE::CaeSetGroupFilterType | entityType, |
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add an Attribute Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
entityType | The enitity type to which the recipe resolves to. |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddBoxBoundingVolumeStrategy | ( | NXOpen::Point * | centerPoint, |
NXOpen::Point * | targetPoint, | ||
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Box Bounding Volume Strategy.
centerPoint | centerpoint |
targetPoint | targetpoint |
entityTypes | Entity types to which this strategy resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddBoxBoundingVolumeStrategy | ( | NXOpen::CoordinateSystem * | centerCsys, |
NXOpen::Expression * | length, | ||
NXOpen::Expression * | width, | ||
NXOpen::Expression * | height, | ||
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Box Bounding Volume Strategy.
centerCsys | centercsys |
length | length |
width | width |
height | height |
entityTypes | Entity types to which this strategy resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeCoordinateStrategy* NXOpen::CAE::SelRecipeBuilder::AddCoordinateStrategy | ( | const NXOpen::Point3d & | coordinates, |
double | tolerance, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Coordinate based Single Node Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
coordinates | The coordinates to be used in the search. |
tolerance | The search tolerance. |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddCylinderBoundingVolumeStrategy | ( | NXOpen::CoordinateSystem * | centerCsys, |
NXOpen::Expression * | diameter, | ||
NXOpen::Expression * | cylinderHeight, | ||
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Cylinder Bounding Volume Strategy.
centerCsys | centercsys |
diameter | diameter |
cylinderHeight | cylinderheight |
entityTypes | Entity types to which this strategy resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddCylinderBoundingVolumeStrategy | ( | NXOpen::Expression * | diameter, |
NXOpen::Point * | baseCenter, | ||
NXOpen::Point * | topCenter, | ||
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Cylinder Bounding Volume Strategy.
diameter | diameter |
baseCenter | basecenter |
topCenter | topcenter |
entityTypes | Entity types to which this strategy resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeLabelRangeStrategy* NXOpen::CAE::SelRecipeBuilder::AddLabelRangeStrategy | ( | const std::vector< int > & | singleLabels, |
const std::vector< int > & | startLabels, | ||
const std::vector< int > & | endLabels, | ||
const std::vector< int > & | increments, | ||
NXOpen::CAE::CaeSetGroupFilterType | entityType, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Label Range Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
singleLabels | singlelabels |
startLabels | startlabels |
endLabels | endlabels |
increments | increments |
entityType | entitytype |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipePointStrategy* NXOpen::CAE::SelRecipeBuilder::AddPointStrategy | ( | NXOpen::Point * | point, |
double | tolerance, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Point based Single Node Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
point | The point whom coordinates will be used in the search. |
tolerance | The search tolerance. |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeProximityStrategy* NXOpen::CAE::SelRecipeBuilder::AddProximityStrategy | ( | const std::vector< NXOpen::TaggedObject * > & | selectedObject, |
double | tolerance, | ||
NXOpen::CAE::CaeSetGroupFilterType | entityType, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Proximity Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
selectedObject | selectedobject |
tolerance | The search tolerance. |
entityType | The enitity type to which the recipe resolves to. |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeSingleLabelStrategy* NXOpen::CAE::SelRecipeBuilder::AddSingleLabelStrategy | ( | int | nodeLabel, |
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Single Label Node Strategy
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
nodeLabel | nodelabel |
inputFilterType | input filter type |
inputFilter | input filter |
NXOpen::CAE::SelRecipeBoundingVolumeStrategy* NXOpen::CAE::SelRecipeBuilder::AddSphereBoundingVolumeStrategy | ( | NXOpen::Point * | centerPoint, |
NXOpen::Expression * | diameter, | ||
const std::vector< NXOpen::CAE::CaeSetGroupFilterType > & | entityTypes, | ||
NXOpen::CAE::SelRecipeBuilder::InputFilterType | inputFilterType, | ||
NXOpen::TaggedObject * | inputFilter | ||
) |
Add a Sphere Bounding Volume Strategy.
centerPoint | centerpoint |
diameter | diameter |
entityTypes | Entity types to which this strategy resolves to. If NULL default will be Nodes |
inputFilterType | input filter type |
inputFilter | input filter |
void NXOpen::CAE::SelRecipeBuilder::DeleteLastNStrategies | ( | int | nStrategies | ) |
Delete Last N Strategies
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
nStrategies | nstrategies |
NXOpen::CAE::SelRecipeBaseStrategy* NXOpen::CAE::SelRecipeBuilder::GetNthStrategy | ( | int | index | ) |
Returns the Nth Strategy.
index | index |
NXString NXOpen::CAE::SelRecipeBuilder::RecipeName | ( | ) |
Returns the selection recipe name
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SelRecipeBuilder::SetRecipeName | ( | const NXString & | recipeName | ) |
Sets the selection recipe name
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
recipeName | Name of the selection recipe. If NULL, then a valid unique name will be generated. |
void NXOpen::CAE::SelRecipeBuilder::SetRecipeName | ( | const char * | recipeName | ) |
Sets the selection recipe name
Created in NX1847.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
recipeName | Name of the selection recipe. If NULL, then a valid unique name will be generated. |