PDA

View Full Version : Invalid object in resource window


Chapre
09-09-2010, 06:05 PM
Hello!
When I load vizard builtin object ex "duck=viz.add('duck.ive') ", a green box appears on the vizard resource widow. I can then view the object content under property.
But when I Ioad my own object, a red cross appears on the resource window and I can't view its content. Help please!

Jeff
09-10-2010, 10:44 AM
Have you specified the correct path for the model? The path does not need to be specified for Vizard's resources because Vizard automatically searches within the resources folder of the installation. Vizard will also search the current directory of the script but if it is not in either of these locations and the path is not specified the resource will not be found.

Chapre
09-10-2010, 01:20 PM
Thanks it works now when I put all the resource in the script folder, I had my resources in a subfolder I used "viz.res.addPath" to adress the subfolder, but I still couldn't view object contents