Files
dxfmakros/dcl/tro_insert.dcl
s.ayadi 9c7dda8a37 Add TRO_INSERT command to hand-place new TRO markers
Lets the TRO menu insert a fresh TRO_SYM_<Typ> marker (point + type +
auto-suggested TROnn id) by reusing a block definition tro_annotate.py
already created, instead of only editing markers it placed.
2026-08-03 15:56:13 +02:00

35 lines
769 B
Plaintext

// ============================================================
// tro_insert.dcl - Neuen TRO-Marker einfuegen
// Fragt Typ und Kennung fuer einen neuen TRO_SYM_<Typ>-Marker ab. Die
// Blockdefinition (Form, Farbe) muss aus einem frueheren Lauf von
// sps_skel (lib/tro_annotate.py) bereits in der Zeichnung vorhanden sein.
// Aufruf ueber c:TRO_INSERT (Lisp/Tro_Edit.lsp).
// ============================================================
tro_insert : dialog {
label = "TRO einfuegen";
: column {
: popup_list {
key = "type";
label = "TRO-Typ:";
width = 30;
}
: edit_box {
key = "id";
label = "TRO-Kennung:";
edit_width = 30;
}
: text {
key = "hinweis";
label = "";
}
}
ok_cancel;
}