Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
George Omura. Lisp programing tutorial for AutoCAD customization / 620.0.The ABC's of AutoLISP - Omura, George.pdf
Скачиваний:
140
Добавлен:
02.05.2014
Размер:
1.55 Mб
Скачать

The ABC’s of AutoLISP by George Omura

Appendix A: Menu Primer

You can find comprehensive information on AutoCAD Menus in the AutoCAD help system. Here are instructions for finding the section devoted to Menus.

1.In AutoCAD, choose Help > Developer Help from the menubar

2.Click on the Contents tab in the Help Topics dialog box, then expand the Customization Guide listing

3.Expand the Custom Menus listing. You will see the list of topics. Click on the topic of your choice. You can also refer to Chapter 29 of Mastering AutoCAD for tutorials on menu customization.

259

Copyright © 2001 George Omura,,World rights reserved

The ABC’s of AutoLISP by George Omura

Appendix B: Error Messages

Error codes have been completely retooled in AutoCAD 2002. AutoCAD 2002 now offers Visual LISP which is a programming environment designed for AutoLISP. There, you'll find an environment that helps you find errors quickly, You can open Visual LISP by choosing Tools > AutoLISP > Visual LISP Editor. The Visual LISP Editor offers many of the tools you expect to find in a modern programming environment.

A discussion of Visual LISP is not currently available in this document. You can find a tutorial and reference guide built into Visual LISP by choosing Help > Developer List. Click on the Contents tab to see a listing of topics including Visual LISP Developer’s Guide and Visual LISP Tutorial.

Visual LISP is an advanced tool that expects the user to have a working knowledge of AutoLISP. You may want to work with the ABC's of AutoLISP until you feel comfortable with AutoLISP.

260

Copyright © 2001 George Omura,,World rights reserved

The ABC’s of AutoLISP by George Omura

Appendix C: Group Codes

You can find a comprehensive listing of group codes in the AutoCAD help system. Here are instructions for finding the group codes.

1.In AutoCAD, choose Help > Developer Help from the menubar

2.Click on the Contents tab of the Help Topics dialog box, then expand the DXF Reference listing

You can then expand the other options under DXF Reference for group codes pertaining to the selected topic.

261

Copyright © 2001 George Omura,,World rights reserved

The ABC’s of AutoLISP by George Omura

Appendix D: System and Dimension

Variables

You can find a comprehensive listing of dimension variables in the AutoCAD help system. Here are instructions for finding the dimension variables information.

1.In AutoCAD, choose Help > Help from the menubar

2.Click on the Contents tab in the Help dialog box then expand the Command Reference listing

3.Expand the System Variables listing

You will see a listing of system variables with a brief description to the right. You can click on the system variable name to get a more detailed description.

262

Copyright © 2001 George Omura,,World rights reserved

The ABC’s of AutoLISP by George Omura

263

Copyright © 2001 George Omura,,World rights reserved