请问大神们,用vb该如何在cad的线上添加图层?
请问大神们,用vb该如何在cad的线上添加图层?
添加图层代码如下:
程序代码:
dim myLayer as ACADLayer set myLayer = acaddoc.layers.add("New Layer") myLayer.color= acblue acaddoc.activelayer=myLayer
修改线的图层
dim myLine as ACADLine myLine.layer= myLayer