autodesk-viewer

Does Autodesk recommend offline forge viewer?

泪湿孤枕 提交于 2020-07-23 06:42:11
问题 Does Autodesk recommends offline forge viewer? what is advantages of offline forge viewer over online? I am referring this tutorial, but struggling with some error as follows: if there is any working example of offline forge viewer please drop link here. Thanks in advance!! 回答1: Does Autodesk recommends offline forge viewer? We are neutral on this - there's no recommendation as to whether to load the model from our service or your own ... it's entirely a matter of your business requirements .

“CORS header ‘Access-Control-Allow-Origin’ does not match”, incorrect “Access-Control-Allow-Origin” in Response Header

北城余情 提交于 2020-07-19 18:17:35
问题 We have a multi-tenant web application hosted on IIS with two headers (SiteA and SiteB). The application uses Autodesk Forge Viewer on the client side. Everything was working fine until last week which this started happening: when browsing the application with url "http://www.siteA.com" it works fine. now if we browse same application using url "http://www.siteB.com" in another tab the viewer does not load and we have two errors in the debug: Cross-Origin Request Blocked: The Same Origin

“CORS header ‘Access-Control-Allow-Origin’ does not match”, incorrect “Access-Control-Allow-Origin” in Response Header

▼魔方 西西 提交于 2020-07-19 18:10:38
问题 We have a multi-tenant web application hosted on IIS with two headers (SiteA and SiteB). The application uses Autodesk Forge Viewer on the client side. Everything was working fine until last week which this started happening: when browsing the application with url "http://www.siteA.com" it works fine. now if we browse same application using url "http://www.siteB.com" in another tab the viewer does not load and we have two errors in the debug: Cross-Origin Request Blocked: The Same Origin

Controlling the autodesk-forge viewer with external buttons

梦想与她 提交于 2020-06-29 03:55:28
问题 Currently I am adding forge to an internal company website where we can view all of the machines we have built or are building. The website works like this: The user selects a machine number and all the information about the machine will pop up. This includes stations within the machine, as well as all the individual parts within each station. My task was to add autodesk-forge to the website. Currently I have successfully used the autodesk-forge viewer so that whenever a machine is picked,

Forge Viewer loading multiple Revit models with shared coordinates

故事扮演 提交于 2020-04-30 14:12:40
问题 When loading Revit models which are aligned by shared coordinates, the models does not align in Forge Viewer with globallOffset settings. The loadModel with placementTransform option seems to be viable, but the shared coordinates data is not made available until after the model is loaded, via viewer.model.getDocumentNode().getAecModelData().refPointTransformation earliest I have the model data is inside the onLoadModelSuccess which is too late to feed into the load options, and will require

Forge Viewer loading multiple Revit models with shared coordinates

我是研究僧i 提交于 2020-04-30 14:09:28
问题 When loading Revit models which are aligned by shared coordinates, the models does not align in Forge Viewer with globallOffset settings. The loadModel with placementTransform option seems to be viable, but the shared coordinates data is not made available until after the model is loaded, via viewer.model.getDocumentNode().getAecModelData().refPointTransformation earliest I have the model data is inside the onLoadModelSuccess which is too late to feed into the load options, and will require

Can i use docking panel in Autodesk forge for both viewers?

半腔热情 提交于 2020-03-25 22:03:11
问题 Example on Photo I have two viewers to compare models. I created a docking panel for properties, and I want this panel to float in two viewers. Is it possible and who will tell you how to do it? 回答1: There are two options: Option1: Use the ' Autodesk.SplitScreen ' extension, which will render up to 4 regions. You load it like this.. loadExtension('Autodesk.SplitScreen'); This simple extension can set up to four cameras, and render four regions. By default, it's just two (left and right). Here