城市勘测
城市勘測
성시감측
URBAN GEOTECHNICAL INVESTIGATION & SURVEYING
2012年
3期
149-151
,共3页
AutoCAD%批量打印%VBA编程
AutoCAD%批量打印%VBA編程
AutoCAD%비량타인%VBA편정
AutoCAD%print in batches%VBA programming
AutoCAD软件在测绘行业得到了广泛的应用,其数字测绘产品大部分采用AutoCAD软件的dwg或dxf这两种文件类型存储。AutoCAD软件的通用功能已经足够强大,但针对具体测绘领域的某些功能还有局限性。如采用Auto-CAD的打印功能进行批量打印,则需要对每幅图进行选择、设置和打印,工作效率较低,这就需要开发一种能快速批量打印的功能。本文主要介绍了在AutoCAD平台上利用VBA二次开发工具编程,实现不同比例尺图纸按确定的顺序进行批量打印。
AutoCAD軟件在測繪行業得到瞭廣汎的應用,其數字測繪產品大部分採用AutoCAD軟件的dwg或dxf這兩種文件類型存儲。AutoCAD軟件的通用功能已經足夠彊大,但針對具體測繪領域的某些功能還有跼限性。如採用Auto-CAD的打印功能進行批量打印,則需要對每幅圖進行選擇、設置和打印,工作效率較低,這就需要開髮一種能快速批量打印的功能。本文主要介紹瞭在AutoCAD平檯上利用VBA二次開髮工具編程,實現不同比例呎圖紙按確定的順序進行批量打印。
AutoCAD연건재측회행업득도료엄범적응용,기수자측회산품대부분채용AutoCAD연건적dwg혹dxf저량충문건류형존저。AutoCAD연건적통용공능이경족구강대,단침대구체측회영역적모사공능환유국한성。여채용Auto-CAD적타인공능진행비량타인,칙수요대매폭도진행선택、설치화타인,공작효솔교저,저취수요개발일충능쾌속비량타인적공능。본문주요개소료재AutoCAD평태상이용VBA이차개발공구편정,실현불동비례척도지안학정적순서진행비량타인。
The AutoCAD software is widely used in surveying field.The digital surveying products are largely stored by the format of "dwg"or "dxf".Although the general function of AutoCAD software is very strong,there are some limitations in some specific surveying field for some kinds of functions.Taking the example of printing functions of the AutoCAD software in batches,it is needed to select,set and print every drawings separately,so that it's needed to develop a function to print the drawings in batches fast to improve the efficiency.This paper mainly introduced the method of using the VBA secondary development tools to program the computer on the AutoCAD platform to realize the aim to print different-scale drawings in batches according to the determinate order.