- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys!
I developed some working code within VRED, using API v1 and v2. Now i want to place it somewhere on a central place, and the users just import it from there, which makes maintaining the code very easy.
I instantly have the following problem: the code imported by a "from importtest import" doesn't know any of the VRED API commands.
For the APIv1 commands i could fix it by importing a certain module, like for findNode() i have to use "from vrScenegraph import *" in my module (which is not undocumented but working).
But for the APIv2 there are no modules like "vrd*Service" which i can import, so i can't use all of these vrd*Service modules to find nodes, make annotations and so on.
Is there a nice way to get rid of all of this?
Thank you in advance!
Solved! Go to Solution.