LinearDimension Class¶
-
class
NXOpen.BlockStyler.
LinearDimension
¶ Bases:
NXOpen.BlockStyler.UIBlock
Represents a Linear Dimension block
New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
AdaptiveScaleLimits | Returns or sets the AdaptiveScaleLimits. |
AutoReverseDuringDrag | Returns or sets the AutoReverseDuringDrag. |
BalloonTooltipImage | Returns or sets the BalloonTooltipImage |
BalloonTooltipLayoutAsString | Returns or sets the BalloonTooltipLayout as string |
BalloonTooltipText | Returns or sets the BalloonTooltipText |
Enable | Returns or sets the Enable. |
Expanded | Returns or sets the Expanded |
ExpressionObject | Returns or sets the ExpressionObject |
Formula | Returns or sets the Formula |
Group | Returns or sets the Group |
HandleOrientation | Returns or sets the HandleOrientation |
HandleOrigin | Returns or sets the HandleOrigin |
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. |
Show | Returns or sets the Visibility of block. |
ShowFocusHandle | Returns or sets the ShowFocusHandle |
ShowHandle | Returns or sets the ShowHandle. |
SnapPointTypesOnByDefault | Returns or sets the SnapPointTypesOnByDefault |
Tag | Returns the Tag for this object. |
Type | Returns the type of block |
Units | Returns or sets the Units |
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 |
GetProperties | Returns the properties of the block |
Property Detail¶
AdaptiveScaleLimits¶
-
LinearDimension.
AdaptiveScaleLimits
¶ Returns or sets the AdaptiveScaleLimits.
If true, indicates that the scale should be adaptive.
-------------------------------------
Getter Method
Signature
AdaptiveScaleLimits
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AdaptiveScaleLimits
Parameters: scaleLimits (bool) – New in version NX9.0.0.
License requirements: None.
AutoReverseDuringDrag¶
-
LinearDimension.
AutoReverseDuringDrag
¶ Returns or sets the AutoReverseDuringDrag.
If true, the linear dimension handle reverses its direction when it is dragged through the 0 value.
-------------------------------------
Getter Method
Signature
AutoReverseDuringDrag
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AutoReverseDuringDrag
Parameters: autoReverse (bool) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipImage¶
-
LinearDimension.
BalloonTooltipImage
¶ Returns or sets the BalloonTooltipImage
-------------------------------------
Getter Method
Signature
BalloonTooltipImage
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipImage
Parameters: imageString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipLayoutAsString¶
-
LinearDimension.
BalloonTooltipLayoutAsString
¶ Returns or sets the BalloonTooltipLayout as string
-------------------------------------
Getter Method
Signature
BalloonTooltipLayoutAsString
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipLayoutAsString
Parameters: enumString (str) – New in version NX8.5.0.
License requirements: None.
BalloonTooltipText¶
-
LinearDimension.
BalloonTooltipText
¶ Returns or sets the BalloonTooltipText
-------------------------------------
Getter Method
Signature
BalloonTooltipText
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BalloonTooltipText
Parameters: balloonTooltipText (str) – New in version NX8.5.0.
License requirements: None.
ExpressionObject¶
-
LinearDimension.
ExpressionObject
¶ Returns or sets the ExpressionObject
-------------------------------------
Getter Method
Signature
ExpressionObject
Returns: Return type: NXOpen.TaggedObject
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExpressionObject
Parameters: expressionObj ( NXOpen.TaggedObject
) –New in version NX8.5.0.
License requirements: None.
Formula¶
-
LinearDimension.
Formula
¶ Returns or sets the Formula
-------------------------------------
Getter Method
Signature
Formula
Returns: Return type: str New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Formula
Parameters: formula (str) – New in version NX8.5.0.
License requirements: None.
HandleOrientation¶
-
LinearDimension.
HandleOrientation
¶ Returns or sets the HandleOrientation
-------------------------------------
Getter Method
Signature
HandleOrientation
Returns: Return type: NXOpen.Vector3d
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HandleOrientation
Parameters: orientation ( NXOpen.Vector3d
) –New in version NX8.5.0.
License requirements: None.
HandleOrigin¶
-
LinearDimension.
HandleOrigin
¶ Returns or sets the HandleOrigin
-------------------------------------
Getter Method
Signature
HandleOrigin
Returns: Return type: NXOpen.Point3d
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HandleOrigin
Parameters: handleOrogin ( NXOpen.Point3d
) –New in version NX8.5.0.
License requirements: None.
LineIncrement¶
-
LinearDimension.
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
LineIncrement
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LineIncrement
Parameters: lineIncrement (float) – New in version NX9.0.0.
License requirements: None.
MaxInclusive¶
-
LinearDimension.
MaxInclusive
¶ Returns or sets the MaxInclusive
-------------------------------------
Getter Method
Signature
MaxInclusive
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaxInclusive
Parameters: maxInclusive (bool) – New in version NX8.5.0.
License requirements: None.
MaximumValue¶
-
LinearDimension.
MaximumValue
¶ Returns or sets the MaximumValue
-------------------------------------
Getter Method
Signature
MaximumValue
Returns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaximumValue
Parameters: maxValue (float) – New in version NX8.5.0.
License requirements: None.
MinInclusive¶
-
LinearDimension.
MinInclusive
¶ Returns or sets the MinInclusive
-------------------------------------
Getter Method
Signature
MinInclusive
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MinInclusive
Parameters: minInclusive (bool) – New in version NX8.5.0.
License requirements: None.
MinimumValue¶
-
LinearDimension.
MinimumValue
¶ Returns or sets the MinimumValue
-------------------------------------
Getter Method
Signature
MinimumValue
Returns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MinimumValue
Parameters: minValue (float) – New in version NX8.5.0.
License requirements: None.
PageIncrement¶
-
LinearDimension.
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
PageIncrement
Returns: Return type: float New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PageIncrement
Parameters: pageIncrement (float) – New in version NX9.0.0.
License requirements: None.
ShowFocusHandle¶
-
LinearDimension.
ShowFocusHandle
¶ Returns or sets the ShowFocusHandle
-------------------------------------
Getter Method
Signature
ShowFocusHandle
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowFocusHandle
Parameters: showFocus (bool) – New in version NX8.5.0.
License requirements: None.
ShowHandle¶
-
LinearDimension.
ShowHandle
¶ Returns or sets the ShowHandle.
If true, linear dimension handle is visible
-------------------------------------
Getter Method
Signature
ShowHandle
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowHandle
Parameters: showHandle (bool) – New in version NX8.5.0.
License requirements: None.
SnapPointTypesOnByDefault¶
-
LinearDimension.
SnapPointTypesOnByDefault
¶ Returns or sets the SnapPointTypesOnByDefault
-------------------------------------
Getter Method
Signature
SnapPointTypesOnByDefault
Returns: Return type: int New in version NX8.5.0.
Deprecated since version NX9.0.0: This call can be safely removed as this is now a no-op.
License requirements: None.
-------------------------------------
Setter Method
Signature
SnapPointTypesOnByDefault
Parameters: pointType (int) – New in version NX8.5.0.
Deprecated since version NX9.0.0: This call can be safely removed as this is now a no-op.
License requirements: None.
Units¶
-
LinearDimension.
Units
¶ Returns or sets the Units
-------------------------------------
Getter Method
Signature
Units
Returns: Return type: NXOpen.TaggedObject
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Units
Parameters: units ( NXOpen.TaggedObject
) –New in version NX8.5.0.
License requirements: None.
Value¶
-
LinearDimension.
Value
¶ Returns or sets the Value.
-------------------------------------
Getter Method
Signature
Value
Returns: Return type: float New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Value
Parameters: dimensionValue (float) – New in version NX8.5.0.
License requirements: None.
WithScale¶
-
LinearDimension.
WithScale
¶ Returns or sets the WithScale.
If true, the slider bar is shown.
-------------------------------------
Getter Method
Signature
WithScale
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WithScale
Parameters: withScale (bool) – New in version NX8.5.0.
License requirements: None.