下载此文档

英文文献.doc


文档分类:外语学习 | 页数:约21页 举报非法文档有奖
1/21
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/21 下载此文档
文档列表 文档介绍
AutoLisp Examples Auto lisp Basics Auto lisp is the grand daddy of Auto CAD programming tools and you ’dbe amazed at the amount of Auto lisp programming tools you can find on the . Given a little knowledge you can integrate existing Auto lisp routines into your own and gain tremendous power over your AutoCAD based installation. The first thing to understand is that Auto lisp has a couple of key files and a key function that perform startup operations for you. The key files are called and and the key function is called S::STARTUP and their operations are as summarized here: – This file loads when AutoCAD starts up. Any programming you place within this file will be automatically loaded every time AutoCAD starts. The file is normally located in the SUPPORT subdirectory of the AutoCAD installation. – This file loads every time a new drawing session is started in AutoCAD 2000, 2000i or2002 based products. Therefore any programming you place in this file will be loaded automatically every time a drawing is opened or started. Note that while the file would load in the FIRST drawing of the AutoCAD 2000 type products only the file will load with subsequent drawings. Since AutoCAD R14 doesn ’t support multiple drawing sessions you won ’t have to worry about the file with R14. Like the file, is normally located in the SUPPORT subdirectory of the AutoCAD installation. S::STARTUP function – This function is typically within the file (or file for AutoCAD R14 installations) and its sole job is to execute mands you need to initialize your new drawing environment. This function is the perfect place to set system variables like DIMSCALE, VIEWRES parameters, current layers, etc. The most powerful aspect of the S::STARTUP function is that it invokes automatically and it lets you control exactly how the AutoCAD environment is initialized. Simple Examples If you

英文文献 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数21
  • 收藏数0 收藏
  • 顶次数0
  • 上传人phl808
  • 文件大小92 KB
  • 时间2017-01-03