CustomNode wrapping in python
Hi all,
(I'm using the Vizard 4.0 beta) I'm trying to write a wrapper around a customnode plugin I created following the example in the SDK. I'm new to Python however, and this is proving difficult. I have the wrapper in a separate module, "DNstimuli.py" (this pretty much follows code for a sensor wrapper that I found on the forum): Code:
import viz Code:
import viz Code:
Traceback (most recent call last): Thank you for the advice and help in getting me started with this part of the job! Best, Dee |
Ok, it turns out I had to use
viz.upgradeCustomNode('customnode.dlc',DNStimuli) instead of viz.upgradeCustomNode('customnode',DNStimuli) Didn't think of trying that as the other thread specifically said to take off the extension maybe that was old info) |
All times are GMT -7. The time now is 02:25 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC