WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-17-2003, 08:31 AM
bstankie bstankie is offline
Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 16
Multiple Environments

We are currently designing an experiment in which a subject will be run in multiple environments within a block. We can easily add the first environment, but is there a way to "remove" this vrml environment so that we can add another environment on the next wayfinding task?

I looked everywhere for delete or remove, but there doesn't seem to be this type of function.

We have tried to simply Add the child over the old child, but it hangs.

Any help would be appreciated.



Thanks,
Brian
__________________
--
Brian J. Stankiewicz, Ph.D.
Department of Psychology &
Center for Perceptual Systems
University of Texas
http://stankiewiczlab.psy.utexas.edu
Reply With Quote
  #2  
Old 11-17-2003, 10:49 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi Brian,

All child objects have a remove command, which permanently deletes the object. Example:
Code:
object = viz.add('world.wrl')
.
.
.
object.remove()
That should work fine, let me know if you are having problems with it.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 09:13 PM.


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