NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.WidthDefinition Class Reference

Represents a NXOpen.WidthDefinition , which is a representation of an NX width palette. More...

Inheritance diagram for NXOpen.WidthDefinition:

Public Member Functions

unsafe NXOpen.CustomWidth[] GetCustomWidths ()
 Gets the custom widths array. More...
 
unsafe NXOpen.ColorWidth[] GetColorWidths ()
 Gets the color widths. More...
 

Properties

unsafe int Single [get, set]
 Returns or sets the single width type selection More...
 
unsafe int SingleSource [get, set]
 Returns or sets the single source. More...
 
unsafe double SingleWidth [get, set]
 Returns or sets the single width. More...
 
unsafe int Units [get, set]
 Returns or sets the units. More...
 
unsafe int Use [get, set]
 Returns or sets the 'use' member. More...
 

Detailed Description

Represents a NXOpen.WidthDefinition , which is a representation of an NX width palette.

It gives the units in which all the widths are stored, single width information, the 3 custom width definitions, and an entry for each color.

Created in NX5.0.0

Member Function Documentation

unsafe NXOpen.ColorWidth [] NXOpen.WidthDefinition.GetColorWidths ( )

Gets the color widths.

The 'widths' array is indexed by the color index straight out of the database, or 1-216. Therefore the array is one longer than the actual number of colors, or 217.

Created in NX5.0.0

License requirements: None.

Returns
Array of ColorWidth objects.
unsafe NXOpen.CustomWidth [] NXOpen.WidthDefinition.GetCustomWidths ( )

Gets the custom widths array.

There will be 3 CustomWidth objects.

Created in NX5.0.0

License requirements: None.

Returns
Array of CustomWidth objects.

Property Documentation

unsafe int NXOpen.WidthDefinition.Single
getset

Returns or sets the single width type selection

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.WidthDefinition.SingleSource
getset

Returns or sets the single source.

The 'single_source' member contains a value when the 'single' member is CGME_width_std or CGME_width_custom. The value is the index in the 'custom' width array or the standard width index value. Both are assumed to be in internal order, normal, thick, and thin for 0, 1, and 2, respectively.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.WidthDefinition.SingleWidth
getset

Returns or sets the single width.

The 'single_width' member contains the last-typed value for the user-defined width to use when CGME_width_user is selected for member 'single'.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.WidthDefinition.Units
getset

Returns or sets the units.

All the widths are stored in these units.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.WidthDefinition.Use
getset

Returns or sets the 'use' member.

The use member specifies the primary selection of which type of width assignment to use.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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