CustomWidth Class¶
-
class
NXOpen.CustomWidth¶ Bases:
NXOpen.TaggedObjectRepresents a
NXOpen.CustomWidthused byNXOpen.WidthDefinitionto 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
NameReturns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NameParameters: 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
WidthReturns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WidthParameters: width (float) – New in version NX5.0.0.
License requirements: None.