NX Open C++ Reference Guide
|
Provides methods for managing set CAE::CaeGroup. More...
Classes | |
struct | AutoGroupErrorCodes |
Contains list of error codes for each auto group type. More... | |
struct | AutoGroupSeedNames |
Contains the prefix seed names to be given to auto created groups by type If a seed value is passed as NULL, then the auto created groups by that type will be given a default prefix List of default prefixes are as follows: MAT- for material_seed PPT- for ppt_seed Color- for color_seed XSECT- for section_seed LAM- for laminate seed DIM- for dimension seed FE_TYPE- for meshcolltype_seed. More... | |
struct | AutoGroupTypes |
Contains information about the types by which we do auto grouping. More... | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Types | |
enum | EntityType { EntityTypeNode, EntityTypeElement } |
Entity type. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
NXOpen::CAE::CaeGroup * | CopyGroup (const NXString &setName, NXOpen::CAE::CaeGroup *sourceGroup) |
Copies the input group, which must come from the same part as the collection. | |
NXOpen::CAE::CaeGroup * | CopyGroup (const char *setName, NXOpen::CAE::CaeGroup *sourceGroup) |
Copies the input group, which must come from the same part as the collection. | |
NXOpen::CAE::CaeGroupCollection::AutoGroupErrorCodes | CreateAutoGroups (const NXOpen::CAE::CaeGroupCollection::AutoGroupTypes &autoGroupTypes, const NXOpen::CAE::CaeGroupCollection::AutoGroupSeedNames &autoGroupSeeds, std::vector< NXOpen::CAE::CaeGroup * > &autoGroups) |
Auto group CAE entities based on attributes Types (attribute types) by which auto grouping needs to be done should be specified using the JA CAE_GROUP_COLLECTION_auto_group_types structure. | |
NXOpen::CAE::CaeGroup * | CreateExclusiveOrGroup (const NXString &setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a XOR of Groups. | |
NXOpen::CAE::CaeGroup * | CreateExclusiveOrGroup (const char *setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a XOR of Groups. | |
NXOpen::CAE::CaeGroup * | CreateGroup (const NXString &setName, const std::vector< NXOpen::TaggedObject * > &objects) |
Create a Group. | |
NXOpen::CAE::CaeGroup * | CreateGroup (const char *setName, const std::vector< NXOpen::TaggedObject * > &objects) |
Create a Group. | |
NXOpen::CAE::CaeGroup * | CreateGroupFromEntityIds (const NXString &setName, NXOpen::CAE::CaeGroupCollection::EntityType entityType, const std::vector< int > &entityID) |
Create a Node/Element Group from node/element IDs. | |
NXOpen::CAE::CaeGroup * | CreateGroupFromEntityIds (const char *setName, NXOpen::CAE::CaeGroupCollection::EntityType entityType, const std::vector< int > &entityID) |
Create a Node/Element Group from node/element IDs. | |
NXOpen::CAE::CaeGroup * | CreateIntersectionGroup (const NXString &setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a Intersection of Groups. | |
NXOpen::CAE::CaeGroup * | CreateIntersectionGroup (const char *setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a Intersection of Groups. | |
NXOpen::CAE::CaeGroup * | CreateOutputGroup (const std::vector< NXOpen::TaggedObject * > &objects) |
Create a Output Group. | |
NXOpen::CAE::CaeGroup * | CreateSubtractGroup (const NXString &setName, NXOpen::CAE::CaeGroup *fromGroup, NXOpen::CAE::CaeGroup *excludedGroup) |
Create a Subtraction of two Groups. | |
NXOpen::CAE::CaeGroup * | CreateSubtractGroup (const char *setName, NXOpen::CAE::CaeGroup *fromGroup, NXOpen::CAE::CaeGroup *excludedGroup) |
Create a Subtraction of two Groups. | |
NXOpen::CAE::CaeGroup * | CreateUnionGroup (const NXString &setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a Union of Groups. | |
NXOpen::CAE::CaeGroup * | CreateUnionGroup (const char *setName, const std::vector< NXOpen::CAE::CaeGroup * > &objects) |
Create a Union of Groups. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::CAE::CaeGroup * | FindObject (const NXString &journalIdentifier) |
Finds the CAE::CaeGroup with the given identifier as recorded in a journal. | |
NXOpen::CAE::CaeGroup * | FindObject (const char *journalIdentifier) |
Finds the CAE::CaeGroup with the given identifier as recorded in a journal. | |
void | QueryGroupList (std::vector< NXOpen::TaggedObject * > &objects) |
Query Groups list Created in NX6.0.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Provides methods for managing set CAE::CaeGroup.
To obtain an instance of this class, refer to CAE::CaePart
Created in NX6.0.0.
iterator NXOpen::CAE::CaeGroupCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CopyGroup | ( | const NXString & | setName, |
NXOpen::CAE::CaeGroup * | sourceGroup | ||
) |
Copies the input group, which must come from the same part as the collection.
setName | New group name, if no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
sourceGroup | must come from the same part as the collection |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CopyGroup | ( | const char * | setName, |
NXOpen::CAE::CaeGroup * | sourceGroup | ||
) |
Copies the input group, which must come from the same part as the collection.
setName | New group name, if no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
sourceGroup | must come from the same part as the collection |
NXOpen::CAE::CaeGroupCollection::AutoGroupErrorCodes NXOpen::CAE::CaeGroupCollection::CreateAutoGroups | ( | const NXOpen::CAE::CaeGroupCollection::AutoGroupTypes & | autoGroupTypes, |
const NXOpen::CAE::CaeGroupCollection::AutoGroupSeedNames & | autoGroupSeeds, | ||
std::vector< NXOpen::CAE::CaeGroup * > & | autoGroups | ||
) |
Auto group CAE entities based on attributes Types (attribute types) by which auto grouping needs to be done should be specified using the JA CAE_GROUP_COLLECTION_auto_group_types structure.
The number of auto created groups and the array of auto created groups will be returned. Errors if any are returned by auto group type through the JA CAE_GROUP_COLLECTION_auto_group_error_codes structure.
autoGroupTypes | types specifying which attributes to group by |
autoGroupSeeds | prefix seed names for auto created groups by type. If this argument is NULL or if any seed name is NULL, default prefixes are given |
autoGroups | output array of auto created groups |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateExclusiveOrGroup | ( | const NXString & | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a XOR of Groups.
setName | Name of the exclusive or group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateExclusiveOrGroup | ( | const char * | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a XOR of Groups.
setName | Name of the exclusive or group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateGroup | ( | const NXString & | setName, |
const std::vector< NXOpen::TaggedObject * > & | objects | ||
) |
Create a Group.
setName | Name of a Set NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateGroup | ( | const char * | setName, |
const std::vector< NXOpen::TaggedObject * > & | objects | ||
) |
Create a Group.
setName | Name of a Set NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateGroupFromEntityIds | ( | const NXString & | setName, |
NXOpen::CAE::CaeGroupCollection::EntityType | entityType, | ||
const std::vector< int > & | entityID | ||
) |
Create a Node/Element Group from node/element IDs.
setName | Name of a Set NOTE: The full Unicode character set is not supported for this parameter. |
entityType | entitytype |
entityID | entityid |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateGroupFromEntityIds | ( | const char * | setName, |
NXOpen::CAE::CaeGroupCollection::EntityType | entityType, | ||
const std::vector< int > & | entityID | ||
) |
Create a Node/Element Group from node/element IDs.
setName | Name of a Set NOTE: The full Unicode character set is not supported for this parameter. |
entityType | entitytype |
entityID | entityid |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateIntersectionGroup | ( | const NXString & | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a Intersection of Groups.
setName | Name of the Intersection group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateIntersectionGroup | ( | const char * | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a Intersection of Groups.
setName | Name of the Intersection group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateOutputGroup | ( | const std::vector< NXOpen::TaggedObject * > & | objects | ) |
Create a Output Group.
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateSubtractGroup | ( | const NXString & | setName, |
NXOpen::CAE::CaeGroup * | fromGroup, | ||
NXOpen::CAE::CaeGroup * | excludedGroup | ||
) |
Create a Subtraction of two Groups.
setName | Name of the subtraction group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
fromGroup | The Set that will be substracted |
excludedGroup | The Set that will be used for substraction |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateSubtractGroup | ( | const char * | setName, |
NXOpen::CAE::CaeGroup * | fromGroup, | ||
NXOpen::CAE::CaeGroup * | excludedGroup | ||
) |
Create a Subtraction of two Groups.
setName | Name of the subtraction group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
fromGroup | The Set that will be substracted |
excludedGroup | The Set that will be used for substraction |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateUnionGroup | ( | const NXString & | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a Union of Groups.
setName | Name of the Union group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::CreateUnionGroup | ( | const char * | setName, |
const std::vector< NXOpen::CAE::CaeGroup * > & | objects | ||
) |
Create a Union of Groups.
setName | Name of the Union group. If no name is input or the input name is invalid, a name will be generated. NOTE: The full Unicode character set is not supported for this parameter. |
objects | objects |
iterator NXOpen::CAE::CaeGroupCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the CAE::CaeGroup 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. @return
Created in NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
journalIdentifier | Identifier of the Set you want |
NXOpen::CAE::CaeGroup* NXOpen::CAE::CaeGroupCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the CAE::CaeGroup 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. @return
Created in NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling")
journalIdentifier | Identifier of the Set you want |
void NXOpen::CAE::CaeGroupCollection::QueryGroupList | ( | std::vector< NXOpen::TaggedObject * > & | objects | ) |
Query Groups list
Created in NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
objects | objects |
tag_t NXOpen::CAE::CaeGroupCollection::Tag | ( | ) | const |
Returns the tag of this object.