Jump to content

Recommended Posts

Posted

is there a way to open multiple dwgs freeze specified layers and run a lisp i already have?

Posted

The short answer is yes.

What are you programming in .Net, VBA Lisp?

Posted

im trying to learn lsp at the moment. taking some time though. I have 2 lisps that i need to run on one set of drwgs and 5 layers i need frozen on another set of dwgs. I was pretty sure it could be done but i have no idea how

Posted

I really need a way to open and freeze specified layers, ive gone through the first set and ran my two lisps, the second set is about 3 times as much.

Posted

wrote a quick lsp to freeze layers. pretty stuck on being able to run it on multiple dwgs.

Posted

Short answer is use programs like ScriptPro to run your lisp and freeze commands to all your drawings.

Posted

search the internet for something called xbatch

Posted

thanks for the link i searched it and got some funky results.

Posted

There is a way to run a lisp on several folder -without script files.

Make the lisp to start automatically when a drawing is opened (you may use the Startup suit). Go to AutoCAD, click the File > Open and in the opened window select all the files to be processed. Press the open button and watch the screen.

Posted

I think Hurricane for autocad will do this for you!

Posted

OpenDwgsCmds- Executes commands and functions on all open drawings.

The CDC function, Current Drawing Commands, allows you to test these commands and functions on the current drawing. The ODC function, Open Drawings Commands, executes these commands and functions on all open drawings. There are several programming utilities included
Posted

VVA,

That's a cool and clean way of using lisp. I'll have to try that sometime. The problem I see is if I have to run it to over 100 drawings at a time, it will take up all the resources of my machine just to open them up and will take forever to do anything. It would be great if I only need to do the lisp to 20 or so drawings.:roll:

I personally use SuperScript as it's much faster then scriptpro since it doesn't open and close autocad for each dwg.

Posted

Opening 100+ even thousands of drawings is not a problem just close and save each one after you have run your lisp program in the script you only then have maybe 2 open ?

 

Open mydwg

runmylisp

Close Y

 

Run it overnight if time is a problem you will be suprised how quick it will do it though if there is no interaction required.

 

repeat as required

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