12 lines
639 B
Markdown
12 lines
639 B
Markdown
## Wichtige Ezdxf Methoden
|
|
1. block.add_blockref(blockname,(kordinaten)dxfattribute={"rotation": rotation,"layer": layer})
|
|
- Fügt inserts in ein block hinzu
|
|
2. msp.add_blockref(blockname,(kordinaten)dxfattribute={"rotation": rotation,"layer": layer})
|
|
- Fügt insert ins Modelspace hinzu
|
|
3. doc.blocks.new(blockname, base_point=(0,0,0))
|
|
- Fügt einen neune Block ins Document hinzu(gleichen Block kann man nur einmal machen if abrage wär if blockname in doc.blocks)
|
|
4. msp.query("DXFOBJEKT)
|
|
- Holle jedes spezifische dxfobjekt von dem Modelspace, wird meistens für Inserts verwendet
|
|
|
|
## Plant2dxf handle Gefällestrecke
|
|
## Main line |