![]() |
|
#1
|
|||
|
|||
How to fix the error in link demo in Teacher in a book
I found that the link does make an error the following:
Traceback (most recent call last): File "<string>", line 11, in <module> File "C:\WorldViz\teacher in a book demos and examples\teacher in a book code snippets (R4)\p44_example.py", line 46 head_bone = male.getBone( 'Bip01 Head' ) ^ SyntaxError: invalid syntax I know that viz.eyeheight(0) makes an error also. My code in page 46 in Teacher in a Book is as follows: #Link the view to the male's head. head_bone = male.getBone( 'Bip01 Head' ) view_link = viz.link( head_bone, viz.MainView ) #Set the eyeheight at 0 (so the default #eyeheight is not added to the data). viz.eyeheight( 0 ) |
#2
|
|||
|
|||
I fixed the error.
Just before, I have fixed error.
Due to missing the right parenthesis in the previous statement. Thanks. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with File Reading/Writing | Lynnifer | Vizard | 2 | 03-12-2012 06:51 AM |
Closing of an imported .py file | Uttama_vizard | Vizard | 2 | 05-04-2010 06:18 AM |
IVEx file extenstion unrecognised. | sindi | Vizard | 2 | 12-10-2009 01:20 AM |
Read file....many issues | Uttama_vizard | Vizard | 9 | 07-08-2008 02:16 PM |
File Management | Uttama_vizard | Vizard | 2 | 07-01-2008 09:44 AM |