WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Multiple Environments (https://forum.worldviz.com/showthread.php?t=88)

bstankie 11-17-2003 08:31 AM

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

farshizzo 11-17-2003 10:49 AM

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.


All times are GMT -7. The time now is 08:54 AM.

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