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

Lisp to Replace Block

3 REPLIES 3
Reply
Message 1 of 4
saber.elkassas
181 Views, 3 Replies

Lisp to Replace Block

Hello everybody

 

Is there is any lisp can do the below sequence:

 

  • Edit in place selected block
  • blue select on specific area (first corner 855,101 – second corner -824,56)
  • Remove this area from work set
  • Save changes
  • Green select on specific area (first corner -214,587 – second corner -224,578)
  • Delete
  • Insert block name “Title Block” from drawing at a specific path” G:\My Drive\01. Data\0- Project\07. Title Block\My Modified” at 0,0
3 REPLIES 3
Message 2 of 4
pendean
in reply to: saber.elkassas

Why don't you just XREF titleblock into your files, then all you ever need to do is just edit that one file outside and the revision gets auto-populated?
Message 3 of 4
saber.elkassas
in reply to: pendean

hi Pendean
I will do this task for hundreds of the drawing, so I was thinking to do it as lisp and make a macro to play this lisp. so it will be a one button task.
Message 4 of 4
paullimapa
in reply to: saber.elkassas

 what you should do is as @pendean stated. Run lisp to replace the block as xref on all the dwgs just once and then every time you change the xref all the other dwgs changed automatically 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

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

Post to forums  

Autodesk Design & Make Report

”Boost