Message 1 of 9
AcadBlock vs. AcadBlockReference

Not applicable
11-01-1999
04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to list the attributes of a Block.
I have code like this:
dim strBlockName as String
...
strBlockName = "MyBlock"
Now I want to get a AcadBlockRefernce to the block named strBlockName so
that i can use AcadBlockReference.GetAttributes
...
I can use this to get a Block object
Dim entBlock as AcadBlock
Set entblock = ThisDrawing.Blocks.Item(strBlockName)
But I do not know how to turn this into an AcadBlockReference
Any help is appreciated,
Bob Harden
bob_harden@removespamharden-assoc.com (delete removespam to send message)
I have code like this:
dim strBlockName as String
...
strBlockName = "MyBlock"
Now I want to get a AcadBlockRefernce to the block named strBlockName so
that i can use AcadBlockReference.GetAttributes
...
I can use this to get a Block object
Dim entBlock as AcadBlock
Set entblock = ThisDrawing.Blocks.Item(strBlockName)
But I do not know how to turn this into an AcadBlockReference
Any help is appreciated,
Bob Harden
bob_harden@removespamharden-assoc.com (delete removespam to send message)