-1

We are looking at using the Forge Viewer for a project to display and markup plans, etc. (for now just 2D, 3D may be added in the future). For some of these items we will have DWG Files that we can convert using model derivative API so no problem there. However, the client also has quite a few existing drawings saved in svg format from their legacy system.

The question is if there is a good way to convert those base svg files into svf that we can display as the 'main' drawing/view in Forge Viewer. I have found things about creating a markup layer from an svg file, but that's not really what we want. We would be using markups to have the user draw on top of the plan with their own tools and place markers, etc. but the main drawing should be from the svg file that they have.

Forgive me if this is simple but I'm fairly new to the viewer and model derivative API so I'm not figuring out how to make this work.

sfaust
  • 2,089
  • 28
  • 54

1 Answers1

0

There is no translation support for SVG, to generate an SVF model out of it. You could either
a) use the SVG inside a format that we support (e.g. DWG - perhaps place the SVG in it using Design Automation API) and translate that to SVF
b) load a dummy model as shown here, and then add the SVG as e.g. markup

Adam Nagy
  • 1,700
  • 1
  • 9
  • 14