WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Excel to Vizard (https://forum.worldviz.com/showthread.php?t=4318)

Marwan.said 08-13-2012 06:59 AM

Excel to Vizard
 
Hello Everyone,

I have a question on how to read data from excel to vizard. Now, I have X,Y and Theta data in excel and I want to read them in Vizard. Then, I want to take these data and use them for moving an object in Vizard. Can anyone help me on this?

I have already looked at this article but it does not show me how to read specific rows and columns in the excel sheet. http://kb.worldviz.com/articles/1660

Thanks,

Marwan

nabrahamson 08-14-2012 08:32 AM

In the link you provided, there is another link to the xlwt api documentation. If you download the pdf they provide (here http://www.simplistix.co.uk/presenta...thon-excel.pdf ), you can find an example of how to do this on page 7.

rogerlew 01-22-2013 10:28 AM

Maybe you could read the Excel file into a Python data structure (dictionary of lists or dictionary of Numpy arrays) and then reference the Python data structure to move your object in Vizard. Would take out the hassle of having to reference specific rows and columns and might make your code more flexible if you want to change things in the future.

Roger


All times are GMT -7. The time now is 07:30 AM.

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