Autodesk · Arazzo Workflow
Autodesk Upload and Translate a Model for the Viewer
Version 1.0.0
Create an OSS bucket, upload a design file, translate it to SVF2, and poll the manifest until it is viewable.
View Spec
View on GitHub
Fortune 10003D ModelingArchitectureBIMCADConstructionDesignDigital TwinsEngineeringManufacturingMedia and EntertainmentSustainabilityArazzoWorkflows
Provider
Workflows
upload-and-translate-model
Take a design file from local disk to a Viewer-ready SVF2 derivative.
Creates a bucket, uploads the source design, starts an SVF2 translation, waits for the manifest to report success, and resolves the viewable GUID. The URN the translation job consumes is the URL-safe Base64 encoding of the objectId returned by the upload step; that encoding is performed by the client between the upload and translation steps and is supplied here as an input.
1
createStorageBucket
createBucket
Create the OSS bucket that will hold the source design. Bucket keys are global across all of APS, so a 409 here means the key is already taken.
2
uploadDesign
uploadObject
Upload the source design file into the bucket. The objectId returned here is the URN that Model Derivative translates, once Base64 encoded.
3
startTranslation
startJob
Start a Model Derivative job that translates the uploaded design into SVF2 with both 2D and 3D viewables. Returns 200 when a matching derivative already exists and 201 when a new job is accepted.
4
awaitTranslation
getManifest
Poll the manifest until translation reports success. The manifest returns 200 while the job is still pending or inprogress, so the terminal state is read from the body rather than the status code. Ends the workflow if translation fails or times out.
5
resolveViewable
getMetadata
Read the model views produced by the translation. The GUID of a viewable is what the Viewer, the object tree, and the property queries are all addressed by.
Source API Descriptions
openapi