TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dussla on April 03, 2010, 05:07:35 AM

Title: global variable ussage
Post by: dussla on April 03, 2010, 05:07:35 AM
i  excuteed  2  cad app  in two moniotor

i   save variable value  in 1 cad app
after that , i would like to use that vairable in other cad app
how can i do that ?

thank you always for answering
Title: Re: global variable ussage
Post by: Kerry on April 03, 2010, 05:24:57 AM

Perhaps write the Variable value to a file or to the registry so you can read it from the other instance.
Title: Re: global variable ussage
Post by: ElpanovEvgeniy on April 03, 2010, 05:55:34 AM
Code: [Select]
(setenv "my var" "my value")
(getenv "my var")