AutoLISP
CUCURSO DE AutoLISP-VisualLISP EL 5 DE FEB 2007
Solicite informacion:
vectorcad@yahoo.com
TEXTOS A LA VENTA
EL LIBRO "PROGRAMACIÓN CON AUTOLISP" DEL PROF. MORAN
HA SIDO PUESTO A LA VENTA POR LA
PRESTIGIOSA EDITORIAL "MACRO"
A NIVEL NACIONAL
AutoCAD 2000: Visual LISP Tutorial
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,133 páginas.
S/. 30
AutoCAD 2000: Visual LISP Developer's Guide
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,534 páginas.
S/. 90
AutoCAD 2000: AutoLISP Reference
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,426 páginas.
S/. 75
AutoCAD 2000: Migration Guide for Applications
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,259 páginas.
S/. 50
AutoCAD 2000: ActiveX and VBA Developer's Guide
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,431 páginas.
S/. 70
AutoCAD 2000: Object ARX Developer's Guide
Por Autodesk - Idioma inglés
Archivo en formato PDF impreso y anillado,839 páginas.
S/. 130
Entrega a domicilio sin recargo, pago contra entrega.
Pedidos: vectorcad@yahoo.com
Telf. 265 2282 - 9904 6564
ULTIMOS PROGRAMAS AutoLISP A LA VENTA
NLAYERS: Seleccione objetos y el programa los enviará a capas nuevas
manteniendo mismo color y mismo nombre con un prefijo. Util para independizar
las capas de todo un segundo piso en Architectural Desktop. (S/. 50)
CUADRICULA: Dibuja un rectángulo conteniendo una cuadrícula que coincide con
las coordenadas geográficas de la región. Util para topografia. (S/. 50)
NO DUPLICADOS: Elimina lineas redundantes o duplicadas en el dibujo. (S/. 50)
NO FALSOS EMPALMES: Corrige falsos encuentros entre lineas del dibujo. (S/. 50)
Entrega a domicilio sin recargo, pago contra entrega.
Pedidos: vectorcad@yahoo.com
Telf. 265 2282 - 9904 6564
ENLACES AutoLISP:
AUTOLISP SITE FOR AUTOCAD AND INTELLICAD USERS
A.
Vaernes' Web site features AutoLISP routines and related AutoCAD and IntelliCAD
functions. Routines handle block and layer management, save drawings as ZIP
files, and manipulate xref layers. There's also a forum for general AutoLISP
discussion for both AutoCAD and IntelliCAD.
http://autolisp.3utilities.com
SITE SERVES UP AUTOCAD CODE
The Copy-Paste Code site offers a library of code in such
categories as VBA for AutoCAD, VB6 , and more. You can download code that
performs common tasks and paste into your own routines. It also offers some free
downloads with open source (VB6) and VBA projects for AutoCAD 2000 and up. These
zoom to a layer, change text height on layer, and change all yellow to a color
of your choosing. You must register (free) to download.
http://www.copypastecode.com
Algunos trucos
CAMBIAR LA JUSTIFICACIÓN POR DEFECTO DEL MTEXT
Here's a tip from Autodesk that should work in AutoCAD R14.01
through 2002:
Mtext's default justification is top left. To change the default justification,
you can customize the mtext toolbar button or create a new one. Enter the
following AutoLISP code for the toolbar button:
(initdia)(command "Mtext" pause "justify" "MC" pause)
where MC means middle center justification. Other options are ML (middle left),
BL (bottom left), TC (top center), BC (bottom center), TR (top right), MR (middle
right), and BR (bottom right). To bypass the Multiline Text Editor, enter this
at the command line:
(command "mtext" pause "justify" "MC" pause)
CÓDIGOS DE CARACTERES ESPECIALES
Recently someone requested a list of AutoCAD formatting codes.
These codes work only with AutoCAD's standard text fonts:
%%d = degree
%%c = circle diameter
%%p = plus/minus tolerance
%%u = begin underline of text. Repeat to end underline.
%%o = begin overline of text. Repeat to end.
%%123 = {
%%124 = vertical line, or pipe
%%125 = }
%%126 = ~ (tilde)
You can also use ASCII characters, which you enter by pressing the Alt key while
you key in the ASCII number on the numeric keypad, with number lock enabled.
Alt+0176 = degree
Alt+0216 = diameter
Alt+0177 = tolerance
To determine ASCII codes, start the Character Map applications (Programs/Accessories/System
Tools). Select the appropriate font in the top box, then select the character
you want to use. The ASCII code will appear at bottom right.
SOLUCIÓN AL ESPACIADO EN LOS MTEXT
Thanks to all who sent in solutions for setting mtext to
Exact line spacing and for TrueType font display woes. We'll cover the
suggestions this week and next. Because most solutions were suggested by more
than one person, we'll draw names for the t-shirts.
This week, we'll look at simple solutions for setting mtext to Exact:
In the Mtext editor, select the tab labeled Line Spacing. There is an option
there for setting spacing to Exactly.
The TSPACETYPE variable controls line spacing. Set it to 2 for Exact. (1 is for
At Least):
(setvar "TSPACETYPE" 2)
The related variable TSPACEFAC sets the spacing factor (1=single spacing, 2=double
spacing, etc.)
Unfortunately, this value is not saved. To set the variable each time you run
AutoCAD, add the following line to your ACADDOC.LSP file:
(setvar "tspacetype" 2) ;sets line spacing to be exact
If you want a particular spacing factor (default is 1), add this line as well:
(SETVAR "TSPACEFAC" 1.5) ;for 1 1/2 spacing
Robert Davis notes, however, that dimension, leader and quick leader commands do
not take on this setting, even though AutoCAD documentation says that the
variables control the line spacing and type of multiline text objects (not just
those created with the Mtext command).
Right-click on your Text button and pick Customize from the bottom. Then right-click
again on your Text button to bring up the Button Properties dialog box. Change
the macro to read:
^C^C_mtext ;pause;line;exactly;;
or
^C^C_.MTEXT \_Li _Ex 1x
VEA AQUÍ PREGUNTAS Y RESPUESTAS |
Ir a La Página del Prof. Morán