Scripting

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/02/2011 at 09:35, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   12 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Is it possible to allow users to use python or coffee to extend on our own plugins.  For example if I have a sphere in the scene, could I allow users to add scripting commands to a dialog and have the sphere respond based on what they wrote?
 
Thanks in advance.
 
~Shawn

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/02/2011 at 12:39, xxxxxxxx wrote:

I am not sure, if I understood your question right, maybe the MessagePlugin class is what you search. :)

cheers, nux

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/02/2011 at 15:37, xxxxxxxx wrote:

I mean I want to write a plugin that can ultimately be enhanced through python or coffee..  meaning I want users to be able to write scripts that add new functionality to my plugin.  Is this possible?

~Shawn

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/02/2011 at 02:43, xxxxxxxx wrote:

It should be possible through the COFFEE library although I have never tried myself. I don't know about Python though. I will see if I can get some more information.

cheers,
Matthias