NX Open C++ Reference Guide
|
Represents a ReferenceSet
This is no KF creation
Created in NX6.0.0.
More...
Public Member Functions | |
void | AddObjectsToReferenceSet (const std::vector< NXOpen::NXObject * > &components) |
Addition of objects to reference set Created in NX6.0.0. | |
std::vector< NXOpen::NXObject * > | AskAllDirectMembers () |
Query of reference set members. | |
std::vector< NXOpen::NXObject * > | AskMembersInReferenceSet () |
Query of reference set members. | |
bool | GetAddComponentsAutomatically () |
Returns the add components automatically toggle value. | |
void | RemoveObjectsFromReferenceSet (const std::vector< NXOpen::NXObject * > &components) |
Removal of objects from reference set Created in NX6.0.0. | |
void | SetAddComponentsAutomatically (bool newValue, bool addExistingComponents) |
Sets the add components automatically toggle value. |
Represents a ReferenceSet
This is no KF creation
Created in NX6.0.0.
void NXOpen::ReferenceSet::AddObjectsToReferenceSet | ( | const std::vector< NXOpen::NXObject * > & | components | ) |
Addition of objects to reference set
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
components | Array of the selected objects to be added in the refernce set |
std::vector<NXOpen::NXObject *> NXOpen::ReferenceSet::AskAllDirectMembers | ( | ) |
Query of reference set members.
Includes solid bodies, facet bodies, miscellaneous entities other than solid and facet bodies and assembly components.
std::vector<NXOpen::NXObject *> NXOpen::ReferenceSet::AskMembersInReferenceSet | ( | ) |
Query of reference set members.
Includes solid bodies, facet bodies and miscellaneous entities other than solid and facet bodies. Also includes entity objects like faces and edges. Does not include assembly components.
Returns the add components automatically toggle value.
This controls whether new components added to the part will automatically get added to this reference set.
void NXOpen::ReferenceSet::RemoveObjectsFromReferenceSet | ( | const std::vector< NXOpen::NXObject * > & | components | ) |
Removal of objects from reference set
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
components | Array of the selected objects to be removed from the refernce set |
void NXOpen::ReferenceSet::SetAddComponentsAutomatically | ( | bool | newValue, |
bool | addExistingComponents | ||
) |
Sets the add components automatically toggle value.
This controls whether new components added to the part will automatically get added to this reference set.
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
newValue | The new setting for the add components automatically property |
addExistingComponents | Specifies whether existing components should be added to the reference set, and only applies when newValue is true |