Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK via mel?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Amit_Karny_עמית_קרני
258 Views, 3 Replies

SDK via mel?

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;
3 REPLIES 3
Message 2 of 4

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

Message 3 of 4

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.  🙂

Message 4 of 4

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report