|
NX Open C++ Reference Guide
|
Represents a ColorWidth used by WidthDefinition to define a custom width for each color. More...
Public Member Functions | |
| void | SetWidth (double width) |
| Sets the width associated with the color Created in NX5.0.0. | |
| void | SetWidthSource (int widthSource) |
| Sets the width entry source. | |
| double | Width () |
| Returns the width associated with the color Created in NX5.0.0. | |
| int | WidthSource () |
| Returns the width entry source. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a ColorWidth used by 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.
| void NXOpen::ColorWidth::SetWidth | ( | double | width | ) |
Sets the width associated with the color
Created in NX5.0.0.
License requirements : None
| width | width |
| 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
| widthSource | widthsource |
| 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