Jump to content

Recommended Posts

Posted

Dear friends,

 

We need a function (USING VLISP), to ask us to select drawings and it will open one by one and do some small task (Say write some text in the some co-ordinate) and save this modification in all selected drawings.

 

Please help.

 

Yours,

Muthu

Posted

If you know about scripts its pretty easy. If you want wis bang then you need two steps a program that allows multiple file picks and then say just writes the script and then runs it.

 

You can write in lisp or vlisp can not find an example just right now pretty sure its "findfile" will post tomorrow it calls the standard windows explorer and allows you to pick a file hence can make a list of dwg's and then in turn write a script and run automatically. Just set up loop and repeat pick as required.

 

Search open file in lisp help, examples are there.

 

You write a script such as

 

open dwg1 (load "myprog") close y

open dwg2 (load "myprog") close y

open dwg3 (load "myprog") close y

 

Found this here you need something like this

(setq fileName "*.dwg")

(setq ansfile (findfile fileName))

Posted

Funny I had similar question in mind, more like : how does batchin dwg's work" for any small job per dwg....

 

THanks for asking and answering, both of you guys!

Posted

If you're looking to do something to multiple files, take a gander at the Batch Engine in my siggy, or do a search on this forum for similar keywords; the question has been asked and answered several times.

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