Jump to content

How to make a script of variables from a drawing?


gilsoto13

Recommended Posts

Hi, Everyone.

 

In my company I am tasked many times to find solutions to indecipherable problems in 'work in progress' or reference drawings, so 2 weeks ago I wanted to find a lisp to extract non-read only variables from a drawing, so I could apply them to another drawing easily through an automatically written script...

 

I found the lisp... I don't remember the name... but it's old, and it was left behind in autocad 2005 or something... so It didn´t work for autocad 2008, I will upload it tomorrow anyway for your reference.

 

So I tried the system variable editor from the express menu in 2008, and 2009 but I realize it doesn´t show nor store all of the variables.. (I don´t know why), then I made a manual extraction of all the variables from a good drawing and made my lisp to apply them into another drawing... I finally finished after 3 or 4 hours.. and even when It didn´t work for what I wanted... It gave me the idea to make a lisp to automatically make a script with those variables I found, to extract them from a good drawing and quickly apply them to another drawing, crossing fingers to quickly fix the problem without extra investigation... So I will upload my lisp tomorrow... and let see what can we do..

Link to comment
Share on other sites

type VARS2SCR it is part of the express tools.

 

 

great!, I didn´t know it was part of autocad or that It even existed....

 

:S, we can never know evreything about autocad...

 

thank you very much

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