Notifications
Clear all
[Closed] Query wire parameters expression, is it possible?
Jul 11, 2012 12:07 pm
Say I have a rig with wire parameters that were created like:
paramWire.connect c.pos.controller[#Z_Position] o.rotation.controller[#Orientation_Weight_0] "Z_Position"
I need to edit the expression to be Z_Position*10 only. I can go through all controllers on the scene and overwrite the wiring with that, but what if I have other expressions?
Is there a way to read/check for that Z_Position?
So far Ive found
$.rotation.controller[#Orientation_Weight_0].controller.slaveAnimation
But that returns only the controller the Orientation_Weight_0 is attached to, not its expression. How to query/check for the expression of a wire parameter with MaxScript?
1 Reply
Jul 11, 2012 12:07 pm
$.rotation.track[#Orientation_Weight_0].controller.getExprText 1
$.rotation.track[#Orientation_Weight_0].controller.setExprText 1 "Z_Position*10"
asd