Jump to content

Help with a LISP or routine for multiple commands on many files


DanCoge

Recommended Posts

Good evening at all.

I am looking for some help to create a simple lisp that can perform some automatic operations on all dwg files contained in a specific directory.

The required operations are, in sequence:

- open file n.1;

- start of 3 cycles of the BURST lisp (both in the model and in the layouts);

- purge;

- save;

- close file n.1;

- open file n.2;

- start of 3 cycles of the BURST lisp (both in the model and in the layouts) ;

- purge;

- save;

- close file n.2;

 

...for all files contained in the folder.

BURST lisp is a explode "empowered".

 

Thanks at all for the support!

 

Daniele

Link to comment
Share on other sites

Using accoreconsole would be the way to go there is example of modifying a directory. That is part 1.

 

The accoreconsole opens a dwg then runs a script, so the 2nd part is 3xburst purge save close in a script

 

https://through-the-interface.typepad.com/through_the_interface/2012/02/the-autocad-2013-core-console.html

 

  • Like 1
  • Agree 1
Link to comment
Share on other sites

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...