Message 1 of 3
Redefining Blocks

Not applicable
10-03-2000
07:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Help...I'm new to both AutoCAD and Visual Basic and am struggling to
learn both. I am tryin to develop a macro to help in the conversion of
drawings from another CAD application (MicroCADAM) to AutoCAD.
One of the steps in the conversion that I'm working now in VBA is to
change each block defined in the drawing to: scale the drawing entities
down by 12, change the text height and the entities' color to ByLayer.
I've done most of this by stepping through the blocks one-by-one and,
(1)inserting each at 0,0 (2) exploding that refence, and(3) modifying
the entities. Now I want to "redefine" the block with these objects.
How do I do this? I can't Add it because it already exists in the
Blocks collection. What approach should I take?
Larry
learn both. I am tryin to develop a macro to help in the conversion of
drawings from another CAD application (MicroCADAM) to AutoCAD.
One of the steps in the conversion that I'm working now in VBA is to
change each block defined in the drawing to: scale the drawing entities
down by 12, change the text height and the entities' color to ByLayer.
I've done most of this by stepping through the blocks one-by-one and,
(1)inserting each at 0,0 (2) exploding that refence, and(3) modifying
the entities. Now I want to "redefine" the block with these objects.
How do I do this? I can't Add it because it already exists in the
Blocks collection. What approach should I take?
Larry