CustomWidth Class — NXOpen Python API Reference 12.0.0 documentation

# CustomWidth Class

class `NXOpen.``CustomWidth`

  Bases: `NXOpen.TaggedObject`

  Represents a `NXOpen.CustomWidth` used by `NXOpen.WidthDefinition` to define the three custom widths associated with each WidthDefinition.

  Each CustomWidth will contain a custom width line size and a name.

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
Name | Returns or sets the width name, specified as a NULL-terminated ASCII string
Tag | Returns the Tag for this object.
Width | Returns or sets the width of lines for the custom width

# Methods

# Property Detail

## Name

`CustomWidth.``Name`

  Returns or sets the width name, specified as a NULL-terminated ASCII string

  `-------------------------------------`

  Getter Method

  Signature `Name`

  Returns: |
  Return type: | str

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Name`

  Parameters: | name (str) –

  New in version NX5.0.0.

  License requirements: None.

## Width

`CustomWidth.``Width`

  Returns or sets the width of lines for the custom width

  `-------------------------------------`

  Getter Method

  Signature `Width`

  Returns: |
  Return type: | float

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Width`

  Parameters: | width (float) –

  New in version NX5.0.0.

  License requirements: None.