Print Page | Close Window

Replacing Blocks

Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=10577
Printed Date: 01.Oct.2026 at 13:14


Topic: Replacing Blocks
Posted By: rushy24
Subject: Replacing Blocks
Date Posted: 01.Aug.2014 at 23:59
I've got a drawing of a city map containing street lights as blocks.  My goal is to assign a number to each pole.  My first thought was create a new block with an attribute and then simply replace all the others with the new one.  Seems I can't replace a block with a block that has attributes.  Anyone have a suggestion as to how I can accomplish what I'm after?  Thanks in advance!



Replies:
Posted By: rushy24
Date Posted: 02.Aug.2014 at 00:26
After searching around, let me rephrase this.  Apparently this may have been imported from another program way back when.  So for these street light blocks, I really have about 800 of the same blocks named ST_1 through ST_800.  This drawing just seems to need cleaned up, greatly!  It's the same case for other blocks, such as fire hydrants, water valves, pole lights, sewer drains...etc.!  Anyone help?  It seems like it may be a very time consuming fix having to go one by one


Posted By: John Connor
Date Posted: 02.Aug.2014 at 12:24
Sounds like a task best suited to a custom lisp program.  Question is, does ZwCAD support lisp?


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: rushy24
Date Posted: 02.Aug.2014 at 14:58
Yes, it does. I run a few already.


Posted By: Vladimir Michl
Date Posted: 05.Aug.2014 at 08:12
There is no problem with replacing blocks with attributes in AutoCAD. You can then use our InsertC/BlockC utility (see Download) to automatically renumber the blocks (fill their attributes).

-------------
Vladimir Michl (moderator)
https://www.linkedin.com/in/vmichl/" rel="nofollow - LinkedIn , Autodesk Expert Elite



Print Page | Close Window