Re: (maybe) Save LISP variables with drawing. 2006.
- From: Mr. B <User@xxxxxxxxxxx>
- Date: Tue, 06 Dec 2005 17:39:21 GMT
With Deft Fingers, "gruhn" <gruhn@xxxxxxxxxxxxx> wrote:
>One tool is to set drawing scale with one click. Set line scale and text
>scale and... It has worked well for years.
>It also sets a variable of our own devising, call it "RARDwgScale".
>This is a new behaviour with 2006. It would _seem_ that somewhere "save our
>lisp variables with the drawing" checkbox has been turned off. We would like
>to turn it back on.
I've not yet used 2006, but what I've been doing for years now is to put the
Drawing Scale info (metric/imperial and scale value) into Two (2) drawing
variables (which get saved in the Dwg file).
If I recall, there are three such varable names you can use (I only use 2 of
them). They are UserR1 to UserR5 and UserI1 (that is Eye 1) to UserI5. I
don't think that these are used much by anyone that I've ever come across.
Most don't even know that they are there (as they do not show up in SETVAR ?.
I use UserR1 for the scale factor (ie: 96 for 1/8th scale - 8 x 1/8")
And I use UserI1 for metric or imperial.
I retrieve them like the following:
(setq figscl (getvar "UserR1")) ; find Figure Scale factor
(setq Inmm (getvar "USerI1")) ; find if Inches 1 or MM 0
(if (= Inmm 0) (setq figscal (* figscl 25.4)))
(if (= Inmm 1) (setq figscal figscl))
If you are using In-House custom menus and Lisp routines, you might want some
one to check a few lines of their sourse code to see what's going on.
Regards,
BruceF
.
- Follow-Ups:
- Re: (maybe) Save LISP variables with drawing. 2006.
- From: Michael Bulatovich
- Re: (maybe) Save LISP variables with drawing. 2006.
- References:
- (maybe) Save LISP variables with drawing. 2006.
- From: gruhn
- (maybe) Save LISP variables with drawing. 2006.
- Prev by Date: (maybe) Save LISP variables with drawing. 2006.
- Next by Date: Re: (maybe) Save LISP variables with drawing. 2006.
- Previous by thread: (maybe) Save LISP variables with drawing. 2006.
- Next by thread: Re: (maybe) Save LISP variables with drawing. 2006.
- Index(es):
Relevant Pages
|
|