PDA

View Full Version : Access to VizCustomNodeObj::data


JimC
09-24-2009, 01:26 PM
Is the float* data member of VizCustomNodeObj read-only from the Python side? I see a get() method in the docs that presumably returns it to the Python script, but no corresponding set() method...

farshizzo
09-24-2009, 01:36 PM
Yes, the Python script only has read access to the float array. However, you can send commands to the plugin using the node.command() method.

JimC
09-24-2009, 01:44 PM
OK, thanks. So if my plugin has e.g. 8 parameters I would set them using two calls to command() with different values for mesg...