How to set my tag to be Camera Dependent?



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

    On 05/08/2012 at 06:13, xxxxxxxx wrote:

    I already set the res file to include the Texpression base.
    This makes the Basic tab of my tag show the priority fields and the Camera Dependent checkmark. But it is off and I have to turn it on by hand.
    How can I make my tag turn it on when it is created?
    I know it has something to do with SetPriorityData(c4d.PRIORITYVALUE_CAMERADEPENDENT,true) but where and to what do I apply it?

    Rui Batista



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

    On 05/08/2012 at 16:58, xxxxxxxx wrote:

    Ok, after many, many trial and error, I finally got it :-)

    priority=c4d.PriorityData()
    priority.SetPriorityValue(c4d.PRIORITYVALUE_CAMERADEPENDENT,True)
    node[c4d.EXPRESSION_PRIORITY]=priority



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

    On 05/08/2012 at 17:13, xxxxxxxx wrote:

    Thanks, good to know!

    Cheers
    Lennart


Log in to reply