API Reference > OdDb Classes > OdDbTrace Class
OdDbTrace Class
OdDbTraceOdDbTraceOdDbTrace
Syntax
C++
class OdDbTrace : public OdDbEntity;

DbTrace.h

 

This class implements the two-dimensional /solid-filled/ object (Trace entity) in the database. This class inherits the base functionality of entities.

TD_Db 

Example of Working with the Trace Object 

Working with Traces 

OdDbSolid, OdDbEntity classes

 
Name 
Description 
 
Builds an instance of the /2D solid-filled/ entity. 
 
Name 
Description 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbTrace. 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Reads the DXF R12 format data of this object.
 
 
Writes the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the entity coordinate system matrix. 
 
Gets the trace plane. This method is inherited from the OdDbEntity class.
 
 
Gets the WCS coordinates of the vertex belonged to the trace entity using the specified index (DXF 10, 11, 12, or 13).
 
 
Determines whether vertices of the trace entity place in the same plane as a Boolean value and returns True if the entity is planar or False if the entity is non-planar. This method is inherited from the OdDbEntity class. 
 
Returns the WCS unit vector which is the normal to the plane of the trace entity (DXF 210). The normal defines the orientation of the trace plane in world space. 
 
Sets the WCS normal to the plane of the trace entity (DXF 210). The normal defines the orientation of the trace plane in world space. The initial value is (0,0,1) by default.
 
 
Sets the WCS coordinates of the vertex belonged to the trace entity using the specified index (DXF 10, 11, 12, or 13).
 
 
Sets the thickness of the trace entity (DXF 39) in drawing units. Thickness is the extrusion length along the normal. A positive value extrudes along the normal. A negative value extrudes opposite from the normal. A zero value defines a trace without thickness. The initial value is zero by default.
 
 
overridables 
 
This is subGetGsMarkersAtSubentPath, a member of class OdDbTrace. 
 
This is subGetSubentPathsAtGsMarker, a member of class OdDbTrace. 
 
This is subTransformBy, a member of class OdDbTrace. 
 
This is subViewportDraw, a member of class OdDbTrace. 
 
This is subWorldDraw, a member of class OdDbTrace. 
 
Returns the thickness of the trace entity (DXF 39) in drawing units. Thickness is the extrusion length along the normal. A positive value defines the thickness to be drawn along the normal direction. A negative value defines the thickness to be drawn in the opposite direction from the normal. A zero value defines a trace without thickness. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.