API Reference > OdDb Classes > OdDbBlockTableRecord Class
OdDbBlockTableRecord Class
OdDbBlockTableRecordOdDbBlockTableRecordOdDbBlockTableRecord
Syntax
C++
class OdDbBlockTableRecord : public OdDbSymbolTableRecord;

DbBlockTableRecord.h

This class represents Block records in the OdDbBlockTable in an OdDbDatabase instance.

 
Name 
Description 
 
This is the default constructor for objects of the OdDbBlockTableRecord class. 
 
Name 
Description 
 
This enumeration defines scaling methods for block references. 
 
Name 
Description 
 
Traverses through all block references of this block table record and adds annotation data to each of them.
 
 
Appends the specified entity to this Block.
 
 
Notification function called each time an Undo operation is performed. This object is using partial Undo.
 
 
This method causes the invoked block table record to assume the ownership of all the entities listed in the input entitiesToMove array, and provides an optimized way of moving entities between block table records.
 
 
Returns the block insertion units for this Block. 
 
Returns the scaling characteristics of references to this Block. 
 
Returns the description text associated with this Block (DXF 4). 
 
Copies the contents of the specified object into this object when possible.
 
 
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Reads the DXF data of this object.
 
 
Returns true if and only if references to this Block can be exploded. 
 
This method gets copies of this object, applies parentXform to it and after this calculates extents on the resulting object.
 
 
Returns the Object ID's of all OdDbBlockReference entities that reference this Block.
 
 
Returns the Object ID's of all erased OdDbBlockReference entities that directly reference this Block.
 
 
Returns the WCS geometric extents of this object.
 
 
Returns the Object ID of the OdDbLayout associated with this Block. 
 
Returns the preview icon associated with this Block.  
 
Returns the SortentsTable associated with this block.
 
 
Returns true if and only if this Block contains Attribute definitions. 
 
Returns true if and only if this Block has a preview icon. 
 
Returns true if and only if this Block is anonymous (DXF 70, bit 0x01). 
 
Returns true if and only if this Block is an Xref (DXF 70, bit 0x04). 
 
Returns true if and only if this Block is an overlaid Xref (DXF 70, bit 0x08). 
 
Returns true if and only if this Block represents a layout. 
 
Returns true if and only if this Xref is unloaded (DXF 71). 
 
Returns an Iterator that can be used to traverse this Block.
 
 
Opens and returns the OdDbBlockBegin object associated with this Block.
 
 
Opens and returns the OdDbBlockEnd object associated with this Block.
 
 
Returns the WCS origin of this Block (DXF 10). 
 
Returns the path and filename for the Xref drawing (DXF 1). 
 
This function is called when a block is set as annotative. All entities in the block are stripped of their annotative property. If a block has nested blocks, they are exploded to entities.
 
 
Sets the block insertion units for this Block.  
 
Sets the scaling characteristics of references to this Block.
 
 
Sets the description text associated with this Block (DXF 4).  
 
Controls if references to this Block can be exploded.  
 
Sets the BlockTableRecord's overlay flag.
 
 
Sets the unloaded status of this Xref (DXF 71).
 
 
Sets the Object ID of the OdDbLayout associated with this Block.
 
 
Sets the WCS origin of this Block (DXF 10).  
 
Sets the path and filename for the Xref drawing (DXF 1).  
 
Sets the preview icon associated with this Block.  
 
Called as the first operation as this object is being closed, for database-resident objects only. 
 
Called as the first operation as this object is being *erased* or unerased.
 
 
Overridables. 
 
Called as the first operation of the handOverTo function.
 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
This is subWblockClone, a member of class OdDbBlockTableRecord. 
 
Returns true if the entity has no view-dependent graphics. In another case returns false.
 
 
Returns the database that defines this Xref.  
 
Returns the Xref status of this Block. 
Name 
Description 
 
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.