UIBlock Class¶
-
class
NXOpen.BlockStyler.UIBlock¶ Bases:
NXOpen.TaggedObjectRepresents a UI Block
New in version NX6.0.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 |
| 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¶
Enable¶
-
UIBlock.Enable¶ Returns or sets the Enable.
If true, the block is sensitive.
-------------------------------------Getter Method
Signature
EnableReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EnableParameters: enable (bool) – New in version NX8.5.0.
License requirements: None.
Expanded¶
-
UIBlock.Expanded¶ Returns or sets the Expanded
-------------------------------------Getter Method
Signature
ExpandedReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpandedParameters: expanded (bool) – New in version NX8.5.0.
License requirements: None.
Group¶
-
UIBlock.Group¶ Returns or sets the Group
-------------------------------------Getter Method
Signature
GroupReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GroupParameters: group (bool) – New in version NX8.5.0.
License requirements: None.
Label¶
-
UIBlock.Label¶ Returns or sets the Label
-------------------------------------Getter Method
Signature
LabelReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LabelParameters: label (str) – New in version NX8.5.0.
License requirements: None.
Name¶
-
UIBlock.Name¶ Returns the name of the block or BlockID
-------------------------------------Getter Method
Signature
NameReturns: Block Name. Return type: str New in version NX6.0.0.
License requirements: None.
Show¶
-
UIBlock.Show¶ Returns or sets the Visibility of block.
If true, the block is visible. Otherwise invisible. This is readonly property for dialog and will be always true for dialog.
-------------------------------------Getter Method
Signature
ShowReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowParameters: show (bool) – New in version NX8.5.0.
License requirements: None.
Method Detail¶
Focus¶
-
UIBlock.Focus¶ Focuses on the block.
Use this method for both focus and keyboard focus.
Signature
Focus()New in version NX6.0.2.
License requirements: None.
GetProperties¶
-
UIBlock.GetProperties¶ Returns the properties of the block
Signature
GetProperties()Returns: Return type: NXOpen.BlockStyler.PropertyListNew in version NX6.0.0.
License requirements: None.