FlatPatternViewPreferences Class — NXOpen Python API Reference 12.0.0 documentation

# FlatPatternViewPreferences Class

class `NXOpen.Preferences.``FlatPatternViewPreferences`

  Bases: `object`

  Provides access to object and callout properties for sheet-metal data in flat pattern views on drawings.

  To obtain an instance of this class, refer to `NXOpen.Preferences.ViewPreferences`

  New in version NX5.0.0.

# Methods

Method | Description
--- | ---
Commit | Commits and applies all the settings done with set_callout_type_display and set_object_type_display.
GetPropertiesObject | Returns the properties object for the part’s flat pattern view preferences.

# Method Detail

## Commit

`FlatPatternViewPreferences.``Commit`

  Commits and applies all the settings done with set_callout_type_display and set_object_type_display.

  It must be called after a sequence of calls to those methods to cause the view to update.

  Signature `Commit()`

  New in version NX5.0.0.

  License requirements: nx_sheet_metal (“NX Sheet Metal”)

## GetPropertiesObject

`FlatPatternViewPreferences.``GetPropertiesObject`

  Returns the properties object for the part’s flat pattern view preferences.

  Signature `GetPropertiesObject()`

  Returns: | Reference to the object on which to get and set the

  preferences for flat pattern drawing member views. :rtype: `NXOpen.SheetMetal.FlatPatternSettings`

  New in version NX5.0.0.

  License requirements: nx_sheet_metal (“NX Sheet Metal”)