NX Open C++ Reference Guide
Public Member Functions
NXOpen::Assemblies::ComponentGroup Class Reference

Represents a Component Group that is defined within an Assembly. More...

Inheritance diagram for NXOpen::Assemblies::ComponentGroup:
NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

Public Member Functions

void AddComponent (NXOpen::Assemblies::Component *component, bool andChildren)
 Adds a component to a component group.
std::vector
< NXOpen::Assemblies::Component * > 
GetComponents ()
 Returns the Components within this Component Group.
int NumberOfComponents ()
 Returns the number of Components within this Component Group
Created in NX5.0.0.
NXOpen::PartLoadStatusOpen ()
 Loads a selected component group by name during Assembly part file open.
void RemoveComponent (NXOpen::Assemblies::Component *component)
 Removes a component from a component group
Created in NX7.5.0.

Detailed Description

Represents a Component Group that is defined within an Assembly.


Created in NX5.0.0.


Member Function Documentation

Adds a component to a component group.

If add chilren is true, the children of the added component are also added.


Created in NX7.5.0.

License requirements : adv_assemblies ("ADVANCED ASSEMBLIES")

Parameters:
componentthe component to add
andChildrenif true add chilren of component also

Returns the Components within this Component Group.

Returns:
the components
Created in NX5.0.0.

License requirements : None

Returns the number of Components within this Component Group
Created in NX5.0.0.



License requirements : None

Loads a selected component group by name during Assembly part file open.


This operation is used in conjunction with the LoadOptions enumerator LoadOptions::LoadComponents and using the specify filter option. This method is not intented to be used after an Assembly has been loaded but during the loading operations.

Returns:
Parts that could not be loaded and their associated errors.
Created in NX5.0.0.

License requirements : adv_assemblies ("ADVANCED ASSEMBLIES")

Removes a component from a component group
Created in NX7.5.0.



License requirements : adv_assemblies ("ADVANCED ASSEMBLIES")

Parameters:
componentthe component to remove

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.