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

How to access node attr "Apply" in the animCurve node via Python?

1 REPLY 1
Reply
Message 1 of 2
mjao
202 Views, 1 Reply

How to access node attr "Apply" in the animCurve node via Python?

I was wondering what this "Apply" attribute does in this node, and how I would be able to access it via Python scripting? Would it simply be able to return me the value of the curve at any given time X?

 

 

1 REPLY 1
Message 2 of 2
mjao
in reply to: mjao

cmds.getAttr("pSphere1_translateX3.apply")

# Error: The data is not a numeric or string value, and cannot be displayed. #

I get this error if I try to run a getAttr(). I want to be able to use this to quickly sample a curve's values, but through script.

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

Post to forums