View Settings

On 18/07/2014 at 06:59, xxxxxxxx wrote:

I'm trying to write a script which can change some view settings automatically. 
What I need: I need to change projection settings to "Front view" and make it "used as render view".

I was able to make the first part work:
data = doc.GetActiveBaseDraw()

But I've got no idea how to make the second part work. Please Help ME! 😃

On 18/07/2014 at 07:43, xxxxxxxx wrote:

You could use a call Command.

c4d.CallCommand(13931) # Use as Render View

On 18/07/2014 at 07:51, xxxxxxxx wrote:

Thank you! I think it will work. 
But I've got one more queation: is there a list of all command IDs?

On 18/07/2014 at 08:20, xxxxxxxx wrote:

Shift + F12

Then click on an entry and you see the command id below

On 18/07/2014 at 08:25, xxxxxxxx wrote:

Thank you guys!

You've sorted my problem out! 🙂