nicolas Posted June 20, 2011 Share 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 Link to comment Share on other sites More sharing options...
Lee Mac Posted June 20, 2011 Share Posted June 20, 2011 (getvar 'CECOLOR) (getvar 'CELTYPE) (getvar 'CELWEIGHT) (setvar 'CECOLOR "5") Quote Link to comment Share on other sites More sharing options...
nicolas Posted June 20, 2011 Author Share Posted June 20, 2011 Many Thanks to you Lee Mac. Quote Link to comment Share on other sites More sharing options...
alanjt Posted June 20, 2011 Share 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 Link to comment Share on other sites More sharing options...
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.