PDA

View Full Version : Multiple Environments


bstankie
11-17-2003, 08:31 AM
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:
object = viz.add('world.wrl')
.
.
.
object.remove()
That should work fine, let me know if you are having problems with it.