Описание
The TechDraw ExportPageSVG tool saves the current drawing page as an SVG file.
Применение
- If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the Tree View.
- There are several ways to invoke the tool:
- Press the
Export Page as SVG button.
- Select the TechDraw → Page →
Export Page as SVG option from the menu.
- If a page is displayed in the Main View Area: right-click the page's window and select the Export SVG option from the context menu.
- Press the
- If there are multiple drawing pages in the document and you have not yet activated a page, the Page Chooser dialog box opens:
- Select the desired page.
- Press the OK button.
- The Export page as SVG dialog box opens.
- Select a location and file name.
Программирование
См. так же: TechDrawGui API и Основы составления скриптов FreeCAD.
The SaveSVG tool can be used in macros and from the Python Console by using the following functions:
TechDrawGui.exportPageAsSvg(DrawPageObject,FilePath)
Note that the FreeCADGui module must be active to use this function.
Эта страница получена от https://wiki.freecad.org/TechDraw_ExportPageSVG