ExpressionBlock Class¶
-
class
NXOpen.BlockStyler.ExpressionBlock¶ Bases:
NXOpen.BlockStyler.UIBlockRepresents an Expression block
New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| AdaptiveScaleLimits | Returns or sets the AdaptiveScaleLimits. |
| BalloonTooltipImage | Returns or sets the BalloonTooltipImage |
| BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string |
| BalloonTooltipText | Returns or sets the BalloonTooltipText |
| DimensionalityAsString | Returns or sets the Dimensionality as string. |
| Enable | Returns or sets the Enable. |
| Expanded | Returns or sets the Expanded |
| ExpressionObject | Returns or sets the ExpressionObject |
| Formula | Returns or sets the Formula for the expression |
| Group | Returns or sets the Group |
| HasUnitsMenu | Returns or sets the HasUnitsMenu. |
| Label | Returns or sets the Label |
| LineIncrement | Returns or sets the LineIncrement value. |
| MaxInclusive | Returns or sets the MaxInclusive |
| MaximumValue | Returns or sets the MaximumValue |
| MinInclusive | Returns or sets the MinInclusive |
| MinimumValue | Returns or sets the MinimumValue |
| Name | Returns the name of the block or BlockID |
| PageIncrement | Returns or sets the PageIncrement value. |
| RetainValue | Returns or sets the RetainValue. |
| Show | Returns or sets the Visibility of block. |
| Tag | Returns the Tag for this object. |
| Type | Returns the type of block |
| Units | Returns or sets the Units for the expression |
| Value | Returns or sets the Value. |
| WithScale | Returns or sets the WithScale. |
Methods¶
| Method | Description |
|---|---|
| Focus | Focuses on the block. |
| GetBalloonTooltipLayoutMembers | Gets the BalloonTooltipLayout members |
| GetDimensionalityMembers | Gets the members of Dimensionality enum. |
| GetProperties | Returns the properties of the block |
Property Detail¶
AdaptiveScaleLimits¶
-
ExpressionBlock.AdaptiveScaleLimits¶ Returns or sets the AdaptiveScaleLimits.
If true, indicates that the scale should be adaptive.
-------------------------------------Getter Method
Signature
AdaptiveScaleLimitsReturns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AdaptiveScaleLimitsParameters: scaleLimits (bool) – New in version NX9.0.0.
License requirements: None.
BalloonTooltipImage¶
-
ExpressionBlock.BalloonTooltipImage¶ Returns or sets the BalloonTooltipImage
-------------------------------------Getter Method
Signature
BalloonTooltipImageReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipImageParameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipLayoutAsString¶
-
ExpressionBlock.BalloonTooltipLayoutAsString¶ Returns or sets the BalloonTooltipLayout as string
-------------------------------------Getter Method
Signature
BalloonTooltipLayoutAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipLayoutAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipText¶
-
ExpressionBlock.BalloonTooltipText¶ Returns or sets the BalloonTooltipText
-------------------------------------Getter Method
Signature
BalloonTooltipTextReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BalloonTooltipTextParameters: balloonTooltipText (str) – New in version NX8.5.0.
License requirements: None.
DimensionalityAsString¶
-
ExpressionBlock.DimensionalityAsString¶ Returns or sets the Dimensionality as string.
It specifies the type of quantity that the expression represents.
-------------------------------------Getter Method
Signature
DimensionalityAsStringReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionalityAsStringParameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
ExpressionObject¶
-
ExpressionBlock.ExpressionObject¶ Returns or sets the ExpressionObject
-------------------------------------Getter Method
Signature
ExpressionObjectReturns: Return type: NXOpen.TaggedObjectNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExpressionObjectParameters: expressionObject ( NXOpen.TaggedObject) –New in version NX8.5.0.
License requirements: None.
Formula¶
-
ExpressionBlock.Formula¶ Returns or sets the Formula for the expression
-------------------------------------Getter Method
Signature
FormulaReturns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FormulaParameters: formulaString (str) – New in version NX8.5.0.
License requirements: None.
LineIncrement¶
-
ExpressionBlock.LineIncrement¶ Returns or sets the LineIncrement value.
Specifies the increment/decrement when the user presses the arrow keys on the keyboard. Only available when PresentationStyle is set to Scale or ScaleKeyin.
-------------------------------------Getter Method
Signature
LineIncrementReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LineIncrementParameters: lineIncrement (float) – New in version NX9.0.0.
License requirements: None.
MaxInclusive¶
-
ExpressionBlock.MaxInclusive¶ Returns or sets the MaxInclusive
-------------------------------------Getter Method
Signature
MaxInclusiveReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaxInclusiveParameters: maxInclusive (bool) – New in version NX8.5.0.
License requirements: None.
MaximumValue¶
-
ExpressionBlock.MaximumValue¶ Returns or sets the MaximumValue
-------------------------------------Getter Method
Signature
MaximumValueReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumValueParameters: maxValue (float) – New in version NX8.5.0.
License requirements: None.
MinInclusive¶
-
ExpressionBlock.MinInclusive¶ Returns or sets the MinInclusive
-------------------------------------Getter Method
Signature
MinInclusiveReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinInclusiveParameters: minInclusive (bool) – New in version NX8.5.0.
License requirements: None.
MinimumValue¶
-
ExpressionBlock.MinimumValue¶ Returns or sets the MinimumValue
-------------------------------------Getter Method
Signature
MinimumValueReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinimumValueParameters: minValue (float) – New in version NX8.5.0.
License requirements: None.
PageIncrement¶
-
ExpressionBlock.PageIncrement¶ Returns or sets the PageIncrement value.
Specifies the increment/decrement when the user presses the Page Up or Page Down keys on the keyboard. Only available when PresentationStyle is set to Scale or ScaleKeyin.
-------------------------------------Getter Method
Signature
PageIncrementReturns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PageIncrementParameters: pageIncrement (float) – New in version NX9.0.0.
License requirements: None.
RetainValue¶
-
ExpressionBlock.RetainValue¶ Returns or sets the RetainValue.
If true, indicates that the values in the block would be stored in dialog memory upon OK, Apply or Close.
-------------------------------------Getter Method
Signature
RetainValueReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RetainValueParameters: retain (bool) – New in version NX10.0.0.
License requirements: None.
Units¶
-
ExpressionBlock.Units¶ Returns or sets the Units for the expression
-------------------------------------Getter Method
Signature
UnitsReturns: Return type: NXOpen.TaggedObjectNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UnitsParameters: units ( NXOpen.TaggedObject) –New in version NX8.5.0.
License requirements: None.
Value¶
-
ExpressionBlock.Value¶ Returns or sets the Value.
-------------------------------------Getter Method
Signature
ValueReturns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ValueParameters: expressionValue (float) – New in version NX8.5.0.
License requirements: None.
WithScale¶
-
ExpressionBlock.WithScale¶ Returns or sets the WithScale.
If true, the slider bar is shown.
-------------------------------------Getter Method
Signature
WithScaleReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WithScaleParameters: withScale (bool) – New in version NX8.5.0.
License requirements: None.