Morph Tag [SOLVED]

On 12/12/2014 at 08:53, xxxxxxxx wrote:

I have a lot of morphs in my scene that I enable and disable. My problem is I want to get to their "Priority" options via python.

I get this [c4d.EXPRESSION_PRIORITY]

I tried every thing but I cant get to set it.

On 12/12/2014 at 09:11, xxxxxxxx wrote:

Hello,

a priority parameter contains PriorityData so you have to assign a object of that type:

  
          priority = c4d.PriorityData()  
          priority.SetPriorityValue(c4d.PRIORITYVALUE_MODE, c4d.CYCLE_GENERATORS)  
            
          tag[c4d.EXPRESSION_PRIORITY] = priority  

You find some example in the Py-LookAtCamera example.

Best wishes,
Sebastian

On 12/12/2014 at 09:17, xxxxxxxx wrote:

Thanks Sebastian for all your help.

I just wish they would put more examples in the SDK  😢