PluginTag methods



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

    On 16/11/2003 at 11:02, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.100 
    Platform:      
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi,

    I'm tryiing to write a Plugin Tag in COFFEE, and I'm not sure how to implement the Copy() method.

    The reference literature says I only need to overload this function if I want to use custom variables in the derived tag. What exactly does "custom variables" mean here?

    If I have:

      
    class MyPluginTag : PluginTag  
    {  
    private:  
        var myVar;  
        ...  
    

    Then does "myVar" count as a custom variable?

    Perhaps it would help if there is an example of this type of plugin somewhere.

    And one more question: Is it possible for a plugin tag to display its dialog items in the attribute manager, or is that only possible for the built-in tags ( Phong, etc.)?

    Hope someone can help!



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

    On 21/11/2003 at 08:40, xxxxxxxx wrote:

    Custom variables are non-container variables (items that are not stored in the tag's basecontainer. myVar e.g. is a custom variable.
    COFFEE tags cannot be displayed in the attribute manager right now.



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

    On 21/11/2003 at 10:48, xxxxxxxx wrote:

    Thanks for that.

    The penny is starting to drop, I think.


Log in to reply