You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can get the demo running, but it does not display the edges of my models.
When I use the chrome console to do the equivalent of going to Settings -> Performance -> Display Edges on a non headless viewer: NOP_VIEWER.setDisplayEdges(true) , nothing happens.
The edges are not displayed nor do I get any error message.
When I try the same command in chrome console at https://viewer.autodesk.com with the same model loaded, it works and I can toggle the display of edges by changing the boolean parameter from true to false.
Can you please tell me how I can get the edges displaying on the viewer-react-express-headless.
Thank you for time.
The text was updated successfully, but these errors were encountered:
Me again, after posting on stackoverflow I was given a solution.
It was basically replacing viewer.load by `viewer.loadModel(urn,{isAEC:true}).
I think I saw that viewer.load was deprecated in favour of viewer.loadModel but not sure about it. In any case on my side the issue can be considered as closed. In the coming days I will make a pull request with my fix suggestion.
Hello,
I can get the demo running, but it does not display the edges of my models.
When I use the chrome console to do the equivalent of going to Settings -> Performance -> Display Edges on a non headless viewer:
NOP_VIEWER.setDisplayEdges(true)
, nothing happens.The edges are not displayed nor do I get any error message.
When I try the same command in chrome console at https://viewer.autodesk.com with the same model loaded, it works and I can toggle the display of edges by changing the boolean parameter from true to false.
Can you please tell me how I can get the edges displaying on the viewer-react-express-headless.
Thank you for time.
The text was updated successfully, but these errors were encountered: