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.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// ============================================================
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user