Reputation: 240
I wanted to confirm if there is a way to run autocad commands (specifically the AREA command) on my dwg opened using the Forge Viewer Javascript API. Thanks.
Upvotes: 0
Views: 263
Reputation: 2659
The Forge Viewer is a WEBGL/javascript web component. It is not running an AutoCAD engine behind the scene. The Forge Viewer consumes/displays information extracted from a DWG file using the Forge Model Derivative API. However, if an AutoCAD region was present in the DWG, the Model Derivative API will extract a property that is accessible there. Now if you are interested to run an AutoCAD command, you got 2 options depending on what you need. You can either use the Forge Design Automation (running the AutoCAD engine), or use the AutoCAD 360 which can run on mobile or a web page.
Upvotes: 2
Reputation: 2024
No, you can not run AutoCAD commands on Forge Viewer even the source file format is dwg, the reason is that the source file will be translated to SVF/F2D to make it be viewed by web browser, it's totally nothing related to AutoCAD anymore.
Upvotes: 1