Jump to content

Recommended Posts

Posted
Ugh... I feel so out of it. It's been a year since I've even touched a program, and now I'm doing it while multitasking with sleep deprivation!

 

I know how you feel - there are some programming tasks that I do very rarely and always find myself having to re-learn everything all over again...

 

To save you some time in reading up on AutoLISP & Scripts just for this task, you could use my free Script Writer program which will do most of the automation for you.

 

Instructions:

 

 

  • Copy the drawings to be processed to a new temporary folder so that you are working with copies (always recommended when batch processing!).

 

 

  • For the 'Script Line', type the following (change the highlighted block names to suit):

_.open *file* (load "DeleteBlocksV1-0.lsp" nil) (if LM:DeleteBlocks (LM:DeleteBlocks (LM:acdoc) '([highlight]"Block1" "Block2" "Block3"[/highlight]))) _.qsave _.close

  • Select the temporary folder of drawings to be processed.

 

  • Run the Script.

 

 

I hope this helps - if you get stuck, just ask.

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

  • resullins

    9

  • ReMark

    6

  • Lee Mac

    5

  • MBSupport

    1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...