Skip to content

Entity Types

PlanCAD supports 17 entity types. Every entity belongs to a layer and carries a style (stroke color, stroke width, line type, and optional fill color). All entities support move, copy, rotate, scale, mirror, and delete operations unless noted otherwise.


line

A straight segment between two points.

PropertyTypeDescription
startPointStart point
endPointEnd point

Created by: LINE command / L shortcut Supports: Move, copy, rotate, scale, mirror, trim, extend, break, stretch, join, offset (produces a parallel line), explode (no-op — already atomic), array, grip editing of endpoints


rectangle

An axis-aligned or rotated rectangular shape defined by an origin corner, width, height, and rotation angle.

PropertyTypeDescription
originPointTop-left corner (before rotation)
widthnumberWidth in drawing units
heightnumberHeight in drawing units
rotationnumberRotation angle in radians

Created by: RECTANGLE / RECT command / R shortcut Supports: Move, copy, rotate, scale, mirror, explode (produces 4 lines), array, grip editing of corners


circle

A circle defined by a center point and radius.

PropertyTypeDescription
centerPointCenter point
radiusnumberRadius in drawing units

Created by: CIRCLE command / C shortcut Supports: Move, copy, rotate, scale, mirror, trim, break, array, grip editing of center and radius


arc

A circular arc defined by a center, radius, and start/end angles.

PropertyTypeDescription
centerPointCenter point
radiusnumberRadius in drawing units
startAnglenumberStart angle in radians
endAnglenumberEnd angle in radians

Created by: ARC command / A shortcut Supports: Move, copy, rotate, scale, mirror, trim, extend, break, array, grip editing


ellipse

An ellipse defined by a center, two radii, and a rotation angle.

PropertyTypeDescription
centerPointCenter point
radiusXnumberHorizontal radius
radiusYnumberVertical radius
rotationnumberRotation angle in radians

Created by: ELLIPSE / EL command / E shortcut Supports: Move, copy, rotate, scale, mirror, array


polyline

An ordered sequence of points forming an open or closed polygon.

PropertyTypeDescription
pointsPoint[]Ordered list of vertices
closedbooleanWhether the last point connects back to the first

Created by: POLYLINE / PL command / P shortcut Supports: Move, copy, rotate, scale, mirror, trim, extend, break, stretch, offset, join, explode (produces individual lines), array, grip editing of individual vertices


dimension

A measurement annotation. Supports linear, aligned, angular, radial, diameter, and ordinate dimension types. Dimensions can be associative — linked to an entity's endpoints so they update automatically when the entity moves.

PropertyTypeDescription
dimTypeDimensionTypelinear, aligned, angular, radial, diameter, or ordinate
startPointFirst measured point
endPointSecond measured point
offsetnumberDistance of the dimension line from the measured segment
centerPoint (optional)Vertex for angular dimensions
radiusnumber (optional)For radial/diameter dimensions
axis'x' or 'y' (optional)For ordinate dimensions
attachedEntityIdstring (optional)ID of the entity this dimension tracks
attachedEndpoints[number, number] (optional)Which endpoints of the attached entity map to dim start/end

Created by: DIMENSION / DIM command / D shortcut Supports: Move, copy, rotate, scale, mirror, array


text

A single-line text label placed at a point with a given height and rotation.

PropertyTypeDescription
positionPointInsertion point (baseline left)
textstringText content
heightnumberFont size in drawing units
rotationnumberRotation angle in radians

Created by: TEXT command / T shortcut Supports: Move, copy, rotate, scale, mirror, array, inline editing by double-clicking


annotation

A leader annotation: an arrow line from a start point to an end point, with a text label at the end.

PropertyTypeDescription
leaderStartPointArrow tip (origin of the leader line)
leaderEndPointText anchor point
textstringAnnotation text
heightnumberFont size in drawing units

Created by: ANNOTATION command / N shortcut Supports: Move, copy, rotate, scale, mirror, array, grip editing of leader endpoints


image

A raster image placed at a position with explicit width and height.

PropertyTypeDescription
positionPointTop-left corner of the image
widthnumberDisplay width in drawing units
heightnumberDisplay height in drawing units
dataUrlstringBase64-encoded image data (PNG/JPEG)

Created by: IMAGE command / I shortcut Supports: Move, copy, rotate, scale, mirror, array


spline

A NURBS spline curve defined by control points, a degree, and a knot vector. Optionally stores fit points for DXF round-trip compatibility.

PropertyTypeDescription
controlPointsPoint[]Control polygon vertices
degreenumberCurve degree (typically 3 for cubic)
knotsnumber[]Knot vector
closedbooleanWhether the spline is closed
fitPointsPoint[] (optional)Original fit points (DXF import)

Created by: SPLINE command / K shortcut Supports: Move, copy, rotate, scale, mirror, array, grip editing of control points


block-insert

An instance of a block definition placed at a position with scale and rotation.

PropertyTypeDescription
blockIdstringReference to a BlockDefinition
positionPointInsertion point
scale{ x, y }Non-uniform scale factors
rotationnumberRotation angle in radians

Created by: Inserting a symbol from the symbol library, or pasting a block Supports: Move, copy, rotate, scale, mirror, explode (expands block contents into individual entities), array


hatch

A filled region defined by one or more boundary loops. The first boundary is the outer loop; additional boundaries represent holes.

PropertyTypeDescription
boundariesPoint[][]Array of boundary loops (outer first, then holes)
patternTypeHatchPatternTypesolid, lines, cross, diagonal, horizontal, or vertical
patternAnglenumberPattern rotation in degrees
patternScalenumberPattern spacing multiplier
fillColorstringFill color (CSS color string)

Created by: HATCH command / Shift+H shortcut (click inside a closed boundary) Supports: Move, copy, rotate, scale, mirror, array


xline

A construction line (infinite line) passing through a point in a given direction. XLines are excluded from zoom-to-fit calculations.

PropertyTypeDescription
pointPointA point on the line
directionPointDirection vector (not necessarily normalized)

Created by: XLINE / XL command Supports: Move, copy, rotate, mirror, array


wipeout

A filled polygon that masks (blanks out) everything behind it in the draw order. Useful for obscuring entities beneath annotation or title block areas.

PropertyTypeDescription
pointsPoint[]Boundary vertices of the wipeout polygon

Created by: WIPEOUT command Supports: Move, copy, rotate, scale, mirror, array, grip editing of vertices


mtext

A multiline text block with a defined bounding width and optional font styling.

PropertyTypeDescription
positionPointTop-left insertion point
textstringText content (may contain line breaks)
heightnumberFont size in drawing units
widthnumberBounding box width
rotationnumberRotation angle in radians
fontFamilystring (optional)Font family name
boldboolean (optional)Bold style
italicboolean (optional)Italic style
underlineboolean (optional)Underline style

Created by: MTEXT / MT command Supports: Move, copy, rotate, scale, mirror, array, inline editing by double-clicking


table

A grid of cells with configurable column widths, row heights, and an optional header row.

PropertyTypeDescription
positionPointTop-left corner of the table
rowsnumberNumber of rows
colsnumberNumber of columns
colWidthsnumber[]Width of each column in drawing units
rowHeightsnumber[]Height of each row in drawing units
cellsTableCell[][]Two-dimensional array of cell data
headerRowbooleanWhether the first row is styled as a header
fontSizenumberFont size for cell text in drawing units

Created by: TABLE / TB command Supports: Move, copy, rotate, scale, mirror, array, inline cell editing by double-clicking


Common Properties (all entity types)

Every entity shares the following base properties regardless of type.

PropertyTypeDescription
idstringUnique identifier (UUID)
typeEntityTypeEntity type string
layerstringLayer name
styleStyleStroke color, stroke width, optional fill, line type, dash pattern
selectedbooleanWhether the entity is currently selected
visiblebooleanWhether the entity is rendered
groupstring (optional)Group ID — entities sharing a group ID are selected together
standNumberstring (optional)Stand/booth identifier displayed as a cartouche label at the entity center
labelOffsetPoint (optional)Offset for repositioning the stand number label relative to the entity center
autocadIdstring (optional)PlanExpo shape ID linking this entity to its PlanExpo counterpart
peShapeTypestring (optional)PlanExpo shape type (Spot, ConstraintZone, AuthorizedZone)
peServicesPlanExpoServiceMeta[] (optional)Exhibitor services imported from PlanExpo (label + quantity per service)

Block Attributes

Block definitions can carry dynamic attributes that modify block instances at runtime. Two attribute types are available:

LayerCountTextAttribute

Replaces a text entity within the block with a count of entities on a target layer.

FieldDescription
kindlayer-count-text
layerNameThe layer to count entities on
entityTypeOptional filter — only count entities of this type
blockNameOptional filter — only count block inserts of this name

LayerCountArrayAttribute

Repeats the block insertion based on entity count on a target layer, arranged in a configurable pattern.

FieldDescription
kindlayer-count-array
layerNameThe layer to count entities on
entityTypeOptional filter — only count entities of this type
blockNameOptional filter — only count block inserts of this name
layoutArrangement pattern: direction, spacing, columns