PDA

View Full Version : vizact.onkeydown(' ',lines.clearVertices) cannot be used in vizard 3.0?


Melody
09-25-2014, 03:33 PM
vizact.onkeydown(' ',lines.clearVertices) cannot be used in vizard 3.0?

Jeff
09-29-2014, 02:57 PM
No, <node3d: onthefly>.clearVertices() was added in Vizard 4.

Melody
09-29-2014, 05:48 PM
No, <node3d: onthefly>.clearVertices() was added in Vizard 4.

Is there any way to achieve this goal in vizard 3.0?

Jeff
09-30-2014, 04:03 PM
You could try removing the on-the-fly object and starting a new one.

Melody
09-30-2014, 05:21 PM
You could try removing the on-the-fly object and starting a new one.

It seems like the on-the-fly object is always a global one. I cannot create local on-the-fly-object. Actually, the function I wanna realized is to delete the graph and then continue creating. When I tried to use remove, the graph seems no longer visible.

Btw, if I upgrade vizard from 3.0 to 4.0 or 5.0. Is any compatibility problem going to happen? Can I still run phantom omni in it?

Jeff
10-01-2014, 11:17 AM
There are updates between major Vizard versions (i.e. Vizard 3 to 4, and Vizard 4 to 5), that could potentially break scripts. We have upgrade guides in both the Vizard 4 and 5 Help that document these changes. The following is a link to the Vizard 5 upgrade guide from our online documentation:

http://docs.worldviz.com/vizard/#Upgrade_guide.htm