|
Menu location |
---|
TechDraw → TechDraw Views → Insert SVG Symbol |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw Templates, Draft SVG |
기술도면 기호 도구는 기호 대상체를 삽입합니다. 기호는 svg-tiny 사양을 준수하는 단일 SVG 파일만 포함하는 단순화된 보기입니다(기술도면 템플릿 참조).
기호는 도면에 주석을 달고 추가로 수정할 필요가 없는 모든 것을 의미하지만 편집 가능한 텍스트를 포함할 수도 있습니다.
introduced in 1.0: 기술도면 보기 도구로 기호를 생성할 수도 있습니다.
도면 페이지에 나침반이 추가되었습니다. 이 기호는 애드온 관리자에서 "symbols_library" 애드온을 설치하면 사용할 수 있습니다.
See also: Property editor.
A Symbol, formally a TechDraw::DrawViewSymbol
object, has the properties that are common to all View types. It also has the following additional properties:
Drawing view
String
): The SVG code defining this symbol.StringList
): Substitution values for the editable strings in this symbol.Link
): Feature to which this symbol is attached. introduced in 1.0See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The Symbol tool can be used in macros and from the Python console by using the following functions:
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)