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
Related
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.
I want to import PDF file in Model derivative API and work with different layers. But it is not detecting layers in PDF models as it does in DWG files. Layer manager option is not visible. What to do?
In cases where the Model Derivative service isn't extracting enough information from your input files, you have a couple of options:
if your input file is a AutoCAD, Revit, Inventor, or 3ds Max file, consider extracting the additional information using the Design Automation service
if your input file is a PDF, consider:
viewing the PDF directly in the viewer (see this blog post for more details)
using a 3rd party library (e.g., pdf.js) to extract the additional info yourself
the customer data can be either of dwg file level or object level(such as XRecord), is it possible that Viewer reads it like reading metadata from Revit? Thanks.
You can extract custom data using the approach described in this sample. As of now, the sample runs on Design Automation v2, we're migrating it to v3.
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
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.