Open libvarun opened 4 years ago
Complex files should be translated by asking root file name like in forge-rcdb
https://github.com/Autodesk-Forge/forge-rcdb.nodejs/blob/89e2e0af1d87e3b948cb66bc88f54140c6e8a0e8/src/client/components/Viewer/Extensions/Dynamic/Viewing.Extension.DataManagement/DMUploader/DMUploader.js#L77
https://github.com/Autodesk-Forge/forge-rcdb.nodejs/blob/89e2e0af1d87e3b948cb66bc88f54140c6e8a0e8/src/server/api/services/ExtractorSvc.js#L326
Currently it relies on a naming convention: .zip, e.g. myassembly.iam.zip
Complex files should be translated by asking root file name like in forge-rcdb
https://github.com/Autodesk-Forge/forge-rcdb.nodejs/blob/89e2e0af1d87e3b948cb66bc88f54140c6e8a0e8/src/client/components/Viewer/Extensions/Dynamic/Viewing.Extension.DataManagement/DMUploader/DMUploader.js#L77
https://github.com/Autodesk-Forge/forge-rcdb.nodejs/blob/89e2e0af1d87e3b948cb66bc88f54140c6e8a0e8/src/server/api/services/ExtractorSvc.js#L326