Cannot see the sheets or plans on my forge viewer Document browser - autodesk-forge

I am using the following javascript library for the forge viewer (https://developer.api.autodesk.com/modelderivative/v2/viewers/7.*/viewer3D.js) and when displaying the same revit file that I can see perfect on Autodesk Viewer with all the documents, I cannot see the sheets or plans in my custom implementation.
You can see the difference here in these 2 screenshots:

Related

View Recap Pro Projects in Forge Viewer

I have just discovered a new function that I have been waiting for for a very long time.
It is now possible to publish Recap Pro projects to the cloud for viewing and annotating. Demo
if I have seen it correctly , its atm only possible in BIM360 Docs, but here the Forge Viewer is used.
Now my question:
When will this function be made available to me as a developer?
BIM 360 Docs is built on top of the Forge Viewer, it should be already available for you to translate the model and display it in your own application.
Something you might want to try is to upload the RCP file to BIM 360 and then get the URN from there to pass it to your custom made viewer, so it takes care of the needed setup for translation.

2d Sheets in Forge Viewer

We are showing Autodesk Revit models in Forge Viewer that have 3d views and 2d views. However, only the 3d view is showing in the Forge Viewer and there is no button available for us to navigate to the 2d view.
Do we need to add an extension to enable display of 3d views + 2d sheet views in Forge Viewer?
We need a toggle like what exists in the Fusion Viewer
I found several useful answers to this question of yours searching the Internet
for forge viewer revit 2d sheet.
Two of the answers providing background information and solutions for this are right here on StackOverflow:
Viewing Revit floor plans (2D views) in the Forge Viewer
Autodesk Viewer: Suggestions for 2D view of floor view
The final answer by Mikako Harada to the latter of these two suggests:
If you have access to the RVT model within Revit on the desktop, you can use the user interface to choose the views you wish to include, also discussed by The Building Coder:
Selecting Views to Publish Revit Project on A360
Select Rooms and Views to Publish to the Cloud

Embed the Autodesk Viewer in a web page

In our web application, we want to view AutoCAD files using Autodesk viewer API.
As per our requirement we want to select the file and need to open directly in auto-desk viewer site, where all default options like 2D, 3D views are available.
Is it possible to view those files, directly in Autodesk viewer, instead of creating our own viewer?
We do have a minified online viewer that takes a svf - pls make sure all svf assets are available at the same location and open to public access with CORs allowed:
https://autodeskviewer.com/viewers/latest/viewer3d.html?svf=url/to/your/svf (make sure to put in the url to your svf)
But this is NOT an official setup of any sort and is subject to change w/o notice. You are very much encouraged to develop your own, just a few lines of code would do this trick if you already have your models extracted.
Here's a few good places to start:
https://forge.autodesk.com/en/docs/viewer/v6/tutorials/basic-viewer/
http://learnforge.autodesk.io
Tools:
http://models.autodesk.io
https://extract.autodesk.io/

Detail in forge viewer vs A360

I made a query about this previously but with further investigation I still have a problem. The two screenshots show the same component in A360 and in our Forge viewer. The behaviour in A360 is what we want with only the external geometry of the component visible. This used to be the case in our webapp but a change made to the Forge viewer at some point means all the detail in the component is now visible, including internal details. How can we replicate the behaviour we see in A360 in our forge viewer?A360
What you need to do is to force The viewer at startup using
options.isAEC = false
This will make the Viewer go back to the Highlight view that A360 is using at the moment.

Forge Viewer in BIM 360 Teams

First of all, I really love the work you guys have done with the integration of the Forge Viewer in BIM 360 Teams! Kudos!
To my question:
I want to configure the Forge Viewer that displays my model when I click on my specific project in Teams.
Examples: Let's say I wanted to edit some CSS, or add an extension.
My understanding is that both the Forge Viewer and BIM 360 Teams has open API and that I therefor can be able to modify as per my request?
Kindly let me know.
If I read your question correctly, you want to customize the BIM 360 Team webpage directly. This is not possible.
The Viewer in BIM 360 Team is a specific implementation of the Forge Viewer. You cannot customize it (e.g. via CSS), or load extensions into it. I.e. BIM 360 Team does not currently expose any API that allows you to directly customize the BIM 360 'user interface'.
However, you can use the Autodesk Forge APIs to create your own webpage that can list the files in a user's BIM 360 Team account (Data Management API) and allow them to be displayed in your own Forge Viewer implementation, and customize the Viewer behavior as you need..
To understand how to navigate the BIM 360 Team project/folder structure, take a look at this tutorial. To list the contents of a folder, use this API. Basic Viewer customization is covered in the Viewer tutorials.
If that is what you want, if you explain what specific Viewer customizations you need, then we should be able to point you to a code snippet or sample that demonstrates it.