Jump to content

Procedural way to query/set lighting mode buttons on viewport?


Recommended Posts

I am trying to create a new floating viewport that matches an existing desktop viewport.

 

I have been using the hscript viewcopy command to copy settings from one viewport to the other and that works pretty well. The only thing it seems to miss is the state of the Lighting buttons (No lights, headlight, normal lights, etc.). Is there any other way to query which lighting button is being used on a viewport, and also a way to set them?

post-8335-0-13271200-1443488329_thumb.pn

Link to comment
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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