WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-14-2006, 06:03 PM
Vygreif Vygreif is offline
Member
 
Join Date: Sep 2005
Posts: 21
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
Reply With Quote
  #2  
Old 02-15-2006, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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?
Reply With Quote
  #3  
Old 02-15-2006, 04:16 PM
Vygreif Vygreif is offline
Member
 
Join Date: Sep 2005
Posts: 21
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.
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


All times are GMT -7. The time now is 05:49 AM.


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