API Reference > OdDb Classes > OdDbBlockReference Class
OdDbBlockReference Class
OdDbBlockReferenceOdDbBlockReferenceOdDbBlockReferenceOdDbBlockReferenceOdDbBlockReferenceOdDbBlockReference
Syntax
C++
class OdDbBlockReference : public OdDbEntity;

DbBlockReference.h

This class represents block references (Inserts) in an OdDbDatabase instance.

TD_Db 

 

 
Name 
Description 
 
This is OdDbBlockReference, a member of class OdDbBlockReference. 
 
Name 
Description 
 
Appends the specified OdDbAttribute to the attribute list of this block reference.
 
 
Returns an AttributeIterator for this block reference. 
 
Returns the Object ID of the block table record associated with this OdDbBlockReference (DXF 2). 
 
Returns the transformation matrix mapping a point in the MCS to the WCS. 
 
Copies the contents of the specified object into this object.
 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbBlockReference. 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF format data of this object from the specified filer.
 
 
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.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Explodes this entity into a set of simpler entities.
 
 
Explodes this entity into a set of simpler entities, and adds them to the specified block table record.
 
 
Explodes the current object and appends resulting entities to the block table record which owns the current OdDbBlockReference object that calls this method. 
 
This method gets copies of all entities in the referenced block table record, applies parentXform to them and after this calculates extents on the resulting object collection.
 
 
Returns the plane that contains this entity.
 
 
Returns true if and only if there is a plane that contains the entity. In another case this method returns false. 
 
Returns the WCS normal to the plane of this entity (DXF 210). 
 
Opens an attribute owned by this block reference.
 
 
Opens the OdDbSequenceEnd entity for this block reference.
 
 
Returns the insertion point of this block reference (WCS equivalent of DXF 10). 
 
Returns the rotation angle applied to this block reference (DXF 50). 
 
Returns the scale factors applied to this block reference (DXF 41, 42, 43). 
 
Sets the Object ID of the block table record associated with this OdDbBlockReference (DXF 2).
 
 
Sets the transformation matrix mapping a point in the MCS to the WCS.
 
 
Sets the WCS normal to the plane of this entity (DXF 210).
 
 
Sets the insertion point of this block reference. (WCS equivalent of DXF 10.)
 
 
Sets the rotation angle to be applied to this block reference, in radians (DXF 50). 
 
Sets the scale factors to be applied to this block reference (DXF 41, 42, 43).
 
 
Called as the first operation as this object is being closed, for database-resident objects only. 
 
Replace OdRxObjectPtrArray
  • details Explodes this entity into a set of simpler entities.

 
 
Overridables 
 
Returns the transformation matrix of compound object.
 
 
This is subGetGeomExtents, a member of class OdDbBlockReference.
 
 
This is subGetGsMarkersAtSubentPath, a member of class OdDbBlockReference.
 
 
This is subGetSubentPathsAtGsMarker, a member of class OdDbBlockReference.
 
 
This is subGetTransformedCopy, a member of class OdDbBlockReference.
 
 
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.
 
 
Applies the specified 3D transformation matrix to this entity.
 
 
Computes the entity to produce the right appearance given each viewport's possibly different viewpoint of the entity.Draws an entity in layout viewports.
 
 
Returns true if the entity has no view-dependent graphics. In another case returns false.
 
 
This is treatAsOdDbBlockRefForExplode, a member of class OdDbBlockReference. Determines how the entity should be exploded. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.