ViewStyleFPCurvesBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# ViewStyleFPCurvesBuilder Class

class `NXOpen.Drawings.``ViewStyleFPCurvesBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents 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 `Color`

  Returns: | 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 `Color`

  Parameters: | 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 `Font`

  Returns: | Returns the font that is on the curve section of the flat pattern sub-builder
  Return type: | `NXOpen.Preferences.Font`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Font`

  Parameters: | font (`NXOpen.Preferences.Font`) – Sets a new font on the curve section of the flat pattern sub-builder

  New 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 `State`

  Returns: | 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 `State`

  Parameters: | 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 `Type`

  Returns: | Returns the type of flat pattern curve
  Return type: | `NXOpen.SheetMetal.FlatPatternSettingsFlatPatternObjectType`

  New 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 `Width`

  Returns: | Returns the width that is on the curve section of the flat pattern sub-builder
  Return type: | `NXOpen.Preferences.Width`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Width`

  Parameters: | width (`NXOpen.Preferences.Width`) – Sets a new width on the curve section of the flat pattern sub-builder

  New 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.