NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::ColorWidth Class Reference

Represents a NXOpen::ColorWidth used by NXOpen::WidthDefinition to define a custom width for each color. More...

Inheritance diagram for NXOpen::ColorWidth:
NXOpen::TaggedObject

Public Member Functions

void SetWidth (double width)
 Sets the width associated with the color
Created in NX5.0.0. More...
 
void SetWidthSource (int widthSource)
 Sets the width entry source. More...
 
double Width ()
 Returns the width associated with the color
Created in NX5.0.0. More...
 
int WidthSource ()
 Returns the width entry source. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::ColorWidth used by NXOpen::WidthDefinition to define a custom width for each color.

This class contains an index into the color array and a custom width value assigned to the indexed color.


Created in NX5.0.0.

Member Function Documentation

void NXOpen::ColorWidth::SetWidth ( double  width)

Sets the width associated with the color
Created in NX5.0.0.



License requirements : None

Parameters
widthwidth
void NXOpen::ColorWidth::SetWidthSource ( int  widthSource)

Sets the width entry source.

This will be -1 if this color is not a custom width, otherwise it will be a value greater than 0 to index into the color array.
Created in NX5.0.0.

License requirements : None

Parameters
widthSourcewidthsource
double NXOpen::ColorWidth::Width ( )

Returns the width associated with the color
Created in NX5.0.0.



License requirements : None

int NXOpen::ColorWidth::WidthSource ( )

Returns the width entry source.

This will be -1 if this color is not a custom width, otherwise it will be a value greater than 0 to index into the color array.
Created in NX5.0.0.

License requirements : None


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