Point Home

A point is a marker that can appear as a dot, square, circle, X, or plus sign (+). By default, the point's appearance depends on the drawing's properties LC_PROP_DRW_PDMODE and LC_PROP_DRW_PDSIZE, but this properties can be overwritten for any individual point.
Points can act as nodes to which you can snap objects. Points are also visible within the viewport, regardless of how small or large the viewport scale may be. This makes points a valuable tool in the construction of CAD based maps.

To add points into a drawing use following functions:

Function Meaning
lcBlockAddPoint Adds a point with default style
lcBlockAddPoint2 Adds a point with own style
lcBlockAddPoint3d Adds a point with Z-coordinate

A point object has properties and functions derived from base class and the following specific properties:

Property Type Access Meaning
LC_PROP_ENT_...    Base class properties
LC_PROP_POINT_X float RW X coordinate
LC_PROP_POINT_Y float RW Y coordinate
LC_PROP_POINT_STYLE handle RW Handle to Point style
LC_PROP_POINT_BANGLE float RW Block rotation angle
LC_PROP_POINT_TDX float RW Text offset X
LC_PROP_POINT_TDY float RW Text offset Y
LC_PROP_POINT_TANGLE float RW Text rotation angle
LC_PROP_POINT_TEXT string RW Point text
LC_PROP_POINT_MODE int RW Point mode
LC_PROP_POINT_SIZE float RW Point size, in drawing units, negative value means % of window height

See also

  Retrieve objects