WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Add Object Event (https://forum.worldviz.com/showthread.php?t=509)

Vygreif 02-14-2006 06:03 PM

Add Object Event
 
Hi,
I know this is kind of an odd question, but I want to make a Vizard module that can be added to any program and autometicly makes a list of all the objects in the world. Is there a way to get an array of all the Objects in the world? Or a way to interrupt a viz.add call, as in a viz.interrupt?

Thanks,
YG

farshizzo 02-15-2006 09:40 AM

Hi,

I'm assuming by objects you mean all node3d objects? The following should return a list of all the current node3d objects in the world:
Code:

n = viz._GlobalNodeList.values()
What exactly are you trying to do?

Vygreif 02-15-2006 04:16 PM

I'm trying to make a module that will constantly record the position and orientation of all the objects in the world in an external file, and be able to play them back.


All times are GMT -7. The time now is 02:35 AM.

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