autodesk model derivative – Very slow load on APS viewer
I have Revit models which are around 600-700 mb. When I view them in ACC, they take less than 10 seconds to fully load and render all geometrical elements on the viewer. But when I view them in my APS application they take around 2 minutes to load. I know that there can be load time differences but 2 minutes is huge next to 10 seconds.
This is my code:
const { ModelDerivativeClient,ConversionMethod,View,Type } = require("@aps_sdk/model-derivative");
const urn = req.body.objectName;
const svfPayloadFormat = {
views: [View._2d, View._3d],
type: Type.Svf2,
// advanced: { _2dviews: Model2dView.Legacy, generateMasterViews: true, extractorVersion: ExtractorVersion.Next }
};
const JobPayload = {
input: { urn: urn, compressedUrn: false }, //, rootfileName: '<>'
output: {
formats: [svfPayloadFormat],
}
};
try {
const job2 = await modelDerivativeClient.startJob(req.oauth_token.access_token, JobPayload);
// console.log(job2.result);
return job2.result;
} catch (error) {
next(error);
}
-
I use Svf2
-
Added ?useOPFS=true at the end of my application link
-
My viewer version is v7.114.0
Why there could be this much difference ? Are there improvements that I can make ?
Read more here: Source link
