Dimension Linear (rotated) Home

A linear dimension with a horizontal, vertical, or rotated dimension line.



New dimensions are created with the current dimension style.
To add linear dimension object into a drawing use following functions:

Function Meaning
lcBlockAddDimLin Add linear dimension
lcBlockAddDimHor Add horizontal dimension
lcBlockAddDimVer Add vertical dimension

Linear dimension object has the following properties:

Property Type Access Meaning
LC_PROP_ENT_...    Base class properties
LC_PROP_DIM_STYLE handle
string
RW Handle to dimension style
Name of dimension style
LC_PROP_DIMLIN_ANGLE float RW Rotation angle
LC_PROP_DIMLIN_DP1X float RW 1st definition point X
LC_PROP_DIMLIN_DP1Y float RW 1st definition point Y
LC_PROP_DIMLIN_DP2X float RW 2nd definition point X
LC_PROP_DIMLIN_DP2Y float RW 2nd definition point Y
LC_PROP_DIMLIN_TPX float RW Text point X
LC_PROP_DIMLIN_TPY float RW Text point Y
LC_PROP_DIM_TEXT string RW User-supplied dimension text
LC_PROP_DIM_MEAS float R Measured value

See also

  Retrieve objects