WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-09-2016, 01:11 AM
rajnishv rajnishv is offline
Member
 
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Regarding reloading methods called earlier

Hi Jeff,
Pls assist me for the follwing problems i m facing:
1)I have 1 single script-combinedRunwallScript.py
2)I have used event class for the SENSOR_DOWN_EVENT with a count variable,incremented for every new function load.

3)The functionality is as follows:-
a)On wand SENSOR_DOWN_EVENT i will be moving to topview,with count=1
b)On again wand SENSOR_DOWN_EVENT i will be moving to floorview,with count=2
c)On again wand SENSOR_DOWN_EVENT i will be moving to clubhouse,with count=3
d)The problem is here,On count=3,i m setting count=1,so that the floor view again gets loaded from clubhouse and same again i can switch back from floor view to clubhouse.I m not getting the exact solution for the problem.

Note:I want to the same can also be applied back from floor view topview,
floor view to hospital,again back from hospital to floorview and same for other switches for school and malls.

Pls assist me and i want to know is there any problem with python vizard if a vizconnect or method get loaded it cannot be referenced again back?

I m attaching the the single combined script for the reference.
Pls assist me for how to proceed further.
It would be a great pleasure if u can send me updated code rference which can do trick for me..

Waiting for ur reply.
Thanx & Regards

Mr.Rajnish Vishwakarma
Attached Files
File Type: zip combinedRunwallScript.zip (3.2 KB, 731 views)
Reply With Quote
  #2  
Old 05-09-2016, 02:48 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The following forum thread has example code for switching between vizconnect viewpoints:

http://forum.worldviz.com/showthread.php?t=5579
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 11:38 AM.


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