Message 1 of 2
Selecting a block inside the table and updating value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’m new to Lisp and looking for some guidance on a problem I’m trying to solve.
I have a block in my drawing named NOTE SHEET 02. This block serves as a drawing note and contains a numbered circle (NOTE CIRCLE) inside autocad table. The number in the circle reflects the block’s suffix (in this case, 02 → 2).
If there is no block named NOTE SHEET 01 inside the drawing, i want to rename NOTE SHEET 02 to NOTE SHEET 01 and update the NOTE CIRCLE block inside the table to change its number from 2 to 1.
I have no idea how to access the NOTE CIRCLE block inside the AutoCAD table and update its value in lisp.
I’d greatly appreciate any advice. Thanks!