摘要
针对工作中需要将多个图样按序排列的需求,将图样排序方式写入表格,CAD中的每张图样通过遍历加上扩展数据。AutoCAD读取表格中的序列后,通过扩展数据定位图样,然后指定图样放置的位置,实现多个图样的按序排列。
In order to arrange multiple drawings in order in the work,the drawing ordering method is written into the table.Each drawing in CAD is traversed,and extended data is added.After AutoCAD reads the sequence in the table,it locates the drawing by extending the data,and then specifies the place where the drawing is placed,so that multiple drawings are arranged in order.
作者
张培媛
ZHANG Peiyuan(Zhongwang(Liaoyang)Aluminum Template Manufacturing Co.,Ltd.,Liaoyang 111003,China)
出处
《机械工程师》
2020年第4期134-135,共2页
Mechanical Engineer
关键词
AUTOCAD二次开发
按序排图
扩展数据
属性块
AutoCAD secondary development
sequential arrangement drawing
extended data
attribute block