TechDraw: Simbolo SVG

From FreeCAD Documentation
Revision as of 22:04, 9 November 2016 by Renatorivo (talk | contribs) (Created page with "==Descrizione== Lo strumento Simbolo inserisce come vista un file in formato SVG nella pagina")

Simbolo

Posizione nel menu
TechDraw → Simbolo
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

Lo strumento Simbolo inserisce come vista un file in formato SVG nella pagina

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.