I have loaded multiple Revit files in Autodesk Forge viewer. Now I want to export a single SVF or Revit file (Merged all model contents into a single file) from the viewer.
Could you please help me to solve above problem?
I have loaded multiple Revit files in Autodesk Forge viewer. Now I want to export a single SVF or Revit file (Merged all model contents into a single file) from the viewer.
Could you please help me to solve above problem?
Sorry, the viewer is used to viewing models only. It doesn't have the capabilities of editing or generating models, unfortuantely. So, I'd advise you to do the following:
curl --location --request POST 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job' \
--header 'Authorization: Bearer \
--header 'Content-Type: application/json' \
--data-raw '{
"input": {
"urn": "{URN_OF_THE_ZIP}",
"compressedUrn": true,
"rootFilename": "host_rvt_filename.rvt"
},
"output": {
"formats": [
{
"type": "svf",
"views": [
"2d",
"3d"
]
}
]
}
}'