NX Open C++ Reference Guide
Public Member Functions
NXOpen::Layer::StateCollection Class Reference

Represents a copy of the layer states. More...

Inheritance diagram for NXOpen::Layer::StateCollection:
NXOpen::TransientObject

List of all members.

Public Member Functions

NXOpen::Layer::State GetState (int layer)
 Returns the state of the specified layer.
void SetState (int layer, NXOpen::Layer::State state)
 Sets the state of the specified layer
Created in NX3.0.0.
void SetStateOfCategory (NXOpen::Layer::Category *category, NXOpen::Layer::State state)
 Sets the state of every layer in the category to the specified state, except the work layer
Created in NX3.0.0.
virtual ~StateCollection ()
 Frees the object from memory.

Detailed Description

Represents a copy of the layer states.

You can manipulate the StateCollection without affecting the actual layer states in the part. Your changes to the StateCollection will not be applied to the part until you apply them through the method Layer::LayerManager::SetStates .
Created in NX3.0.0.


Constructor & Destructor Documentation

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX3.0.0.

License requirements : None


Member Function Documentation

Returns the state of the specified layer.

Returns:

Created in NX3.0.0.

License requirements : None
Parameters:
layerlayer

Sets the state of the specified layer
Created in NX3.0.0.



License requirements : None

Parameters:
layerlayer
statestate

Sets 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:
categorycategory
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.