Toggle Viewport Solo On/Off with a script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  02 February 2018
Toggle Viewport Solo On/Off with a script


By default, you'd have to go on two keys. One is to enable it and the other to turn it off.
I would like to have it in one script. Where it goes like this

(1) Determine if viewport solo is turn on;
(2) if it is, turn it off.
(3) else, turn it on.

The problem I have is I can't find the command in Python documentation. The script console gives me this:

  c4d.CallCommand(431000059, 431000059) # Viewport Solo Single
  c4d.CallCommand(431000058, 431000058) # Viewport Solo Off

I cannot find the command431000059 and431000058 in the python documentation.
Is there a way around this?

Thank you.
  share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:58 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.