nicolas Posted June 20, 2011 Posted June 20, 2011 Hi, I am looking for a variable to store the current color to variable cc and current linetype to cl, set a new color using -color (i,e Command "-color" 5) and new linetype and revert back to cc. Something similar to clayer [i.e. (setq c1 (getvar "clayer")] but its color equivalent Thank you in advance. Nicolas. Quote
Lee Mac Posted June 20, 2011 Posted June 20, 2011 (getvar 'CECOLOR) (getvar 'CELTYPE) (getvar 'CELWEIGHT) (setvar 'CECOLOR "5") Quote
alanjt Posted June 20, 2011 Posted June 20, 2011 Look at SYSVDLG. It will allow you to view available system variables and you can search with a wild card. (eg. *color*) Quote
Recommended Posts
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.