WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Plug-in development (https://forum.worldviz.com/forumdisplay.php?f=8)
-   -   Access to VizCustomNodeObj::data (https://forum.worldviz.com/showthread.php?t=2283)

JimC 09-24-2009 12:26 PM

Access to VizCustomNodeObj::data
 
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 12: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 12: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...


All times are GMT -7. The time now is 04:11 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC