THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/12/2012 at 17:25, xxxxxxxx wrote:
I'm trying to run R13 with -nogui and have a plugin dynamically generate some C4D files at startup (and then shutdown).
The docs say to implement PluginMessage; check if the ID is equal to C4DPL_COMMANDLINEARGS and then use sys.argv.
However, when I tried to do that only an error is raised:
AttributeError
'module' object has no attribute 'argv'
So... how do I access the command line arguments given to the executable? (This is on Windows, BTW.)