Trace Object (ActiveX)

A 2D solid line of specified width.

Supported Platforms: Windows only

Class Information

Class Name

AcadTrace

Object Inheritance
Object
   AcadObject
      AcadEntity
         AcadTrace
Create Using

VBA

ModelSpace.AddTrace
PaperSpace.AddTrace
Block.AddTrace 
Access Via

VBA

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item

Members

These members are part of this object:

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 the Fill mode is off, only the outline of a trace appears. To set the Fill mode, use the system variable FILLMODE. The system variable TRACEWID stores the current width used for a Trace object. To query a system variable, use the GetVariable method. To set a system variable, use the SetVariable method.

To create a trace, use the AddTrace method.