Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Include new att block into lsp

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
miriam_ortega
387 Views, 5 Replies

Include new att block into lsp

I have a lsp that automatically populates my drawing tabs with the information from the TB

Currently only 1 attributed block is used but I want to add a second one 

the first att is called "00000-P01"

The second one I want to include is called "DRAWING" 

Both of these att blocks are within the block names "TitleBlock"

 

I have tried a number of combinations but nothing seems to work

miriamortega_0-1688651924603.png

 

Labels (2)
5 REPLIES 5
Message 2 of 6
Moshe-A
in reply to: miriam_ortega

@miriam_ortega  hi,

 

Attached renameLOA.lsp fixed but untested cause you did not post a sample drawing

 

enjoy

Moshe

 

Message 3 of 6
miriam_ortega
in reply to: Moshe-A

Thank you so much 😊

The lsp you sent works after I edited DRAWINGS for DRAWING

But one last thing, is there a way to get the separating symbol to be underscore? so it shows up as 2600_P02_Site Survey

I've attached the dwg this time 

Message 4 of 6
Moshe-A
in reply to: miriam_ortega

 

fixed.

Message 5 of 6
miriam_ortega
in reply to: Moshe-A

Amazing, thank you
Message 6 of 6

The sample was updated in the original source of this utility - www.cadforum.cz/freeware

 

Vladimir Michl, www.arkance-systems.cz  -  www.cadforum.cz

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report