WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 09-24-2009, 01:26 PM
JimC JimC is offline
Member
 
Join Date: Jun 2009
Posts: 42
Question 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...
Reply With Quote
  #2  
Old 09-24-2009, 01:36 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 09-24-2009, 01:44 PM
JimC JimC is offline
Member
 
Join Date: Jun 2009
Posts: 42
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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to Geometry Data in a c++ plugin for vizard. xabbu Plug-in development 1 01-16-2009 04:14 PM
How to access scene information in a C++ modifier m7ossny Plug-in development 1 03-23-2007 12:02 PM
Direct access to phantom omni data vsully Vizard 1 03-14-2006 10:44 AM
dynamic access of avatar location valhalla Vizard 1 09-13-2004 09:28 PM
Getting access to the eyes of CFG avatars bailenson Vizard 1 06-18-2004 05:55 PM


All times are GMT -7. The time now is 03:30 AM.


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