NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::Layer::CategoryCollection Class Reference

Represents a collection of layer categories
To obtain an instance of this class, refer to BasePart

Created in NX3.0.0. More...

Inheritance diagram for NXOpen::Layer::CategoryCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::Layer::CategoryCreateCategory (const NXString &name, const NXString &description, const std::vector< int > &memberLayers)
 Creates a new layer category.
iterator end ()
 Returns an iterator addressing one past the last element.
NXOpen::Layer::CategoryFindObject (const NXString &name)
 Finds the Category with the given name.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents a collection of layer categories
To obtain an instance of this class, refer to BasePart

Created in NX3.0.0.



Member Function Documentation

Returns an iterator addressing the first element.

NXOpen::Layer::Category* NXOpen::Layer::CategoryCollection::CreateCategory ( const NXString name,
const NXString description,
const std::vector< int > &  memberLayers 
)

Creates a new layer category.

Returns:
The new category
Created in NX3.0.0.

License requirements : None
Parameters:
nameThe name must not NULL and must not already be used by another layer category.
descriptionOptional
NOTE: The full Unicode character set is not supported for this parameter.
memberLayersLayers to be placed into the category

Returns an iterator addressing one past the last element.

Finds the Category with the given name.

An exception will be thrown if no object can be found with the given name.

Returns:

Created in NX3.0.0.

License requirements : None
Parameters:
nameThe name of the Category

Returns the tag of this object.


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