This SVG path works fine, as it loads the SVG:
- Code: Select all
path: "/Aircraft/A380/Models/Instruments/SD/fuel/fuel.svg",
But unfortunately, this doesn't:
- Code: Select all
sd.objects.createChild("image")
.setFile("/Aircraft/A380/Models/Instruments/SD/fuel/fuel_raster.png")
.setSize(100, 200)
.setTranslation(200, 400);
The image is a PNG image.
NOTE - The A380 is in a separate aircraft directory with just my projects, does that affect this?