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).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/09/2010 at 15:25, xxxxxxxx wrote:
User Information: Cinema 4D Version: R12 Platform: Language(s) :
--------- What is a good way of taking care of your plugin history? As a hard core coffee man I've used try() and Catch() to set old versions to default values not present.
Now in Python that might be helped by C++ techniques, do you hide old versions (ID's) and simply let the new "take over" or is there a common way of doing it within the plugin?
Cheers Lennart
ps. maybe time for a Python option in the topic language? ds.
On 09/09/2010 at 07:20, xxxxxxxx wrote:
Hi tcaststudios,
Python also supports try, catch. This might work in proper cases but the best solution IMHO is the use of decorators in Python. With decorators you can redirect function calls and implement a version dependency.
Cheers, Sebastian
On 09/09/2010 at 08:04, xxxxxxxx wrote:
Thanks, will look at that.