API Reference > OdDb Classes > OdDbSolid Class
OdDbSolid Class
OdDbSolidOdDbSolidOdDbSolid
Syntax
C++
class OdDbSolid : public OdDbEntity;

DbSolid.h

 

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

TD_Db 

Example of Working with the Planar Solid Object 

Working with Planar Solids 

OdDbTrace, 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 OdDbSolid. 
 
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 solid plane. This method is inherited from the OdDbEntity class.
 
 
Gets the WCS coordinates of the vertex belonged to the planar solid entity using the specified index (DXF 10, 11, 12, or 13).
 
 
Returns the WCS unit vector which is the normal to the plane of the planar solid entity (DXF 210). The normal defines the orientation of the solid plane in world space. 
 
Sets the WCS normal to the plane of the planar solid entity (DXF 210). The normal defines the orientation of the solid plane in world space. The initial value is (0,0,1) by default.
 
 
Sets the WCS coordinates of the vertex belonged to the planar solid entity using the specified index (DXF 10, 11, 12, or 13).
 
 
Sets the thickness of the planar solid 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 planar solid without thickness. The initial value is zero by default.
 
 
overridables 
 
This is subGetGsMarkersAtSubentPath, a member of class OdDbSolid. 
 
This is subGetSubentPathsAtGsMarker, a member of class OdDbSolid. 
 
This is subTransformBy, a member of class OdDbSolid. 
 
This is subViewportDraw, a member of class OdDbSolid. 
 
This is subWorldDraw, a member of class OdDbSolid. 
 
Returns the thickness of the planar solid 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 planar solid without thickness. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.