WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-07-2009, 02:01 AM
sindi sindi is offline
Member
 
Join Date: Dec 2009
Location: Pretoria
Posts: 3
Send a message via MSN to sindi Send a message via Skype™ to sindi
Cool IVEx file extenstion unrecognised.

Can anyone assist? I am currently learning vizard using the teacher in a book tutorial and experiencing a problem with images that have an IVEx extenstion , vizard 3.0 currently installed in my desktop cannot recognise the file extension.

This is the code I was running:
The original code is on page 27 of "Vizard Teacher in a book"

import viz
viz.go()
#Put the viewpoint in a good point to see the texture squad
viz.MainView.setPosition(0,.68,-1.3)
#Add a model and grab one of its children to put textures on
model = viz.add('art/window.IVEx')
window = model.getChild('glass')

Here is the error shown by vizard:

Traceback (most recent call last):
File "<string>", line 11, in ?
File "Modelling.py", line 8, in ?
model = viz.add('art/window.IVEx')
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 8320, in add
raise ValueError, 'Unrecognized file extension: '+fileType
ValueError: Unrecognized file extension: IVEX

Could you please advise me how to go about enabling Vizard to recognise the IVEx file extension.
Reply With Quote
  #2  
Old 12-08-2009, 03:49 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
These are encrypted files not meant to be edited or used in other programs. If you want to use the resource in another Vizard script don't include the x in the file extension. For example:
Code:
import viz
viz.go()

window = viz.add('art/window.ive', pos = [0,1,3])
Reply With Quote
  #3  
Old 12-10-2009, 01:20 AM
sindi sindi is offline
Member
 
Join Date: Dec 2009
Location: Pretoria
Posts: 3
Send a message via MSN to sindi Send a message via Skype™ to sindi
Hi JJeff I am still getting the same error :

Loading File: art/window.ive
Warning: could not find file "art/window.ive"
** Load Time: 0.34 seconds
** ERROR: Failed to load 'art/window.ive'
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with output to a text file within executable Saz Vizard 1 07-01-2009 11:01 AM
Problem generating exe file Anfo Vizard 1 11-17-2008 04:21 PM
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
file input vsully Vizard 1 12-21-2004 10:51 PM


All times are GMT -7. The time now is 07:02 PM.


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