Found it. Nice workaround there!
Thanks a lot Aloys.
F.
Aloys Baillet schrieb:
Hi Felix,
CameraIndex is a bit obscure indeed... I did some tests and could not
find
any usable logic for it...
Have you tried to look at Alain Laferriere's plugin XGS_Slate? He uses a
quite convoluted method to get the current camera object from the current
viewport, using a call to FindChildren for each view and each frame... If
you steal his code (line 1456+), from the camera object you can get the
camera display property and the current display mode.
I'm sure could optimize that using some caching system as well.
Good luck, and tell me if you need snippets.
Aloys
On 10/2/06, Felix Gebhardt < gebhardt(at)betacarotin.de> wrote:
Hi,
Does anyone know to what list the XSI_VIEWDATA's CameraIndex in case of
CameraType == SCENE_CAMERA relates to? Basically I would like to get to
the camdisp property to check whether the view is in wireframe or in
shaded mode.
Thanks,
F.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi