IN_EXCLUDE for Selection tags?



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

    On 16/11/2008 at 10:40, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R9-R11 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    I want to allow users of my plugin object to be able to use any number of Point and/or Polygon Selection tags to restrict the scope of my deformer plugin object (Restriction tags, ironically, are too *restricted* by only allowing a fixed number and one tag per deformer).

    Would the IN_EXCLUDE description work in this respect?

    Thanks,



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

    On 16/11/2008 at 11:58, xxxxxxxx wrote:

    That seems to work well. Now for the nasty part. I see that in spherify.cpp, if there is a Restriction tag it then calls CalcVertexMap() which I suspect is how a single deformer can work on multiple objects (under a Null object) even with restrictions set by selection tags from both objects.

    I assume that my IN_EXCLUDE list won't work in the same way at all. The first solution to come to mind would be to use my list to populate an additional Point or Polygon selection tag which accumulates all of the selections for use in a Restriction tag (which could be added programmatically to my deformer plugin object). This would avoid the Restriction tag limitation.

    Going too far, just right, better way?


Log in to reply