'Viewing.Extension.Markup3D in Autodesk Forge viewer

Is there any example of how to add a Viewing.Extension.Markup3D extension in .NET Core project with vanilla JavaScript?

I saw an example here https://github.com/Autodesk-Forge/forge-rcdb.nodejs but this is done in react.js.

How can I register this extension in forge viewer with plain JavaScript?



Solution 1:[1]

I assume you are talking about this extension: Viewing.Extension.Markup3D in Autodesk Forge viewer
It is indeed written in a way to make it usable from a React app. You would have to get rid of all the React-specific things in it to load it from a plain JavaScript app.

There is a newer sample that is using plain JavaScript you could have a look at: https://forge.autodesk.com/blog/3d-markup-icons-and-info-card

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Adam Nagy