Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create a PDF

By running script

TODO: document _SAVEFILEFORDOWNLOAD

By fileType parameter (On-premise only)

Optionally you can create a PDF from your drawing easily via a headless script job in the on-premise version by just passing fileType=PDF query parameter to the endpoint.

Sample call that uses our sample backend API server and creates a PDF from the drawing in c://tmp/ :

GET http://localhost:8081/startScriptJob?server=http://localhost:3000&file=Construction.dwg&outputPath=c://tmp/&fileType=PDF

Create an image

By running script

TODO: document _DOEXPORT

By fileType parameter (On-premise only)

Optionally you can create an image from your drawing easily via a headless script job in the on-premise version by just passing appropriate fileType query parameter to the endpoint.

Supported file types for images are: PNG, SVG, BMP and JPG.

Sample call that uses our sample backend API server and creates a BMP from the drawing in c://tmp/ :

GET http://localhost:8081/startScriptJob?server=http://localhost:3000&file=Construction.dwg&outputPath=c://tmp/&fileType=BMP