I tried the normal import function (Export works but import does not work):
ExportFile filePath FileFormat:#USD Lights:false Cameras:false contentSource:#selected
(V)ImportFile filePath FileFormat:#USD Lights:false Cameras:false contentSource:#selected
(X)I tried the USDImporter function (But it returns 0)
:USDImporter.importFile "X:\Filepath\Filename.USD"
Here is the documentation:https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXScript_USD_UsdImporter_htmlCan someone help me? Thanks!
Replies
USDImporter.importFile
opts = USDImporter.CreateOptions()
USDImporter.importFile myfile importOptions:opts