invisible ExpressionTag



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

    On 08/11/2002 at 16:59, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.012 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    How can I add an invisible ExpressionTag to an object? Is it possible to set an invisible ExpressionTag from another plugin?
    Thanks.



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

    On 10/11/2002 at 06:46, xxxxxxxx wrote:

    Quote: Originally posted by 3D Designer on 08  November 2002
    >
    > * * *
    >
    > How can I add an invisible ExpressionTag to an object? Is it possible to set an invisible ExpressionTag from another plugin?
    If by expression tag you mean C.O.F.F.E.E. expression tag (the one's where you enter a script from C4D) then it's impossible. They're always visible.
    If you mean your own plugin expression tag then you can make all instances invisible by returning FALSE in PluginTag::DisplayAllowed(). There's no way to only make some instances invisible.



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

    On 10/11/2002 at 07:35, xxxxxxxx wrote:

    If you mean your own plugin expression tag then you can make all instances invisible by returning FALSE in PluginTag::DisplayAllowed(). There's no way to only make some instances invisible.
    Maybe I asked wrong. I didn´t mean how to make it invisible but rather where to find the invisible expression tag to add it. I mean it is not listed in the New Expressions menu in C4d nor in the New Tag menu. How can I add something I cannot choose from a menu cause it is not there or rather invisible? And more important how can I add the expression tag (yes it is my own one) from another plugin of my own?
    Hope that was clearer.
    thanks
    Samir



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

    On 10/11/2002 at 08:04, xxxxxxxx wrote:

    Quote: Originally posted by 3D Designer on 10  November 2002
    >
    > * * *
    >
    > Maybe I asked wrong. I didn´t mean how to make it invisible but rather where to find the invisible expression tag to add it. I mean it is not listed in the New Expressions menu in C4d nor in the New Tag menu. How can I add something I cannot choose from a menu cause it is not there or rather invisible?
    Of course the user cannot add an invisible tag. That would be pretty bad UI since it would be impossible to remove.
    > And more important how can I add the expression tag (yes it is my own one) from another plugin of my own?
    Just like you add a visible tag. Create an instance of your class and call object-InsertTag().


Log in to reply