NX Open C++ Reference Guide
|
Represents a layer category. More...
Public Types | |
enum | { DescriptionMaxLength = 80 } |
Public Member Functions | |
NXString | Description () |
Returns the category's description, if one exists Created in NX3.0.0. | |
std::vector< int > | GetMemberLayers () |
Returns all the layers that belong to the category. | |
void | SetDescription (const NXString &description) |
Sets the category's description, if one exists Created in NX3.0.0. | |
void | SetMemberLayers (const std::vector< int > &layers) |
Sets which layers belong to the category Created in NX3.0.0. | |
void | SetState (NXOpen::Layer::State state) |
Changes the state of every layer in the category to the specified state, except the work layer Created in NX3.0.0. |
Represents a layer category.
A layer category is a set of layers. A layer can belong to more than one category.
To create a new instance of this class, use Layer::CategoryCollection::CreateCategory
Created in NX3.0.0.
Returns the category's description, if one exists
Created in NX3.0.0.
License requirements : None
std::vector<int> NXOpen::Layer::Category::GetMemberLayers | ( | ) |
Returns all the layers that belong to the category.
void NXOpen::Layer::Category::SetDescription | ( | const NXString & | description | ) |
Sets the category's description, if one exists
Created in NX3.0.0.
License requirements : None
description | description |
void NXOpen::Layer::Category::SetMemberLayers | ( | const std::vector< int > & | layers | ) |
Sets which layers belong to the category
Created in NX3.0.0.
License requirements : None
layers | layers |
void NXOpen::Layer::Category::SetState | ( | NXOpen::Layer::State | state | ) |
Changes the state of every layer in the category to the specified state, except the work layer
Created in NX3.0.0.
License requirements : None
state | new state for the category. Must not be Layer::StateWorkLayer |