NXOpen .NET Reference Guide
1899
|
Represents a copy of the layer states. More...
Public Member Functions | |
unsafe NXOpen.Layer.State | GetState (int layer) |
Returns the state of the specified layer More... | |
unsafe void | SetState (int layer, NXOpen.Layer.State state) |
Sets the state of the specified layer More... | |
unsafe 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 More... | |
Public Member Functions inherited from NXOpen.TransientObject | |
void | Dispose () |
Frees the object from memory. More... | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
new string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override void | FreeResource () |
Frees the object from memory. More... | |
Additional Inherited Members | |
Properties inherited from NXOpen.TransientObject | |
IntPtr | Handle [get] |
Handle of the internal object represented by this object. More... | |
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
|
inlineprotectedvirtual |
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.
Implements NXOpen.TransientObject.
|
inline |
Returns the state of the specified layer
Created in NX3.0.0
License requirements: None.
layer |
|
inline |
Sets the state of the specified layer
Created in NX3.0.0
License requirements: None.
layer | |
state |
|
inline |
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.
category | |
state | new state for the category. Must not be Layer.State.WorkLayer |