[scripting: python] check if viewport is muted or not

Date : Thu, 18 Jan 2007 14:29:12 -0800
To : XSI_MailingList <XSI(at)Softimage.COM>
From : Greg Smith <greg(at)stanwinston.com>
Subject : [scripting: python] check if viewport is muted or not
Hey all, I'm looking for a way to access viewport data via python
script. Specifically if the "camera" viewport is muted or not.

so far I can see whats inside a viewport by doing the following

vp = Application.Desktop.ActiveLayout.Views('vm')
Application.LogMessage(vp.GetAttributeValue('activecamera:a'))

however, I can't seem to find in the docs any way to inspect if a
specific viewport is muted or not let alone figure out how to set it.

if anyone has any ideas, it would be truly appreciated 

Greg

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.