Notifications
Clear all

[Closed] Query wire parameters expression, is it possible?

 eks

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 I’ve 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
 eks
$.rotation.track[#Orientation_Weight_0].controller.getExprText 1
$.rotation.track[#Orientation_Weight_0].controller.setExprText 1 "Z_Position*10"

asd