Jump to content

Recommended Posts

Posted

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.

Posted
(getvar 'CECOLOR)
(getvar 'CELTYPE)
(getvar 'CELWEIGHT)

(setvar 'CECOLOR "5")

Posted

Many Thanks to you Lee Mac.

Posted

Look at SYSVDLG. It will allow you to view available system variables and you can search with a wild card.

(eg. *color*)

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