WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Vizard 5: ** ERROR: Failed to load model (https://forum.worldviz.com/showthread.php?t=6214)

tokola 12-05-2018 06:36 AM

Vizard 5: ** ERROR: Failed to load model
 
Hi,

all of the sudden my modules do not recognize the relative path where I've stored my models. It's just one level down from the .py files but the files are not found by the commands (e.g., viz.addChild('models/model.ive'))
They only worked when I moved them in the Vizard>Resources folder but, of course, this is not a permanent solution.

Any ideas?

Jeff 12-05-2018 08:51 PM

Are you able to reproduce this issue with a simple script?

Code:

import viz
viz.go()
model = viz.addChild('model/model.ive')

Are you able to open up the model file in Inspector?


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

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