[Closed] How to assign Controllers to a CA Param
So I am using a Custom Attribute for a plugin and I need to know how to save controllers as a CA parameter. Currently I add a bunch of options and scene nodes into the attribute with arrays as strings and the nodeTransformMonitor for the actual object. I figured its gonna have to be a mix of the string and nodeTransformMonitor combined.
To simplify I’m looking for the equivalent of “Assign Controller” from a script controller and apply that to a Custom Attribute. Any ideas?
That leads me to my second question. I usually append the node using the code
append TestArray (nodeTransformMonitor node:obj forwardTransformChangeMsgs:false)
How would I go about in appending the controller? Or is it just a straight forward
append TestArray Controller
Also does anyone know how I would go about using
trackview.pickTrackDlg()
so that i could add them to my array.
the mxs help about Track View Pick Dialog is pretty clear. i don’t know what to add
if you need an array of controllers use #maxObjectTab type parameter. and just append a controller to it