📄 acad.dcl
字号:
label = "Z=";
}
: text_part {
key = "20";
width = 12;
}
}
}
: boxed_column {
label = "X Axis";
: concatenation {
: text_part {
label = "X=";
}
: text_part {
key = "01";
width = 12;
}
}
: concatenation {
: text_part {
label = "Y=";
}
: text_part {
key = "11";
width = 12;
}
}
: concatenation {
: text_part {
label = "Z=";
}
: text_part {
key = "21";
width = 12;
}
}
}
: boxed_column {
label = "Y Axis";
: concatenation {
: text_part {
label = "X=";
}
: text_part {
key = "02";
width = 12;
}
}
: concatenation {
: text_part {
label = "Y=";
}
: text_part {
key = "12";
width = 12;
}
}
: concatenation {
: text_part {
label = "Z=";
}
: text_part {
key = "22";
width = 12;
}
}
}
: boxed_column {
label = "Z Axis";
: concatenation {
: text_part {
label = "X=";
}
: text_part {
key = "03";
width = 12;
}
}
: concatenation {
: text_part {
label = "Y=";
}
: text_part {
key = "13";
width = 12;
}
}
: concatenation {
: text_part {
label = "Z=";
}
: text_part {
key = "23";
width = 12;
}
}
}
}
: ok_button {
is_cancel = true;
}
}
acad_plan : dialog {
label = "UCS Control";
initial_focus = "listbox";
spacer;
: list_box {
label = "&UCS Names";
tabs = "34";
key = "listbox";
width = 44;
tab_truncate = true;
}
: row {
: button {
label = "&Current";
key = "cur";
}
: button {
label = "&Delete";
key = "delete";
}
: button {
label = "&List...";
key = "list";
}
}
: row {
: button {
label = "&Rename To:";
key = "rename";
fixed_width = true;
}
: edit_box {
key = "rename_edit_box";
edit_width = 28;
edit_limit = 217;
}
}
ok_cancel_help_errtile;
}
acad_txtedit : dialog {
label = "Edit Text";
initial_focus = "text_edit";
: edit_box {
label = "Text:";
key = "text_edit";
edit_width = 40;
edit_limit = 2048;
allow_accept = true;
}
ok_cancel;
}
acad_attedit : dialog {
label = "Edit Attribute Definition";
initial_focus = "tag_edit";
: edit_box {
key = "tag_edit";
label = "Tag:";
edit_width = 40;
edit_limit = 2048;
}
: edit_box {
key = "prompt_edit";
label = "Prompt:";
edit_width = 40;
edit_limit = 2048;
}
: edit_box {
key = "default_edit";
label = "Default:";
edit_width = 40;
edit_limit = 2048;
}
ok_cancel;
: errtile { width = 45; }
}
acad_dlfname : dialog { // Single-file dialog
initial_focus = "fedit";
key = "dlfname";
files_topdf;
: row {
: list_box {
label = "Di&rectories:";
key = "dirbox";
width = 15;
}
: list_box {
label = "F&iles:";
key = "filebox";
width = 15;
allow_accept = true;
}
: column {
: image { // Drawing icon image will go here
key = "icon";
color = dialog_background; // Invisible
height = 4;
aspect_ratio = 1.4;
fixed_height = true;
fixed_width = true;
}
: button {
label = "&Type it";
key = "typeit";
}
: button {
label = "&Default";
key = "default";
}
}
}
files_bottomdf;
}
// acad_dlfmulti is used by the FILES command's Delete and Unlock
// options. It is similar to acad_dlfname (above), except that:
//
// - its file listbox has the "multiple_select" attribute,
// - its file listbox does not have the "allow_accept" attribute,
// - it has additional "Select all" and "Clear all" buttons, and
// - its title bar label is slightly different.
//
// Modifications to either dialog should be examined for their relevance
// to the other.
acad_dlfmulti : dialog { // Multiple-file dialog
initial_focus = "fedit";
key = "dlfname";
files_topdf;
: row {
: list_box {
label = "Di&rectories:";
key = "dirbox";
width = 15;
}
: list_box {
label = "F&iles:";
key = "filebox";
width = 15;
multiple_select = true;
}
: column {
: image { // Drawing icon image will go here
key = "icon";
color = dialog_background; // Invisible
alignment = centered;
height = 4;
aspect_ratio = 1.4;
fixed_height = true;
fixed_width = true;
}
spacer_1;
: button {
label = "&Select all";
key = "all";
}
: button {
label = "&Clear all";
key = "clear";
is_enabled = false;
}
spacer_1;
: button {
label = "&Type it";
key = "typeit";
}
: button {
label = "D&efault";
key = "default";
}
}
}
files_bottomdf;
}
acad_files : dialog {
label = "File Utilities";
initial_focus = "exit";
: row {
: column {
: button {
label = "&List files... ";
key = "list";
}
: button {
label = "&Delete file...";
key = "delete";
}
}
: column {
: button {
label = " &Copy file... ";
key = "copy";
}
: button {
label = "&Unlock file...";
key = "unlock";
}
}
: column {
: button {
label = "&Rename file...";
key = "rename";
}
: help_button {
fixed_width = false;
}
}
}
errtile;
: button {
label = " E&xit ";
key = "cancel";
fixed_width = true;
alignment = centered;
is_cancel = true;
is_default = true;
}
}
acad_info : dialog {
label = "Program Information"; // Overridden by caller
key = "acad_info";
: row {
: image {
key = "logo";
width = 8;
aspect_ratio = 1.0;
fixed_height = true;
alignment = top;
color = dialog_background;
}
: paragraph {
: text_part {
key = "text1";
width = 63;
}
: text_part {
key = "text2";
width = 63;
}
: text_part {
key = "text3";
width = 63;
}
: text_part {
key = "text4";
width = 63;
}
: text_part {
key = "text5";
width = 63;
}
: text_part {
key = "text6";
width = 63;
}
: text_part {
key = "text7";
width = 63;
}
: text_part {
key = "text8";
width = 63;
}
: text_part {
key = "text9";
width = 63;
}
: text_part {
key = "text10";
width = 63;
}
}
}
spacer;
: list_box {
width = 63;
key = "listbox";
}
: ok_button { // Permit exit via either ENTER
is_cancel = true; // or CTRL-C.
}
}
init_view : dialog {
key = "title";
initial_focus = "listbox";
: list_box {
tabs = "33";
width = 40;
key = "listbox";
allow_accept = true;
}
ok_cancel_err;
}
acad_plot : dialog {
label = "Print / Plot Configuration";
: row {
: column {
: boxed_column {
label = "Device and Default Information";
: text {
key = "userid";
width = 35;
}
: button {
label = "&Device and Default Selection...";
fixed_width = true;
key = "devsel";
alignment = centered;
}
}
: boxed_row {
label = "Pen Parameters";
children_fixed_width = true;
: button {
label = "&Pen Assignments...";
key = "assign";
}
: button {
label = "&Optimization...";
key = "optimize";
}
}
: boxed_column {
label = "Additional Parameters";
: row {
: radio_column {
fixed_width = true;
: radio_button {
label = "Displa&y";
key = "D";
}
: radio_button {
label = "E&xtents";
key = "E";
}
: radio_button {
label = "&Limits";
key = "L";
}
: radio_button {
label = "&View";
key = "V";
}
: radio_button {
label = "&Window";
key = "W";
}
}
: column {
: edit12_box {
label = "Text Resolution";
key = "textreso";
errmsg = "Text Resolution";
}
: toggle {
label = "Text Fill";
key = "textfill";
}
: toggle {
label = "Hide&-Lines";
key = "hide";
}
: toggle {
label = "Ad&just Area Fill";
key = "plfill";
}
: toggle {
label = "Plot To &File";
key = "file";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -