TechDraw "Вставить знак"

From FreeCAD Documentation
Revision as of 07:34, 1 December 2016 by Baritone (talk | contribs) (Created page with "{{GuiCommand/ru |Name=TechDraw Symbol |Name/ru=TechDraw Symbol |Workbenches=TechDraw |MenuLocation=TechDraw → Symbol |Shortcut= |SeeAlso= }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TechDraw Symbol

Системное название
TechDraw Symbol
Расположение в меню
TechDraw → Symbol
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Нет

Description

The Symbol tool inserts an SVG file into the page as a view

How to use

  1. Press the Symbol button
  2. A File Save dialog will open. Select a location and file name.

Options

None.

Properties

  • n/a

Scripting

SVG files can be inserted into a drawing page using Python.

sym = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewSymbol','TestSymbol')
rc = page.addView(anno)
f = open(unicode(symbolFileSpec,'utf-8'),'r')
svg = f.read()
f.close()
sym.Symbol = svg
rc = page.addView(sym)


Notes

  • Symbol appear larger than expected. Use the Scale property to adjust the size.
Other languages: