TechDraw Symbole

From FreeCAD Documentation
Revision as of 19:00, 26 February 2018 by Jpg87 (talk | contribs) (Created page with "==Options== Aucune.")

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

  1. Appuyez sur le bouton Symbole
  2. 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.