TechDraw Symbol/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "TechDraw Symbol")
 
No edit summary
Line 2: Line 2:
{{GuiCommand|Name=TechDraw Symbol|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Symbol|Shortcut=|SeeAlso=}}
{{GuiCommand|Name=TechDraw Symbol|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Symbol|Shortcut=|SeeAlso=}}


==Description==
==Descriere==
Instrumentul Simbol inserează un fișier SVG în pagină ca vizualizare
The Symbol tool inserts an SVG file into the page as a view


==How to use==
==How to use==

Revision as of 11:57, 19 September 2018

TechDraw Symbol

Menu location
TechDraw → Symbol
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
None

Descriere

Instrumentul Simbol inserează un fișier SVG în pagină ca vizualizare

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.