wire parameters scripting

I'm attempting to wire the world positions of one helper through an exposeTransforms helper to the positions of another helper, and I don't know what this error message means.

paramWire.connect $ExposeTransform01.baseObject[#Expose][#World_Position_Z] $Point02.pos.controller[#Z_Position] "World_Position_Z"

-- No ""get"" function for undefined

How do I fix this?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Foreshore's picture

I know it was sometime ago

I know it was sometime ago you posted this question. But if your still interested, this is what i did, on my script and it works ...

First name the two objects and then call them in paramwire.

A = $ExposeTransform01.baseObject[#Expose][#World_Position_Z]
B = $Point02.pos.controller[#Z_Position]
paramWire.connect A B "World_Position_Z"

Bye
Foreshore

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.