NXOpen .NET Reference
12.0.0
|
Represents a collection of layer categories More...
Public Member Functions | |
NXOpen.Layer.Category[] | ToArray () |
Returns an array of NXOpen.Layer.Category objects. More... | |
unsafe NXOpen.Layer.Category | CreateCategory (string name, string description, int[] memberLayers) |
Creates a new layer category More... | |
unsafe NXOpen.Layer.Category | FindObject (string name) |
Finds the NXOpen.Layer.Category with the given name. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of layer categories
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX3.0.0
unsafe NXOpen.Layer.Category NXOpen.Layer.CategoryCollection.CreateCategory | ( | string | name, |
string | description, | ||
int[] | memberLayers | ||
) |
Creates a new layer category
Created in NX3.0.0
License requirements: None.
name | The name must not a null reference (Nothing in Visual Basic) and must not already be used by another layer category. |
description | Optional |
memberLayers | Layers to be placed into the category |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.Layer.Category NXOpen.Layer.CategoryCollection.FindObject | ( | string | name | ) |
Finds the NXOpen.Layer.Category with the given name.
An exception will be thrown if no object can be found with the given name.
Created in NX3.0.0
License requirements: None.
name | The name of the NXOpen.Layer.Category |
NXOpen.Layer.Category [] NXOpen.Layer.CategoryCollection.ToArray | ( | ) |
Returns an array of NXOpen.Layer.Category objects.
|
get |
Returns the tag of this object.