lunes, 26 de marzo de 2012

Aumento del número de caracteres visibles con el comando XLIST

En el blog de Lynn Allen  (Lynn Alle's Blog) se indica el procedimiento para conseguir que con el comando XLIST obtengamos un número de caracteres mayor que 31 en la caja que nos da la información del objeto seleccionado, sobre todo cuando tenemos largos nombres de ficheros referenciados y, por tanto, largos nombres de capa.

Básicamente  consiste en encontrar el fichero XLIST.DCL -en mi caso lo he encontrado en C:\Archivos de Programa\Autodesk\Autocad 2012 - Spanish\Express-, editarlo con el Bloc de Notas y sustituir por un número mayor que 31 en la fila donde aparece:
width=31;

y por un número mayor que 35 en las filas donde aparece width=35.

Aquí está el enlace:
http://lynn.blogs.com/lynn_allens_blog/2009/07/an-autocad-hip-tip-for-xlist-with-long-layer-names.html

Las últimas líneas de mi fichero XLIST.DCL han quedado así:
/  ----------------------------------------------------------------
xlistblock : dialog {
  label = "Xref/Block Nested Object List";
  : row {
    spacer; spacer;
    : column {
      : text {
        label = "Object:";
        //width = 12;
        //fixed_width = true;
      }
      : text {
        label = "Block Name:";
      }
      : text {
        label = "Layer:";
      }
      : text  {
        label = "Color:";
      }
      : text {
        label = "Linetype:";
      }
    }
    : column {
      : text {
        key = "sObjectType";
        //width = 35;
        //fixed_width = true;
      }
      : text {
        key = "sBlockname";
      }
      : text {
        key = "sLayer";
        width = 100;
      }
      : text {
        key = "sColor";
      }
      : text {
        key = "sLineType";
      }
    }
  }
  ok_only;
}

xlisttext : dialog {
  label = "Xref/Block Nested Object List";
  : row {
    spacer; spacer;
    : column {
      : text {
        label = "Object:";
        //width = 12;
        //fixed_width = true;
      }
      : text {
        label = "Style Name:";
      }
      : text {
        label = "Layer:";
      }
      : text  {
        label = "Color:";
      }
      : text {
        label = "Linetype:";
      }
    }
    : column {
      : text {
        key = "sObjectType";
        //width = 35;
        //fixed_width = true;
      }
      : text {
        key = "sStyleName";
      }
      : text {
        key = "sLayer";
        width = 100;
      }
      : text {
        key = "sColor";
      }
      : text {
        key = "sLineType";
      }
    }
  }
  ok_only;
}

xlist : dialog {
  label = "Xref/Block Nested Object List";
  : row {
    spacer; spacer;
    : column {
      : text {
        label = "Object:";
        //width = 12;
        //fixed_width = true;
      }
      : text {
        label = "Layer:";
      }
      : text  {
        label = "Color:";
      }
      : text {
        label = "Linetype:";
      }
    }
    : column {
      : text {
        key = "sObjectType";
        //width = 35;
        //fixed_width = true;
      }
      : text {
        key = "sLayer";
        width = 100;
      }
      : text {
        key = "sColor";
      }
      : text {
        key = "sLineType";
      }
    }
  }
  ok_only;
}

No hay comentarios:

Publicar un comentario