Embedded DWG in RVT 3D View not Displaying Correctly in Forge Viewer - autodesk-forge

I've imported a DWG file into the 3D view of a RVT model, and am trying to convert and view it in the Forge Viewer. When I view that 3D view in the Forge Viewer the drawing does not display correctly. See links to screenshots below.
I've looked through the response JSON from Model Derivative and do not see any errors.
The RVT project file and the DWG I am trying to embed are also linked below. I am using the rac_basic_sample_project file, where I exported the site plan view to a DWG, and tried to embed that into the default {3D} view.
3D View in Revit
3D View in Forge
RVT File
DWG File

Related

Add Custom Data Table In Dwg Model File

We have a dwg file input model dwg file that has model added inside page boundry. We want to add to table to this dwg file and position it inside page boundry. And later export this file as dwg Expected output dwg file
How it can be achieved using Autodesk Design Automation API or Autodesk Forge Viewer or any other way possible.
You should use the Table dwg as a main template and insert your model into, I answered here which is similar to this.
Create new dwg file and load existing dwg model in it using Autodesk Design Automation API for AutoCAD

Export Revit file format as Gltf or Svf and view offline in Forge-Viewer

I want to view the revit file offline in Forge viwer. For this, I need to convert the rvt file to svf or gltf file format. I couldn't find any free open source code to export as svf. Although I managed to export it as a gltf file format, I could not view this gltf file in forge-viewer due to some errors that I could not resolve. Can you share the open source code that I can use to export the Revit file as svf or gltf format without any errors?
Unfortunately, The SVF file format is Autodesk's private property designed for the Autodesk Forge platform, so the only way of exporting SVF is via Forge Model Derivative API. There is no such open source tool to generate SVF.
For glTF, it depends on your Gltf file structure. As I know, Forge Viewer doesn't fully support glTF 2.0 specs. See https://forge.autodesk.com/blog/gltf-20-support-forge-viewer
Could you share a non-confidential reproducible glTF file demonstrating the issue to forge (dot) help (at) autodesk (dot) com? We can help pass it to our engineering team for investigation.

| autodesk Forge | Export RVT into multiple 3D views

Is it possible to convert/translate/export RVT into SVF to get multiple 3D views by using autodesk forge C# library or rest API? By default I am getting only {3D} file after translation/export.
It's related to your Revit file configurations, please follow the instruction of Publishing Settings from Revit for BIM 360 to choose the views you want to show in Forge, and make sure the view set is checked in the dialog.

Generate one Viewer file from two design files on Autodesk Forge

Using Autodesk Forge Viewer
I want to generate one viewer file from two IFC files with the Forge API.Can I do that with the Model Derivative API?
You can translate “composed” files (e.g., assembly and part files in Inventor, or XREFs in AutoCAD): https://forge.autodesk.com/en/docs/model-derivative/v2/tutorials/translate-composite-source-file-to-stl.
Alternatively, you could translate your IFC files separately and load them both into the viewer: https://forge.autodesk.com/blog/supporting-multiple-models-new-modelstructurepanel.

VIEW JPEG and PDF together in Forge 2D viewer

Is there any documentation for converting a JPEG file via Model Derivative API and viewing it as an underlay of another 2D PDF drawing, in Forge 2D Viewer?
JPEG files aren't supported accordingly to this page. PDF is supported and translating a PDF is not different from other file types. Here is a step by step documentation to do it.
Now back on JPEG, the Model Derivative API will not handle JPEG format, but you can still display JPEG in the Autodesk Forge Viewer using native THREE.JS API. All you need to do is to assign the JPEG to a THREE.JS mesh and add the mesh to the THREE.JS scene in the Viewer.