NXKnowledge

Block UI Styler > Block Catalog > Numbers

Linear Dimension

The Linear Dimension block provides a control to input an expression to the command whose dimensionality is always a linear distance length. As such, it is a special case of the Expression block.

Because the dimensionality is fixed, the Linear Dimension block does not expose the general-purpose Dimensionality property (or the associated HasUnitsMenu/Units properties) that the base Expression block has — it is pre-configured for linear length.

Inherited general properties

  • BlockID
  • Enable
  • Group
  • Label
  • Show
  • Expanded

Block-specific properties

Property table structure mirrors the Expression block's property table (confirmed identical header/intro through BalloonTooltipText/BalloonTooltipImage), with Value/Formula/ExpressionObject/limit and increment properties present as in Expression, but scoped to linear-length semantics:

Property Name Description Access Property Type List of Values
BalloonTooltipText Specifies text for the balloon tooltip. CIGS String Any string value. Type \n for a line feed.
BalloonTooltipImage Specifies the file name of the image displayed in the balloon tooltip. CIGS String Valid bitmap file name from the NX library (no suffix/extension needed), or complete path. Supports TIFF, PNG, GIF, JPEG, BMP.
BalloonTooltipLayout Location of text with respect to the image in the balloon tooltip (Horizontal/Vertical). CIGS Enum Same as other blocks.
ExpressionObject Specifies the Expression object tied to the block. IG TaggedObject Object of type NXOpen.Expression.
Formula Specifies the formula for the expression, e.g. sin(30). CSG String Any string representing a valid formula.
Value Specifies the expression's linear-distance value. Automation access returns the value in base part units (see Expression block notes on unit conversion). CSG Double Any value.
LimitCheckTolerance / MaximumValue / MaxInclusive / MinimumValue / MinInclusive / PageIncrement / LineIncrement / AdaptiveScaleLimits / RetainValue / RetainUnits / WithScale Same properties and semantics as documented on the Expression block page. (various) (various) See Expression block.

Access column legend

Character Stands for Meaning
C Creation Modifiable interactively in Block UI Styler at design time.
I Initialize Modifiable at run time via NXOpen API, but only during the Initialize callback.
G Get Readable via NXOpen API in any callback.
S Set Modifiable at run time via NXOpen API in any callback.

Related Numbers blocks

Expression, Angular Dimension, Radius Dimension, On Path Dimension, Integer, Double, Integer Table, Double Table.

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/bs_linear_dimension · retrieved 2026-07-07