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

query current time in expressions

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
corvidstudios
1090 Views, 3 Replies

query current time in expressions

Hello,

 

I'm trying to query the current time in an expression and am typing: 

$frame = currentTime -query;

 

its coming up with "attribute not found or variable missing '$': query". Any ideas?

 

cheers,

Andrew

3 REPLIES 3
Message 2 of 4
mspeer
in reply to: corvidstudios

Hi!

 

$frame = `currentTime -query`;
Message 3 of 4
corvidstudios
in reply to: mspeer

thanks mspeer!

Message 4 of 4

Also if anyone sees this and gets a syntax error, the symbols he used are `(just above the tab key for windows), not '.

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

Post to forums  

Autodesk Design & Make Report