Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

SDK via mel?

SDK via mel?

Amit_Karny_עמית_קרני
Advocate Advocate
353 Views
3 Replies
Message 1 of 4

SDK via mel?

Amit_Karny_עמית_קרני
Advocate
Advocate

Hi there,

I do have two groups: "BG" and "HT"

I'd like to make set driven key via mel that makes like that:

when  HT's  visibility is on  - then the BG's is off

i dont know where shell i put the driven flags and values...

 

setDrivenKeyframe -cd HT -at HT.visibility -dv 1 -at BG.visibility -v 0;
0 Likes
Accepted solutions (1)
354 Views
3 Replies
Replies (3)
Message 2 of 4

mcw0
Advisor
Advisor
Accepted solution

setDrivenKeyframe -cd HT.visibility -dv 1 -v 0 BG.visibility;

0 Likes
Message 3 of 4

mcw0
Advisor
Advisor

Is there a reason you want to use a setDrivenKey for this relationship?  You can use a reverse node to do the same thing.  Less work...in my opinion.  🙂

0 Likes
Message 4 of 4

Amit_Karny_עמית_קרני
Advocate
Advocate

I have to do by 103 ma scenes... thanks alot!

0 Likes