WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-05-2007, 02:58 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
hd in Vizard3.0

Hello. When I run my old code from Vizard 2.5 using the hd with just
these simple lines:


import hd


box = viz.add('box.wrl')
hd.add(box)


The program crashes, with the error:


** ERROR: Failed to load plug-in: 'hd2.dlm'
Loading File: box_textured.wrl
Traceback (most recent call last):
File "<string>", line 11, in ?
File "test.py", line 22, in ?
** Load Time: 0.73 seconds
Scaling image 'beige.jpg' from (120,120) to (128,128)
hd.add(box)
File "C:\Program
Files\WorldViz\Vizard30\python\hd.py", line 244, in add
node._hapticID_ = _hd_.get()[0]
IndexError: list index out of range"



Now I can solve the problem by simply copying and pasting the hd.py from
the python folder in Vizard2.5 into the python folder in Vizard3.0. Is
this an error in the hd file? Should it be replaced?


Thanks!
Maria
Reply With Quote
 


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 02:30 PM.


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