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

An object containing text that links to a block.

VBA class name:

AcadAttributeReference 

Create using:

ModelSpace.InsertBlock
PaperSpace.InsertBlock
Block.InsertBlock 

Access via:

Block.GetAttributes 

You cannot directly create an attribute reference. Attribute references are added to the drawing when a block containing an attribute definition is inserted into the drawing. To access an attribute reference of an inserted block, use the GetAttributes method. This method returns an array of all attribute references attached to the inserted block.

Once you have obtained an attribute reference, use the following methods and properties to edit or query its values:

Methods

ArrayPolar

ArrayRectangular

Copy

Delete

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update

UpdateMTextAttribute  

Properties

Alignment

Application

Backward

Constant

Document

FieldLength

Handle

HasExtensionDictionary

Height

Hyperlinks

InsertionPoint

Invisible

Layer

Linetype

LinetypeScale

Lineweight

LockPosition

MTextAttribute

MTextAttributeContent

MTextBoundaryWidth

MTextDrawingDirection

Normal

ObjectID

ObjectName

ObliqueAngle

OwnerID

PlotStyleName

Rotation

ScaleFactor

StyleName

TagString

TextAlignmentPoint

TextGenerationFlag

TextString

Thickness

TrueColor

UpsideDown

Visible  

Events

Modified  

 

   Comments?