Start parameters and automatisation
-
On 08/10/2014 at 08:28, xxxxxxxx wrote:
Hi all,
is there a way to start CINEMA and let it always import a named File and then start some commands?
Someshing like this:"CINEMA 4D R16.EXE -import:import.stl -skript:template.py -layout:client.l4d"
1. Start Cinema
2. Start with a special Layout (this i found in Documentation -layout)
3. import an STL-file
4. start a Plugin
5. Render and save the result (this i found in Documentation)Thanks to All
Ronald -
On 10/10/2014 at 03:28, xxxxxxxx wrote:
Hi,
ist there no one who can help me ore give an advice?
Thanks -
On 10/10/2014 at 04:48, xxxxxxxx wrote:
Hi
You can capture command line arguments in your plugin with pluginMessage: http://goo.gl/xdhSPhimport c4d import sys def PluginMessage(id, data) : if id==c4d.C4DPL_COMMANDLINEARGS: print str(sys.argv) #print arguments return True return False
Cheers
Bonsak