Ich versuche einen Raumstempel zu erstellen und mittels der Funktion /2D/3D Skript erzeugen auf der Basis der Grundrisauswahl/ erzeugt mir Archicad im 2d-Script den Code. Der Raumstempel schaut beim einsetzen dann auch entsprechen aus. Nur die Daten wie Raumname und Raumfläche sind eben Textblöcke. Wie schaffe ich es, dass Name, Fläche usw. sich automatisch ausfüllen? Welchen befehl und wie muss ich in den code einfügen damit das funktioniert?
pen 1
set line_type "Volllinie"
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0, 0, 1,
1, 0, 1,
1, -0.125006456573, 1,
0, -0.125006456573, 1,
0, 0, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0, -0.125006456573, 1,
1, -0.125006456573, 1,
1, -0.250012913146, 1,
0, -0.250012913146, 1,
0, -0.125006456573, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0, -0.250012913146, 1,
1, -0.250012913146, 1,
1, -0.375019369719, 1,
0, -0.375019369719, 1,
0, -0.250012913146, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0, -0.375019369719, 1,
0.4924910040805, -0.375019369719, 1,
0.4924910040805, -0.5879152956151, 1,
0, -0.5879152956151, 1,
0, -0.375019369719, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0.4924910040805, -0.375019369719, 1,
1, -0.375019369719, 1,
1, -0.5879152956151, 1,
0.4924910040805, -0.5879152956151, 1,
0.4924910040805, -0.375019369719, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0, -0.5879152956151, 1,
0.4924910040805, -0.5879152956151, 1,
0.4924910040805, -0.8008112215112, 1,
0, -0.8008112215112, 1,
0, -0.5879152956151, 1
poly2_b{5} 5, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0.4924910040805, -0.5879152956151, 1,
1, -0.5879152956151, 1,
1, -0.8008112215112, 1,
0.4924910040805, -0.8008112215112, 1,
0.4924910040805, -0.5879152956151, 1
define style{2} "AC_STYLE_1" "Roboto", 1.8, 0
paragraph "AC_PRG_1" 1, 0, 0, 0, 1
set style "AC_STYLE_1"
"Raum"
"nummer"
endparagraph
textblock "AC_TEXTBLOCK_1" 0, 1, 0, 1, 1, 1,
"AC_PRG_1"
richtext2 0.07471536799742, 0.009127860291408, "AC_TEXTBLOCK_1"
paragraph "AC_PRG_2" 1, 0, 0, 0, 1
"ROOM_Name"
endparagraph
textblock "AC_TEXTBLOCK_2" 0, 1, 0, 1, 1, 1,
"AC_PRG_2"
richtext2 0.1664085105124, -0.1189657991507, "AC_TEXTBLOCK_2"
define style{2} "AC_STYLE_2" "Roboto", 1.5, 0
paragraph "AC_PRG_3" 1, 0, 0, 0, 1
set style "AC_STYLE_2"
"Fläche"
endparagraph
textblock "AC_TEXTBLOCK_3" 0, 1, 0, 1, 1, 1,
"AC_PRG_3"
richtext2 0.3391166480069, -0.2546170618161, "AC_TEXTBLOCK_3"
define style{2} "AC_STYLE_3" "Roboto", 1, 0
paragraph "AC_PRG_4" 1, 0, 0, 0, 1
set style "AC_STYLE_3"
"FB="
endparagraph
textblock "AC_TEXTBLOCK_4" 0, 1, 0, 1, 1, 1,
"AC_PRG_4"
richtext2 0.01032494876835, -0.3769472872438, "AC_TEXTBLOCK_4"
paragraph "AC_PRG_5" 1, 0, 0, 0, 1
"B"
"B="
endparagraph
textblock "AC_TEXTBLOCK_5" 0, 1, 0, 1, 1, 1,
"AC_PRG_5"
richtext2 0.01032494876835, -0.4409387678527, "AC_TEXTBLOCK_5"
paragraph "AC_PRG_6" 1, 0, 0, 0, 1
"D"
"B="
endparagraph
textblock "AC_TEXTBLOCK_6" 0, 1, 0, 1, 1, 1,
"AC_PRG_6"
richtext2 0.01032494876835, -0.5105477569816, "AC_TEXTBLOCK_6"
paragraph "AC_PRG_7" 1, 0, 0, 0, 1
"RH"
"="
endparagraph
textblock "AC_TEXTBLOCK_7" 0, 1, 0, 1, 1, 1,
"AC_PRG_7"
richtext2 0.500660319843, -0.3769472872438, "AC_TEXTBLOCK_7"
paragraph "AC_PRG_8" 1, 0, 0, 0, 1
"U"
"="
endparagraph
textblock "AC_TEXTBLOCK_8" 0, 1, 0, 1, 1, 1,
"AC_PRG_8"
richtext2 0.500660319843, -0.4409387678527, "AC_TEXTBLOCK_8"
paragraph "AC_PRG_9" 1, 0, 0, 0, 1
set style "AC_STYLE_2"
"FOK"
"="
endparagraph
textblock "AC_TEXTBLOCK_9" 0, 1, 0, 1, 1, 1,
"AC_PRG_9"
richtext2 0.008523326399306, -0.5760748156008, "AC_TEXTBLOCK_9"
paragraph "AC_PRG_10" 1, 0, 0, 0, 1
"R"
"OK="
endparagraph
textblock "AC_TEXTBLOCK_10" 0, 1, 0, 1, 1, 1,
"AC_PRG_10"
richtext2 0.008523326399306, -0.6870055991045, "AC_TEXTBLOCK_10"
paragraph "AC_PRG_11" 1, 0, 0, 0, 1
"DUK"
"="
endparagraph
textblock "AC_TEXTBLOCK_11" 0, 1, 0, 1, 1, 1,
"AC_PRG_11"
richtext2 0.505324709902, -0.5760748156008, "AC_TEXTBLOCK_11"
paragraph "AC_PRG_12" 1, 0, 0, 0, 1
"R"
"U"
"K="
endparagraph
textblock "AC_TEXTBLOCK_12" 0, 1, 0, 1, 1, 1,
"AC_PRG_12"
richtext2 0.505324709902, -0.6870055991045, "AC_TEXTBLOCK_12"
Operating system used: Windows 11