TechDraw Symbol/it: Difference between revisions
Renatorivo (talk | contribs) (Created page with "{{GuiCommand/it|Name=TechDraw Symbol|Name/it=Symbol|Workbenches=TechDraw|MenuLocation=TechDraw → Symbol|Shortcut=|SeeAlso=}}") |
Renatorivo (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{GuiCommand/it|Name=TechDraw Symbol|Name/it= |
{{GuiCommand/it|Name=TechDraw Symbol|Name/it=Simbolo|Workbenches=[[TechDraw Module/it|TechDraw]]|MenuLocation=TechDraw → Simbolo|Shortcut=|SeeAlso=}} |
||
==Description== |
==Description== |
Revision as of 22:03, 9 November 2016
Simbolo |
Posizione nel menu |
---|
TechDraw → Simbolo |
Ambiente |
TechDraw |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Nessuno |
Description
The Symbol tool inserts an SVG file into the page as a view
How to use
- Press the Symbol button
- 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.