On 19/08/2016 at 05:23, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ; PYTHON ;
---------
Howdy,
Can I create a function that has default parameters, so that the user can either pass that parameter or not and let the function use a default value?
In extending COFFEE, I can test the value of the integer parameter "argc" to see how many parameters were passed. But, it looks like for extending python, only pointers are passed, and in the examples you posted, the "args" parameter is simply being forwarded to the ParseTupleAndKeywords() function. Does that parameter point to an argument count?
Adios,
Cactus Dan