Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"lilshoob" <b@a.com> wrote in messageI
href="news:f19da2d.-1@WebX.maYIadrTaRb">news:f19da2d.-1@WebX.maYIadrTaRb...
need to get the insertion point of a block
that is already in the drawing.
I'm looping
through to add a hyperlink and it needs a point
to
reference.
How do I get the insertion point? some code is
below:
For Each element In ThisDrawing.ModelSpace
'Check for attributes within blocks
If element.EntityType = 7 Then 'Test if it is a block
If element.HasAttributes = True Then 'Test if block has attributes
ArrayAttributes = element.GetAttributes
For I = LBound(ArrayAttributes)
To UBound(ArrayAttributes)
MsgBox "Attribute Text String : " & ArrayAttributes(I).TextString
The ".TextString" will give me the value of the
block, I need the
insertion point. Is there a
way to get a list of the commands associated
with variants?