CollapsibleGroup Class — NXOpen Python API Reference 12.0.0 documentation

# CollapsibleGroup Class

class `NXOpen.UIStyler.``CollapsibleGroup`

  Bases: `NXOpen.UIStyler.StylerItem`

  Represents a Collapsible Group for UI Styler

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
CollapseState | Returns or sets the collapse-state
Visibility | Returns or sets the visibility

# Methods

Method | Description
--- | ---
Dispose | Free resources associated with the instance.
GetItemType | Gets the dialog item type.
InitializeAttachment | Returns initialized dialog item attachment information
IsEqualTo | Equates two styler items
SetAttachment | Specifies the updated dialog item attachment information
SetLabel | Sets label of collapsible group

# Property Detail

## CollapseState

`CollapsibleGroup.``CollapseState`

  Returns or sets the collapse-state

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

  Getter Method

  Signature `CollapseState`

  Returns: |
  Return type: | bool

  New in version NX6.0.5.

  License requirements: None.

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

  Setter Method

  Signature `CollapseState`

  Parameters: | itemVal (bool) –

  New in version NX6.0.5.

  License requirements: None.

## Visibility

`CollapsibleGroup.``Visibility`

  Returns or sets the visibility

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

  Getter Method

  Signature `Visibility`

  Returns: |
  Return type: | bool

  New in version NX6.0.5.

  License requirements: None.

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

  Setter Method

  Signature `Visibility`

  Parameters: | type (bool) –

  New in version NX6.0.5.

  License requirements: None.

# Method Detail

## SetLabel

`CollapsibleGroup.``SetLabel`

  Sets label of collapsible group

  Signature `SetLabel(strLabel)`

  Parameters: | strLabel (str) – Text to be set as label

  New in version NX6.0.5.

  License requirements: None.