ViewStyleFPCurvesBuilder Class¶
-
class
NXOpen.Drawings.ViewStyleFPCurvesBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents the Curve section of the Flat Pattern tab on the View Style Dialog (Drawings.
ViewStyleFPCurvesBuilder)
New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| Color | Returns or sets the color on the Curve section of the Flat Pattern tab of the View Style Dialog |
| Font | Returns or sets the font on the Curve section of the Flat Pattern tab of the View Style Dialog |
| State | Returns or sets the state toggle on the Curve section of the Flat Pattern tab of the View Style Dialog |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of Flat Pattern Curve |
| Width | Returns or sets the width on the Curve section of the Flat Pattern tab of the View Style Dialog |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Color¶
-
ViewStyleFPCurvesBuilder.Color¶ Returns or sets the color on the Curve section of the Flat Pattern tab of the View Style Dialog
-------------------------------------Getter Method
Signature
ColorReturns: Returns the color that is on the curve section of the flat pattern sub-builder Return type: Id New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ColorParameters: color (Id) – Sets a new color on the curve section of the flat pattern sub-builder New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Font¶
-
ViewStyleFPCurvesBuilder.Font¶ Returns or sets the font on the Curve section of the Flat Pattern tab of the View Style Dialog
-------------------------------------Getter Method
Signature
FontReturns: Returns the font that is on the curve section of the flat pattern sub-builder Return type: NXOpen.Preferences.FontNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FontParameters: font ( NXOpen.Preferences.Font) – Sets a new font on the curve section of the flat pattern sub-builderNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
State¶
-
ViewStyleFPCurvesBuilder.State¶ Returns or sets the state toggle on the Curve section of the Flat Pattern tab of the View Style Dialog
-------------------------------------Getter Method
Signature
StateReturns: Returns the state toggle value that is on the curve section of the flat pattern sub-builder Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StateParameters: stateToggle (bool) – Sets a new state toggle value on the curve section of the flat pattern sub-builder New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Type¶
-
ViewStyleFPCurvesBuilder.Type¶ Returns the type of Flat Pattern Curve
-------------------------------------Getter Method
Signature
TypeReturns: Returns the type of flat pattern curve Return type: NXOpen.SheetMetal.FlatPatternSettingsFlatPatternObjectTypeNew in version NX6.0.0.
License requirements: None.
Width¶
-
ViewStyleFPCurvesBuilder.Width¶ Returns or sets the width on the Curve section of the Flat Pattern tab of the View Style Dialog
-------------------------------------Getter Method
Signature
WidthReturns: Returns the width that is on the curve section of the flat pattern sub-builder Return type: NXOpen.Preferences.WidthNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WidthParameters: width ( NXOpen.Preferences.Width) – Sets a new width on the curve section of the flat pattern sub-builderNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
ViewStyleFPCurvesBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.