NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Layer::Category Class Reference

Represents a layer category. More...

Inheritance diagram for NXOpen::Layer::Category:
NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

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.

Detailed Description

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.


Member Function Documentation

Returns the category's description, if one exists
Created in NX3.0.0.



License requirements : None

Returns all the layers that belong to the category.

Returns:

Created in NX3.0.0.

License requirements : None
void NXOpen::Layer::Category::SetDescription ( const NXString description)

Sets the category's description, if one exists
Created in NX3.0.0.



License requirements : None

Parameters:
descriptiondescription
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

Parameters:
layerslayers

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

Parameters:
statenew state for the category. Must not be Layer::StateWorkLayer

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