ChooseExpression Class¶
-
class
NXOpen.BlockStyler.ChooseExpression¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents Choose Expression block
New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| ExpressionSortTypeAsString | Returns or sets the ExpressionSortType as string |
| ExpressionTypeIndexAsString | Returns or sets the ExpressionTypeIndex as string |
| Group | Returns or sets the Group |
| Label | Returns or sets the Label |
| Name | Returns the name of the block or BlockID |
| SelectedExpression | Returns or sets the SelectedExpression |
| 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. |
| GetExpressionSortTypeMembers | Gets the ExpressionSortType members |
| GetExpressionTypeIndexMembers | Gets the ExpressionTypeIndex members |
| GetProperties | Returns the properties of the block |
Property Detail¶
ExpressionSortTypeAsString¶
-
ChooseExpression.ExpressionSortTypeAsString¶ Returns or sets the ExpressionSortType as string
-------------------------------------Getter Method
Signature
ExpressionSortTypeAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpressionSortTypeAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
ExpressionTypeIndexAsString¶
-
ChooseExpression.ExpressionTypeIndexAsString¶ Returns or sets the ExpressionTypeIndex as string
-------------------------------------Getter Method
Signature
ExpressionTypeIndexAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpressionTypeIndexAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
SelectedExpression¶
-
ChooseExpression.SelectedExpression¶ Returns or sets the SelectedExpression
-------------------------------------Getter Method
Signature
SelectedExpressionReturns: Return type: NXOpen.TaggedObjectNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SelectedExpressionParameters: selectedExpression ( NXOpen.TaggedObject) –New in version NX8.5.0.
License requirements: None.