TechDraw Symbol/fr: Difference between revisions
(Created page with "==Options== Aucune.") |
|||
Line 9: | Line 9: | ||
==Options== |
==Options== |
||
Aucune. |
|||
None. |
|||
==Properties== |
==Properties== |
Revision as of 19:00, 26 February 2018
Symbole |
Emplacement du menu |
---|
TechDraw → Symbole |
Ateliers |
TechDraw |
Raccourci par défaut |
Aucun |
Introduit dans la version |
- |
Voir aussi |
Aucun |
Description
L'outil Symbole insère un fichier SVG dans la page en tant que vue
Comment faire
- Appuyez sur le bouton Symbole
- Une boîte de dialogue s'ouvre. Sélectionnez un emplacement et un nom de fichier.
Options
Aucune.
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.