home *** CD-ROM | disk | FTP | other *** search
- // Next available MSG number is 120
- // MODULE_ID DDIM_DCL_
- /* Next available MSG number is 185 */
- //
- // DDIM.DCL Version 1.0
- //
- // Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
- //
- // Permission to use, copy, modify, and distribute this software
- // for any purpose and without fee is hereby granted, provided
- // that the above copyright notice appears in all copies and
- // that both that copyright notice and the limited warranty and
- // restricted rights notice below appear in all supporting
- // documentation.
- //
- // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
- // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
- // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- // UNINTERRUPTED OR ERROR FREE.
- //
- // Use, duplication, or disclosure by the U.S. Government is subject to
- // restrictions set forth in FAR 52.227-19 (Commercial Computer
- // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
- // (Rights in Technical Data and Computer Software), as applicable.
- //
- //.
- //
- //
-
- ddimx_row :row{
- children_alignment = bottom;
- }
-
- //
- // Dimension line color
- //
- ddimx_colord :ddimx_row{
-
- :button{
- label = "&Color...";
- key = /*MSG0*/"clrdl";
- }
- :spacer{ width = 7; }
- :swatch{
- key = /*MSG0*/"clrd";
- }
- :edit_box{
- key = /*MSG0*/"clrdt";
- edit_width = 12;
- }
- }
-
- //
- // Extension line color
- //
- ddimx_colore :ddimx_row{
-
- :button{
- label = "C&olor...";
- key = /*MSG0*/"clrel";
- }
- :spacer{ width = 7; }
- :swatch{
- key = /*MSG0*/"clre";
- }
- :edit_box{
- key = /*MSG0*/"clret";
- edit_width = 12;
- }
- }
- //
- // Dimension text color
- //
- ddimx_colort :ddimx_row{
-
- :button{
- label = "&Color...";
- key = /*MSG0*/"clrtl";
- fixed_width = true;
- width = 10;
- }
- :spacer{ width = 7; }
- :swatch{
- key = /*MSG0*/"clrt";
- }
- :edit_box{
- key = /*MSG0*/"clrtt";
- edit_width = 12;
- }
- }
-
- ddimx_alert :dialog{
- label = "Advertencia";
- :text{
- label = "┐Guardar los cambios en el estilo actual?";
- key = /*MSG0*/"dalert_sty";
- alignment = centered;
- }
- :spacer{ height = 0.5; }
- :row{
- fixed_width = true;
- alignment = centered;
- :button{
- label = "&Sφ";
- key = /*MSG0*/"dalert_save";
- width = 8;
- fixed_width = true;
- }
- :spacer{ width = 1; }
- :button{
- label = "&No";
- key = /*MSG0*/"dalert_discard";
- width = 8;
- fixed_width = true;
- }
- :spacer{ width = 1; }
- :button{
- label = "Cancelar";
- key = /*MSG0*/"dalert_cancel";
- is_cancel = true;
- width = 8;
- fixed_width = true;
- }
- }
- :spacer{ height = 0.5; }
- }
-
- ddimx_alert_fam :dialog{
- label = "Advertencia";
-
- //This alert message is:
- //
- // Running overrides can only be set for
- // Parent dimension styles.
- //
- :text{
- label = "Los estilos momentßneos s≤lo pueden";
- alignment = centered;
- }
- :text{
- label = "definirse para estilos padre.";
- alignment = centered;
- }
- :spacer{ height = 0.5; }
- ok_only;
- :spacer{ height = 0.5; }
- }
-
- // ===============================================================
- //
- // Dimension Style Main Dialog - calls Geometry, Text Location
- // and Annotation subdialogs
- //
- // ===============================================================
-
- ddim :dialog{
- label = "Estilos de acotaci≤n";
- :boxed_column{
- label = "Estilo de acotaci≤n";
- fixed_width = true;
- :row{
- :text_part{
- label = "&Actual:";
- width = 9;
- fixed_width = true;
- }
- :popup_list{ // lists for current working dimstyles
- key = /*MSG0*/"style";
- list = /*MSG0*/"";
- edit_width = 31;
- }
- }
- :row{
- :text_part{
- label = "N&ombre:"; // style name
- width = 9;
- fixed_width = true;
- }
- :edit_box{ // for user to enter/specify
- key = /*MSG0*/"editstyle";
- edit_width = 31;
- edit_limit = 217;
- }
- }
- :row{
- fixed_width = true;
- alignment = centered;
- :button{ // save/create edited dimstyle
- label = "&Guardar";
- key = /*MSG0*/"save";
- width = 10;
- }
- :spacer{ width = 0.5; }
- :button{ // rename selected dimstyle name
- label = "R&enombrar";
- key = /*MSG0*/"rename";
- width = 10;
- }
- :spacer{ width = 0.2; }
- }
- }
- :row{
- :boxed_row{
-
- // Since DCL doesn't support m x n matrix radio buttons,
- // we have to manually track the choice from multiple clusters
- // as if they were a sinble cluster.
- // When a button from the other cluster was selected, turn off
- // the current button by sweeping the cluster first, then let
- // the chosen button on. This operation is done in apps.
-
- label = "Familia";
- :radio_column{
- key = /*MSG0*/"family1";
- :radio_button{
- label = "&Padre";
- key = /*MSG0*/"parent";
- }
- :radio_button{
- label = "&Lineal";
- key = /*MSG0*/"linear";
- }
- :radio_button{
- label = "&Radial";
- key = /*MSG0*/"radius";
- }
- :radio_button{
- label = "A&ngular";
- key = /*MSG0*/"angle";
- }
- }
- :radio_column{
- key = /*MSG0*/"family2";
- // Somehow in this layout of clusters, they are
- // slightly off balanced. In other words, the buttons
- // in each clusters are not displayed horizontally.
- // To correct the bias, we used a spacer of 1.5.
-
- : spacer { height = 1.5; }
- :radio_button{
- label = "Diß&metro";
- key = /*MSG0*/"diameter";
- }
- :radio_button{
- label = "&Coordenada";
- key = /*MSG0*/"ordinate";
- }
- :radio_button{
- label = "Directri&z";
- key = /*MSG0*/"leader";
- }
- }
- }
- :column{
- alignment = top;
- :spacer{ height = 0.7; }
- :button{ // calls subdialog
- label = "Geome&trφa...";
- key = /*MSG0*/"geometry";
- }
- :button{ // calls subdialog
- label = "&Formato...";
- key = /*MSG0*/"txtloc";
- }
- :button{ // calls subdialog
- label = "Anotac&i≤n...";
- key = /*MSG0*/"annotation";
- }
- }
- }
- spacer;
- ok_cancel_help_errtile;
- }
-
- //
- // Dimension Geometry Subdialog
- //
-
- ddimx_geometry :dialog{
- label = "Geometrφa";
- :row{
- fixed_height = true;
- :column{
- :boxed_column{
- //
- // This is boxed column for Dimension Line.
- //
- label = "Lφnea de cota";
- key = /*MSG0*/"g_diml";
- :row{
- :text{
- label = "Suprimir: ";
- }
- :column{
- :spacer{ height = 0.2; }
- :toggle{
- label = "1&era";
- key = /*MSG0*/"sd1";
- }
- }
- :column{
- :spacer{ height = 0.2; }
- :toggle{
- label = "2&nda";
- key = /*MSG0*/"sd2";
- }
- }
- }
- :edit12_box{
- label = "Extens&i≤n: ";
- key = /*MSG0*/"dle";
- }
- :edit12_box{
- label = "Esp&acio: ";
- key = /*MSG0*/"dli";
- }
- ddimx_colord;
- }
- :boxed_column{
- //
- // This is boxed column for Extension Line.
- //
- label = "Lφnea de referencia";
- key = /*MSG0*/"extline";
- :row{
- key = /*MSG0*/"g_extl";
- :text{
- label = "Suprimir: ";
- }
- :column{
- :spacer{ height = 0.3; }
- :toggle{
- label = "1&era";
- key = /*MSG0*/"se1";
- }
- }
- :column{
- :spacer{ height = 0.3; }
- :toggle{
- label = "2&nda";
- key = /*MSG0*/"se2";
- }
- }
- }
- :edit12_box{
- label = "E&xtensi≤n: ";
- key = /*MSG0*/"exe";
- }
- :edit12_box{
- label = "Des&fasar origen: ";
- key = /*MSG0*/"exo";
- }
- ddimx_colore;
- }
- }
- :column{
- :boxed_column{
-
- // This is boxed column for Arrwos.
- // In this popup lists, 'User Arrow' will let you open another
- // subdialog called 'ddimx_userarr'.
-
- label = "Flechas";
- key = /*MSG0*/"g_arrs";
- :row{
- fixed_width = true;
- alignment = right;
- :image_button{
- color = 0;
- width = 8.7;
- aspect_ratio = 0.36;
- fixed_height = true;
- fixed_width = true;
- alignment = right;
- key = /*MSG0*/"arr_icon1";
- }
- :image_button{
- color = 0;
- width = 8.7;
- aspect_ratio = 0.36;
- fixed_height = true;
- fixed_width = true;
- alignment = right;
- key = /*MSG0*/"arr_icon2";
- }
- }
- :popup_list{
- label = "1e&ra: ";
- key = /*MSG0*/"blk1";
- list = "Ninguna \nCerrada \nPunto \nCerrada y rellena \nOblicua \nAbierta \nIndicaci≤n origen \nAngulo derecho \nFlecha de usuario...";
- edit_width = 20;
- }
- :popup_list{
- label = "2n&da:";
- key = /*MSG0*/"blk2";
- list = "Ninguna \nCerrada \nPunto \nCerrada y rellena \nOblicua \nAbierta \nIndicaci≤n origen \nAngulo derecho \nFlecha de usuario...";
- edit_width = 20;
- }
- :edit12_box{
- label = "Tama±o flec&ha: ";
- key = /*MSG0*/"asz";
- }
- }
- :boxed_column{
- key = /*MSG0*/"cenmarks";
-
- // This is boxed column for center marks.
- // Choosing a button, its image will be shown in the image box.
-
- label = "Centro";
- :row{
- :radio_column{
- key = /*MSG0*/"cen_mark";
- :radio_button{
- label = "&Marca";
- key = /*MSG0*/"cen_mk";
- }
- :radio_button{
- label = "&Lφnea";
- key = /*MSG0*/"cen_ln";
- }
- :radio_button{
- label = "Nin&guno";
- key = /*MSG0*/"cen_no";
- }
- }
- :image_button{
- color = 0;
- width = 11;
- aspect_ratio = 0.8;
- fixed_height = true;
- fixed_width = true;
- alignment = centered;
- key = /*MSG0*/"cen_icon";
- }
- }
- :spacer { height = 0.1; }
- :edit12_box{
- label = "&Tama±o centro: ";
- key = /*MSG0*/"cen";
- }
- }
- }
- }
- :boxed_column{
- label = "Escala";
- :row{
- :column{
- :edit12_box{
- fixed_width = true;
- label = "E&scala general: ";
- key = /*MSG0*/"gdscl";
- }
- :spacer{ height = 0.1; }
- }
- :toggle{
- label = "Esc. Es&pacio papel";
- key = /*MSG0*/"pspace";
- }
- }
- }
- ok_cancel_help_errtile_too;
- }
-
- //
- // Dimension Text Location Subdialog
- //
-
- ddimx_txtloc :dialog{
- label = "Formato";
- fixed_height = true;
- :row{
- :column{
- :column{
- :spacer{ height = 0.3; }
- :toggle{
- label = "&Definido por usuario";
- key = /*MSG0*/"jus";
- }
- :toggle{
- label = "Forzar &lφnea interior";
- key = "tofl";
- }
- :text {
- label = "&Ajustar: ";
-
- }
- :popup_list{
- key = /*MSG0*/"jfit";
- list = "Texto-flechas \nS≤lo texto \nS≤lo flechas\nMejor ajuste \nDirectriz";
- }
- :spacer{ height = 0.5; }
- }
- :boxed_column{
- //
- // This is boxed column for Justification.
- //
- label = "Justificaci≤n horizontal";
- fixed_height = true;
- height = 6.5;
- :spacer{ height = 0.2; }
- :image_button{
- color = 0;
- width = 11;
- aspect_ratio = 0.8;
- fixed_height = true;
- fixed_width = true;
- alignment = centered;
- key = /*MSG0*/"horjust_icon";
- }
- :spacer{ height = 0.2; }
- :popup_list{
- key = /*MSG0*/"horjust";
- list = "Centrado \n1¬ lφnea referencia \n2¬ lφnea referencia \nSobre 1¬ referencia \nSobre 2¬ referencia";
- }
- :spacer{ height = 0.2; }
- }
- }
- :column{
- :boxed_column{
- label = "Texto";
- fixed_height = true;
- :image_button{
- color = 0;
- width = 11;
- aspect_ratio = 0.8;
- fixed_height = true;
- fixed_width = true;
- alignment = centered;
- key = /*MSG0*/"tioh_icon";
- }
- :row{
- fixed_width = true;
- :spacer{ width = 0.5; }
- :column{
- fixed_height = true;
- :spacer{ height = 0.2; }
- :toggle{
- label = "H&orizontal interior";
- key = /*MSG0*/"tih";
- }
- :toggle{
- label = "Hori&zontal exterior";
- key = /*MSG0*/"toh";
- }
- }
- }
- }
- :boxed_column{
-
- // This is Vertical Justification.
- // Choose one, then highlight the related image box.
- // Conversely you can choose a image box, then highlight
- // the pull down list item.
-
- label = "Justificaci≤n vertical";
- fixed_height = true;
- height = 6.5;
- :spacer{ height = 0.2; }
- :image_button{
- color = 0;
- width = 11;
- aspect_ratio = 0.8;
- fixed_height = true;
- fixed_width = true;
- alignment = centered;
- key = /*MSG0*/"tad_icon";
- }
- :spacer{ height = 0.2; }
- :popup_list{
- key = /*MSG0*/"tad";
- list = "Centrado \nEncima \nExterior \nJIS";
- }
- :spacer{ height = 0.2; }
- }
- }
- }
- :spacer{ height = 0.2; }
- ok_cancel_help_errtile;
- }
-
- //
- // Dimension Annotation Subdialog
- //
-
- ddimx_annotation :dialog{
- label = "Anotaci≤n";
- fixed_width = true;
- :row{
- :column{
- :boxed_column{
-
- // This is boxed column for Dimension units.
- // The 'Units' button opens another subdialog called 'ddimx_units'.
- // This part is for the primary units.
-
- label = "Unidades principales";
- :row{
- :button{
- fixed_width = true;
- label = "U&nidades...";
- key = /*MSG0*/"annot_unitsp";
- }
- }
- :edit_box{
- label = "&Prefijo: ";
- key = /*MSG0*/"post_1";
- edit_width = 12;
- edit_limit = 91;
- }
- :edit_box{
- label = "&Sufijo: ";
- key = /*MSG0*/"post_2";
- edit_width = 12;
- edit_limit = 105;
- }
- :icon_image{
- color = 0;
- // width = 14;
- height = 2;
- aspect_ratio = 0.45;
- fixed_height = true;
- fixed_width = true;
- alignment = right;
- key = /*MSG0*/"post_icon1";
- allow_accept = false;
- }
- }
- :boxed_column{
- //
- // This is boxed portion for Tolerance.
- //
- label = "Tolerancia";
- :popup_list{
- label = "&MΘtodo: ";
- key = /*MSG0*/"toltypes";
- list = "Ninguno \nSimΘtrico \nDesviaci≤n \nLφmites \nBßsico";
- edit_width = 16;
- }
- :edit12_box{
- label = "&Valor superior: ";
- key = /*MSG0*/"tp";
- }
- :edit12_box{
- label = "Valor &inferior: ";
- key = /*MSG0*/"tm";
- }
- :popup_list{
- label = "&Justificaci≤n: ";
- key = "tolj";
- list = "Arriba \nEn medio \nAbajo";
- edit_width = 10;
- }
- :edit12_box{
- label = "&Altura: ";
- key = /*MSG0*/"tfac";
- }
- }
- :spacer{ height = 0.1; }
- }
- :column{
- :boxed_column{
-
- // This is boxed column for alternate dimunits.
- // The 'Units' button opens another subdialog 'ddimx_units',
- // but this one is for Alternate Units and the values in
- // ddimx_units subdialog are of the alternate units. It is
- // different from the stuff for the primary units.
-
- label = "Unidades alternativas";
- key = "alts";
- :row{
- :toggle{
- label = "AC&T unidades";
- key = /*MSG0*/"alt";
- }
- :button{
- fixed_width = true;
- label = "U&nidades...";
- key = /*MSG0*/"annot_unitsa";
- }
- }
- :column{
- key = /*MSG0*/"apost";
- :edit_box{
- label = "P&refijo: ";
- key = /*MSG0*/"apost_1";
- edit_width = 12;
- edit_limit = 91;
- }
- :edit_box{
- label = "Su&fijo: ";
- key = /*MSG0*/"apost_2";
- edit_width = 12;
- edit_limit = 105;
- }
- :icon_image{
- color = 0;
- // width = 14;
- height = 2;
- aspect_ratio = 0.45;
- fixed_height = true;
- fixed_width = true;
- alignment = right;
- key = /*MSG0*/"post_icon2";
- allow_accept = false;
- }
- }
- }
- :boxed_column{
- label = "Texto";
- :popup_list{
- label = "&Estilo: ";
- key = /*MSG0*/"txsty";
- edit_witdh = 31;
- list = /*MSG0*/"";
- }
- :edit12_box{
- label = "A<ura: ";
- key = /*MSG0*/"txt";
- }
- :edit12_box{
- label = "Espacia&do: ";
- key = /*MSG0*/"gap";
- }
-
- ddimx_colort;
- }
- :edit12_box{
- label = "Red&ondeo:";
- key = /*MSG0*/"rnd";
- }
- :spacer{ height = 0.2; }
- }
- }
- ok_cancel_help_errtile_too;
- }
-
- //
- // Dimension Units Subdialog - This is called by Annotation dialog.
- // There are two calling cases, one for
- // the primary units and another is for
- // the alternate units.
- //
-
- ddimx_unitsp :dialog{
- label = "Unidades principales";
- fixed_width = true;
-
- units_list;
- units_ufac;
-
- ok_cancel_help_errtile_too;
- }
-
-
- ddimx_unitsa :dialog{
- label = "Unidades alternativas";
- fixed_width = true;
-
- units_list;
- units_ufac;
-
- ok_cancel_help_errtile_too;
- }
-
- units_ufac :column{
- :boxed_row{
- label = "Escala";
- :column{
- :edit12_box{
- label = "&Lineal: ";
- key = /*MSG0*/"ufac";
- }
- :spacer{ height = 0.2; }
- }
- :spacer { width = 5; }
- :toggle{
- label = "S≤lo en &Espacio papel";
- key = /*MSG0*/"psufac";
- }
- }
- }
-
- units_list :column{
- //
- // Horizontal cluster that contains the Units and Angles clusters.
- //
- //
- // Units cluster.
- //
- :row{
- : boxed_column {
- width = 24;
- label = "U&nidades";
- //
- // Radio cluster for the units format selection.
- //
- : popup_list {
- key = /*MSG0*/"u_list";
- list = "Cientφficas \nDecimales \nPies/PI \nPies/PII \nFraccionarias";
- }
- :spacer{ height = 0.2; }
- }
- //
- // Angle Formats Control.
- //
- : boxed_column {
- width = 24;
- label = "&Angulos";
- //
- // Radio cluster for the angle format selection.
- //
- : popup_list {
- key = /*MSG0*/"u_alist";
- list = "Grados decimales \nGrados/min/seg \nGrados \nRadianes \nUnidades geodΘsicas";
- }
- :spacer{ height = 0.2; }
- }
- }
- :row{
- :boxed_column{
- label = "Cota";
- //
- // Linear Units Precision popup_list (System variable LUPREC).
- //
- : text {
- label = "&Precisi≤n:";
- }
- : popup_list {
- key = /*MSG0*/"u_dimdec";
- }
- :boxed_row{
- label = "Supresi≤n de ceros";
- key = /*MSG0*/"zsuppress";
- :column{
- :toggle{
- label = "A i&zquierda";
- key = /*MSG0*/"z3";
- }
- :toggle{
- label = "A de&recha";
- key = /*MSG0*/"z4";
- }
- }
- :column{
- key = "feetinch";
- :toggle{
- label = "0 P&ies";
- key = /*MSG0*/"z1";
- }
- :toggle{
- label = "0 Pul&gadas";
- key = /*MSG0*/"z2";
- }
- }
- }
- }
- :boxed_column{
- label = "Tolerancia";
- //
- // Angle Precision popup_list (system variable AUPREC).
- //
- spacer_0;
- : text {
- label = "Pre&cisi≤n:";
- }
- : popup_list {
- key = /*MSG0*/"u_toldec";
- }
-
- :boxed_row{
- label = "Supresi≤n de ceros";
- key = /*MSG0*/"tzsuppress";
- :column{
- :toggle{
- label = "A iz&quierda";
- key = /*MSG0*/"tz3";
- }
- :toggle{
- label = "A derec&ha";
- key = /*MSG0*/"tz4";
- }
- }
- :column{
- key = /*MSG0*/"tfeetinch";
- :toggle{
- label = "0 P&ies";
- key = /*MSG0*/"tz1";
- }
- :toggle{
- label = "0 Pulgada&s";
- key = /*MSG0*/"tz2";
- }
- }
- }
- }
- }
- }
-
-
- //
- // User Arrow subdialog - This is called by Geometry when the user
- // selects 'User Arrow' tile.
- // This dialog allows for the user to set user
- // arrow head block names.
- //
-
- ddimx_userarr :dialog{
- label = "Flecha de usuario";
- fixed_width = true;
- :spacer{ height = 0.3; }
- :edit_box{
- label = "Nombre de &flecha: ";
- key = /*MSG0*/"userarr1";
- fixed_width = true;
- alignment = centered;
- edit_width = 12;
- edit_limit = 217;
- }
- :spacer{ height = 0.5; }
- ok_cancel_help_errtile;
- }
-
- //==========================================================
- // 'rq_chroma:dialog{}' must be present here because DDIM.DCL
- // can not share the same dcl function defined in ACAD.DCL since
- // DDIM has been separated from ACAD.DCL.
- //
-
- // The standard color selection dialogue comes to ADS
- // The meat of the dialogue is defined in base.dcl and used here and in
- // acad.dcl.
-
- rq_chroma :dialog {
- label = "Seleccionar color";
- key = "chroma"; // used by Help button to obtain label
- initial_focus = "color_edit";
- std_rq_color;
- }
-
- ok_cancel_help_errtile_too : column {
- :row {
- errtile;
- ok_cancel_help;
- }
- }
-
- // ==== End of the DDIMX dialogs portion ====
-
-
-