codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  BlockRef object

An instance of a block definition inserted into a drawing.

VBA class name:

AcadBlockReference 

Create using:

ModelSpace.InsertBlock
PaperSpace.InsertBlock
Block.InsertBlock 

Access via:

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item 

To create a block reference, first you must create a block definition, or block, by using the Add method. Once created, you can insert an instance of this block into your drawing using the InsertBlock method.

To add or delete items from the block reference, you must first use the Explode method to break it into its component objects. Even though a block reference is broken into its component objects, the block definition still remains in the drawings block symbol table.

To query or edit an existing block reference, use the following methods and properties:

Methods

ArrayPolar

ArrayRectangular

ConvertToAnonymousBlock

ConvertToStaticBlock

Copy

Delete

Explode

GetAttributes

GetBoundingBox

GetConstantAttributes

GetDynamicBlockProperties

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

ResetBlock

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update  

Properties

Application

Document

EffectiveName

Handle

HasAttributes

HasExtensionDictionary

Hyperlinks

InsertionPoint

InsUnits

InsUnitsFactor

IsDynamicBlock

Layer

Linetype

LinetypeScale

Lineweight

Name

Normal

ObjectID

ObjectName

OwnerID

PlotStyleName

Rotation

TrueColor

Visible

XEffectiveScaleFactor

XScaleFactor

YEffectiveScaleFactor

YScaleFactor

ZEffectiveScaleFactor

ZScaleFactor  

Events

Modified  

 

   Comments?