FileSelection Class

class NXOpen.BlockStyler.FileSelection

Bases: NXOpen.BlockStyler.UIBlock

Represents File 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
Filter Returns or sets the Filter
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
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 @return

Property Detail

Filter

FileSelection.Filter

Returns or sets the Filter

-------------------------------------

Getter Method

Signature Filter()

Returns:
Return type:str

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Filter(filterString)

Parameters:filterString (str) –

New in version NX8.5.0.

License requirements: None.

Path

FileSelection.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(path)

Parameters:path (str) –

New in version NX8.5.0.

License requirements: None.