Autocad custom attributes translate to svf and read by Forge viewer - autodesk-forge

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.

Related

Autodesk Forge Custom parameters from revit

In revit project, my plugin add custom parameters in some of the sheets
Now, I convert the rvt file to svf2 format with derivative api and display the svf2 with the forge viewer.
I should read my custom parameters and there values (only read, not display) and use them in my viewer extension, but I do not find them in the model.
so question:
are the parameters exported ?
if yes, how can I retrieve them ?
thanks in advance
regards
Luc

Autodesk Forge call for .gltf object for arcgis map

how can I call for autodesk forge 3D model in .gltf (or .obj) file to use it in arcgis javascript app?
Thank You
You can generate obj through the workflow described in this tutorial.
You can also take advantage of forge-convert-utils to generate gltf (refer here). This method takes advantage of a SVF, covered here

autodesk or any other api to convert dwg to json

I would like to know if there is an API to convert Dwg to Json so that I can process in web application, not for rendering the CAD file.
Here's a code sample with a plugin to extract data to JSON from drawings - that's part of a demo for the Forge Design Automation API (that's cloud base service/API for automation here though so not sure if this API itself fits the bill for you) but you can just use the plugins on your local installation alone if you want.
How about DXF? It is text, it is documented.

Is it possible to export 3d Views to ifc from Revit model with Design Automation API?

I need to create an application, that exports all 3d views of the Revit model to separate rvt file for each model,and after that convert them to an IFC with Model Derivative API.
Suggestion of that problem is here
But,maybe i can directly export 3d Views to an IFC from Design Automation API?
Yes, absolutely.
Analogously to the previous answer
on exporting 3D Revit views with Design Automation API:
Say the original model is named A with 3D views V1, V2, ... Vn.
Open A.
Delete all views except V1.
Exort to A1.ifc using the Document.Export method taking IFC options
Close A.
Repeat for all the other reeuired views.
Initially, DA4R did not provide full support for IFC export, but I believe that should be possible now.

Update Revit custom properties by web API

It is possible to update and save a custom text attribute in a Revit project hosted on BIM360 ?
Our customer's advisor say it is possible, but after taking a look to the Forge API I do not see any reliable way to do it.
I'm wrong or I've missed something ?
I guess they are referring out new API, Design Automation for Revit V3, the new V3 API is still in Beta, but it has the ability to do the following task related to Revit file, including modify your Revit model:
Create custom Revit family content
Automate model creation
Explore and analyze model data
Extract and produce automated reports
Modify existing models to maintain company standards
Automatically create documentation
Also please check Learn Forge about Modify Model as the sample on detail steps of implementation.