API Reference > OdDb Classes > OdDbShape Class
OdDbShape Class
OdDbShapeOdDbShapeOdDbShape
Syntax
C++
class OdDbShape : public OdDbEntity;

DbShape.h

 

This class represents Shape entities in an OdDbDatabase instance.

A Shape entity is a single character of an SHX font. It is specified by name() and/or shapeNumber() and styleId(). 

Corresponding C++ library: TD_Db

Working with Shapes 

OdDbMText, OdDbText classes

 
Name 
Description 
 
This is OdDbShape, a member of class OdDbShape. 
 
Name 
Description 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbShape. 
 
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 format data of this object to the specified filer.
 
 
Writes the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the entity coordinate system matrix. 
 
Returns the plane that contains this entity.
 
 
Returns true if and only if this entity is planar. 
 
name 
Returns the name of this Shape entity (DXF 2). 
 
Returns the WCS normal to the plane of this entity (DXF 210). 
 
Returns the oblique angle of this Shape entity (DXF 51). 
 
Returns the position of this entity (WCS equivalent of DXF 10). 
 
Returns the rotation angle of this Shape entity (DXF 50). 
 
Sets the name of this Shape entity (DXF 2). 
 
Sets the WCS normal to the plane of this entity (DXF 210).  
 
Sets the oblique angle of this Shape entity (DXF 51).  
 
Sets the position of this entity (WCS equivalent of DXF 10).
 
 
Sets the rotation angle of this Shape entity (DXF 50).  
 
Sets the shape number of this Shape entity. 
 
Sets the size of this Shape entity (DXF 40).  
 
Sets the Object ID of the OdDbTextStyleTableRecord containing the SHX font file for this Shape entity. 
 
Sets the thickness of this entity (DXF 39).  
 
Sets the relative X scale factor (width factor) for this Shape entity (DXF 41).
 
 
Returns the shape number of this Shape entity. 
 
size 
Returns the size of this Shape entity (DXF 40). 
 
Returns the Object ID of the OdDbTextStyleTableRecord containing the SHX font file for this Shape entity. 
 
overridables 
 
This is subTransformBy, a member of class OdDbShape. 
 
This is subWorldDraw, a member of class OdDbShape. 
 
Returns the thickness of this entity (DXF 39). 
 
Returns the relative X scale factor (width factor) for this Shape entity (DXF 41). 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.