FolderSelection Class — NXOpen Python API Reference 12.0.0 documentation

# FolderSelection Class

class `NXOpen.BlockStyler.``FolderSelection`

  Bases: `NXOpen.BlockStyler.UIBlock`

  Represents Folder Selection With Browse block

  New in version NX8.5.0.

# Properties

Property | Description
--- | ---
Enable | Returns or sets the Enable.
Expanded | Returns or sets the Expanded
Group | Returns or sets the Group
Label | Returns or sets the Label
Name | Returns the name of the block or BlockID
Path | Returns or sets the Path
RetainStringValue | Returns or sets the RetainStringValue
Show | Returns or sets the Visibility of block.
Tag | Returns the Tag for this object.
Type | Returns the type of block

# Methods

Method | Description
--- | ---
Focus | Focuses on the block.
GetProperties | Returns the properties of the block

# Property Detail

## Path

`FolderSelection.``Path`

  Returns or sets the Path

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

  Getter Method

  Signature `Path`

  Returns: |
  Return type: | str

  New in version NX8.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Path`

  Parameters: | path (str) –

  New in version NX8.5.0.

  License requirements: None.

## RetainStringValue

`FolderSelection.``RetainStringValue`

  Returns or sets the RetainStringValue

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

  Getter Method

  Signature `RetainStringValue`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `RetainStringValue`

  Parameters: | retainStringValue (bool) –

  New in version NX11.0.0.

  License requirements: None.