AddTrace Method |
Creates a Trace object from an array of points.
Signature
RetVal = object.AddTrace(PointsArray)
Object
ModelSpace Collection,
PaperSpace
Collection, Block
The object or objects this method applies to.
PointsArray
Variant (array of doubles); input-only
An array of 3D WCS coordinates specifying the trace endpoints.
RetVal
Trace
object
The newly created Trace object.
System Variables
To set the Fill mode, use the FILLMODE system variable. The TRACEWID system variable stores the current width used for Trace objects.
Remarks
The endpoints of a trace are always on the centerline and are always cut square. AutoCAD automatically calculates the correct bevels for connection to adjacent trace segments.
Traces are solid filled when the Fill mode is on. When Fill mode is off, only the outline of a trace appears.
Comments? |