Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 18/07/2014 at 06:59, xxxxxxxx wrote:
Hello! 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() data[c4d.BASEDRAW_DATA_PROJECTION] = 4
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!