I've been trying to use the Post references (https://developer.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-references-POST/) to set up the reference between two files in forge but although I get a message "success" as result when I try it on the forge viewer I still see the files separately even after I translate the models. Has someone been through the same issue?
相关问题
- Model Derivative API Post Job - 400 Bad Request “I
- Forge Viewer loading multiple Revit models with sh
- How can I load only specifc objects in the forge v
- Upload linked Revit models for Forge Viewer
- JS error on Chrome (with Device Toolbar enable)
相关文章
- How to resize on object - Autodesk Forge Viewer
- How to Show/View or Read .dwg files on browser
- Autodesk Viewer: Suggestions for 2D view of floor
- Decals not displaying in Autodesk Viewer
- Default Navigation speed in Forge Viewer
- Autodesk Forge viewer renders only single page for
- Getting webGL error in autodesk viewer
- How to set custom properties for an object via its
@Cyrille, this is my request:
I got as result:
The point is I'm getting success as a result even when I do not have the specified file on the server, so I'd suggest few server-side validations, for example, when a model has been translated once we can't set as reference right so it should at least return an error. Thank you and I hope this helps.
Without seeing you code it is hard to tell what is happening. Below I copied my bash script code which references/translate an obj with material and texture.
After upload, I got these
the code to set references, now
Here is got a reply like below which only means that the references are registered.
Now, I do this to translate the obj and use the references
Note the "checkReferences": true, as documented here.
Now, I can wait the translation to complete and see the result in the Viewer.
For reference the xbase64safeencode function used above