Message 1 of 3
insert blocks

Not applicable
10-16-2007
12:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
if have this block typeA.dwg, which is already in the drawing. Now I want to
insert it through some vba code:
Dim BlokOw As AcadBlockReference
Set BlokOw = ThisDrawing.ModelSpace.InsertBlock(TextOw, "typeA", 1, 1, 1, 0)
...and this doesn't work.
I must say that it is a block with some attributes. Maybe that's the reason
why it doesn't work. However I thought the program would stop and ask me for
the values of the attributes (as in plain AutoCAD). How can I add the
attributes to that block?
Many thanks in advance,
Frank
if have this block typeA.dwg, which is already in the drawing. Now I want to
insert it through some vba code:
Dim BlokOw As AcadBlockReference
Set BlokOw = ThisDrawing.ModelSpace.InsertBlock(TextOw, "typeA", 1, 1, 1, 0)
...and this doesn't work.
I must say that it is a block with some attributes. Maybe that's the reason
why it doesn't work. However I thought the program would stop and ask me for
the values of the attributes (as in plain AutoCAD). How can I add the
attributes to that block?
Many thanks in advance,
Frank