NX Open C++ Reference Guide
|
Sc Collector
To create a new instance of this class, use ScCollectorCollection::CreateCollector
Created in NX4.0.0.
More...
Public Member Functions | |
NXOpen::ScCollector * | CopyCollector () |
Copy collector object. | |
void | Destroy () |
Destroy the ScCollector object Created in NX5.0.0. | |
std::vector < NXOpen::TaggedObject * > | GetObjects () |
Returns the contents of a collector. | |
void | GetRules (std::vector< NXOpen::SelectionIntentRule * > &rules) |
Returns the rules of the a collector. | |
void | RemoveRule (int ruleIndex) |
Remove collector rule Created in NX7.0.0. | |
void | RemoveRules (const std::vector< NXOpen::SelectionIntentRule * > &rules) |
Remove collector rules Created in NX8.0.0. | |
void | ReplaceRules (const std::vector< NXOpen::SelectionIntentRule * > &rules, bool createRulesWoUpdate) |
Replace collector rules. | |
void | ReplaceRules (const std::vector< NXOpen::SelectionIntentRule * > &rules, const std::vector< NXOpen::DisplayableObject * > &negatedEntities, bool createRulesWoUpdate) |
Replace collector rules and specify negated entities. | |
void | SetInterpart (bool interpart) |
Sets inter-part status Created in NX6.0.0. |
Sc Collector
To create a new instance of this class, use ScCollectorCollection::CreateCollector
Created in NX4.0.0.
Copy collector object.
void NXOpen::ScCollector::Destroy | ( | ) |
Destroy the ScCollector object
Created in NX5.0.0.
License requirements : None
std::vector<NXOpen::TaggedObject *> NXOpen::ScCollector::GetObjects | ( | ) |
Returns the contents of a collector.
void NXOpen::ScCollector::GetRules | ( | std::vector< NXOpen::SelectionIntentRule * > & | rules | ) |
Returns the rules of the a collector.
Created in NX6.0.0.
License requirements : None
rules | Selection intent rules. |
void NXOpen::ScCollector::RemoveRule | ( | int | ruleIndex | ) |
Remove collector rule
Created in NX7.0.0.
License requirements : None
ruleIndex | index (starting from 0) of the rule to be removed |
void NXOpen::ScCollector::RemoveRules | ( | const std::vector< NXOpen::SelectionIntentRule * > & | rules | ) |
Remove collector rules
Created in NX8.0.0.
License requirements : None
rules | Selection intent rules to be removed |
void NXOpen::ScCollector::ReplaceRules | ( | const std::vector< NXOpen::SelectionIntentRule * > & | rules, |
bool | createRulesWoUpdate | ||
) |
Replace collector rules.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
rules | Selection intent rules. To create selection intent rules see documentation of ScRuleFactory for more details. |
createRulesWoUpdate | Flag to tell whether rules should be created wo_update |
void NXOpen::ScCollector::ReplaceRules | ( | const std::vector< NXOpen::SelectionIntentRule * > & | rules, |
const std::vector< NXOpen::DisplayableObject * > & | negatedEntities, | ||
bool | createRulesWoUpdate | ||
) |
Replace collector rules and specify negated entities.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
rules | Selection intent rules. To create selection intent rules see documentation of ScRuleFactory for more details. |
negatedEntities | Entities in the rules that should be removed from the collector. |
createRulesWoUpdate | Flag to tell whether rules should be created wo_update |
void NXOpen::ScCollector::SetInterpart | ( | bool | interpart | ) |
Sets inter-part status
Created in NX6.0.0.
License requirements : None
interpart | True to set collector as interpart |