Elements in CadSDK
Explore all available drawing elements in CadSDK. Each element type is documented in detail below.
-
Element (Base Class)
The abstract base class for all geometric and annotation elements.
-
Line
Represents a line element defined by a start and end point.
-
Circle
Represents a circle element defined by center point and radius.
-
Text
Represents a single-line text element in the drawing.
-
Polyline
Represents a polyline element, defined by a sequence of vertices.
-
Hatch
Represents a hatch element, filling a region defined by boundary loops with a pattern.
-
LinearDim
Represents a linear dimension, measuring the distance between two points projected onto a line.
-
Arc
Represents a circular arc defined by its center, plane, radius, start angle, and end angle.
-
Ellipse
Represents an elliptical curve defined by its center, plane, and axis radii.
-
EllipticalArc
Represents an elliptical arc defined by its center, plane, axis radii, start angle, and end angle.
-
MultilineText
Represents a multiline text element (MText) in the drawing.
-
AttributeDefinition
Represents an attribute definition, which is a template for attributes that can be attached to block references.
-
BlockReference
Represents an instance of a block definition inserted into the drawing.
-
AngularDim
Represents an angular dimension, measuring the angle between two lines defined by three points.
-
DiametricDim
Represents a diametric dimension, measuring the diameter of a Circle or Arc.
-
OrdinateDim
Represents an ordinate dimension, measuring the X or Y coordinate of a point relative to a datum origin.
-
RadialDim
Represents a radial dimension, measuring the radius of a Circle or Arc.
Next Steps
After exploring the elements, you can:
- Return to the Documentation for more topics.
- Check out Practical Examples to see elements in action.