NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Layer.CategoryCollection Class Reference

Represents a collection of layer categories More...

Inheritance diagram for NXOpen.Layer.CategoryCollection:

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...
 

Detailed Description

Represents a collection of layer categories

To obtain an instance of this class, refer to NXOpen.BasePart

Created in NX3.0.0

Member Function Documentation

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.

Parameters
nameThe name must not a null reference (Nothing in Visual Basic) and must not already be used by another layer category.
descriptionOptional
memberLayersLayers to be placed into the category
Returns
The new category
override int NXOpen.Layer.CategoryCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
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.

Parameters
nameThe name of the NXOpen.Layer.Category
Returns
NXOpen.Layer.Category [] NXOpen.Layer.CategoryCollection.ToArray ( )

Returns an array of NXOpen.Layer.Category objects.

Property Documentation

Tag NXOpen.Layer.CategoryCollection.Tag
get

Returns the tag of this object.


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