1# example dwgadd file. strings are utf8 and must not exceed length 255
2#readdwg "example_2000.dwg"
3#readdxf "example_2000.dxf"
4#readjson "example_2000.json"
5version 2000
6text "test" (0.0 1.0 0.0) 8
7attribute 8 0 "prompt" (0.0 1.0 0.0) "tag" "text"
8attdef 8 0 "prompt" (0.0 1.0 0.0) "tag" "default_text"
9block "bloko"
10line (0 1 0) (1 1 0)
11endblk
12insert (0 1 0) "bloko" 1 1 1 0
13minsert (0 1 0) "bloko" 1 1 1 0 1 2 1 1
14polyline_2d 2 ((0 1) (1 1))
15polyline_3d 2 ((0 1 0) (1 1 0))
16lwpolyline 2 ((0 1) (1 1))
17arc (0.0 1.0 0.0) 0.5 0.0 3.0
18circle (0.0 1.0 0.0) 0.5
19polyline_pface 5 3 ((0 0 0) (2 0 0) (2 2 0) (1 2 0) (1 1 0)) ((0 1 2 3) (1 2 3 4) (2 3 4 5))
20polyline_mesh 3 2 ((0 0 0) (2 0 0) (2 2 0) (1 2 0) (1 1 0) (0 1 0))
21dimension_aligned (0 0 0) (2 0 0) (2 2 0)
22dimension_ang2ln (0 0 0) (2 0 0) (2 2 0) (2 2 0)
23dimension_ang3pt (0 0 0) (2 0 0) (2 1 0) (2 2 0)
24dimension_diameter (0 0 0) (2 0 0) 2
25dimension_ordinate (0 0 0) (2 0 0) 1
26dimension_radius (0 0 0) (2 0 0) 1
27dimension_linear (2 0 0) (2 1 0) (0 0 0) 90
28point (2 0 0)
293dface (0 0 0) (2 0 0) (2 1 0) (0 2 0)
30solid (0 0 0) (2 0) (2 1) (0 2)
31trace (0 0 0) (2 0) (2 1) (0 2)
32shape "roman.shx" (0 0 0) 2 45
33viewport "Viewport1"
34ellipse (0 0 0) 2.0 0.75
35spline 3 ((0 0 0) (2 0 0) (2 1 0)) (0 2 0) (0 3 0)
36ray (0 0 0) (2 0 0)
37xline (0 0 0) (2 0 0)
38dictionary "ACAD_MATERIAL" "Global" 0
39xrecord dictionary "REFRACTIONTILE"
40mtext (0 1 0) 10 "test\ntext"
41leader 2 ((0 0 0) (0 1 0)) mtext 15
42tolerance "testtekst" (0 0 0) (0 0 1)
43mlinestyle "Double"
44mlinestyle.start_angle = 1.12
45mline 4 ((3.9 1.5 0) (3.2 1.8 0) (4.6 1.0 0) (3.8 1.7 0))
46dimstyle "Dim1"
47dimstyle.DIMSCALE = 2.0
48dimstyle.DIMUPT = 1
49ucs (0 0 0) (1 0 0) (2.5 0 0) "Ucs1"
50ucs.ucs_elevation = 1.0
51layout viewport "Model" "ANSI_A_(8.50_x_11.00_Inches)"
52torus (10 5 0) (0 0 1) 19 2.78
53sphere (10 5 0) (0 0 1) 15
54cylinder (10 5 0) (0 0 1) 15 5 5 5
55cone (10 5 0) (0 0 1) 15 5 5 0
56wedge (10 5 0) (0 0 1) 3.3 2.4 4.8
57box (10 5 0) (0 0 1) 3.3 2.0 2.5
58pyramid (10 5 0) (0 0 1) 4.5 4 2.0 2.5
59