WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   switching between scenes (

david 06-19-2003 11:07 AM

switching between scenes

I am trying to switch between different scenes in vizard but even with the very basic following lines I do not see anything on the screen. What is the correct way to use the setscene command?____________________________
import viz

a = viz.addchild('tut_sphere.wrl',1)


farshizzo 06-19-2003 11:20 AM

Hi David,

The second argument of the addchild command is the anchor, the third argument is the scene. So in your case you need to do

a = viz.addchild('tut_sphere.wrl',viz.WORLD,1)

Hope that helps,


david 06-19-2003 11:26 AM

Hi farshid,

Thanks for your answer, I did not know that the [anchor] argument was necessary


david 07-01-2003 12:02 PM

Can't use a scene number higher than 2

I tried using scene number between 3 and 6 but vizard simply crashes... Any thoughts?


mspusch 07-01-2003 06:05 PM

Hi David,

Sorry about that. It is already fixed in the newest version.

All times are GMT -7. The time now is 12:41 PM.

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