Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
filePath = (maxfilepath + trimRight (maxFileName) ".max" + "\\" + "final.usdz")
opt = USDExporter.CreateOptions()
opt.reset()
opt.FileFormat = #usdz
opt.Lights=false
opt.Cameras=false
ExportFile filePath #noPrompt exportOptions:opt selectedOnly:true
This gives me an error unless I export the file manually first.
UsdExporter error : #binary or #ascii are not valid file formats for the ".usdz" extension, consider using #usdz instead.
I think it has something to do with the file needing the .usdz extension before it can export a usdz. Anyone have any ideas on how to get around this?
Solved! Go to Solution.