Message 1 of 15
Replace text with block and transfer value into attribute

Not applicable
06-19-2017
06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Replace text with block and transfer value into attribute
Dear all,
I need a lisp routine which basicly performs the action below:
I have only room number as mtext objects. What I want to achieve is:
I defined a block with attribute inside named ROOM_NO,
I want to replace each mtext object with this block while getting the value into the attribute.
The issue comes from migrating the drawing from Revit to AutoCad. Revit exports the room tags as mtext objects and I need to covert them to proper blocks with attibute. I have over 3000 rooms which is why a lisp routing comes in handy.
Regards,
MA