NX Open C++ Reference Guide
|
Represents a collection of layer categories
To obtain an instance of this class, refer to BasePart
Created in NX3.0.0.
More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
NXOpen::Layer::Category * | CreateCategory (const NXString &name, const NXString &description, const std::vector< int > &memberLayers) |
Creates a new layer category. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::Layer::Category * | FindObject (const NXString &name) |
Finds the Category with the given name. | |
tag_t | Tag () const |
Returns the tag of this object. |
Represents a collection of layer categories
To obtain an instance of this class, refer to BasePart
Created in NX3.0.0.
Returns an iterator addressing the first element.
NXOpen::Layer::Category* NXOpen::Layer::CategoryCollection::CreateCategory | ( | const NXString & | name, |
const NXString & | description, | ||
const std::vector< int > & | memberLayers | ||
) |
Creates a new layer category.
name | The name must not NULL and must not already be used by another layer category. |
description | Optional NOTE: The full Unicode character set is not supported for this parameter. |
memberLayers | Layers to be placed into the category |
Returns an iterator addressing one past the last element.
NXOpen::Layer::Category* NXOpen::Layer::CategoryCollection::FindObject | ( | const NXString & | name | ) |
tag_t NXOpen::Layer::CategoryCollection::Tag | ( | ) | const |
Returns the tag of this object.