求一段vb二次开发cad的代码

[复制链接]
查看11 | 回复2 | 2009-6-26 12:45:51 | 显示全部楼层 |阅读模式
((-1 . ) (0 . "LWPOLYLINE") (330 . ) (5 . "F1") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "0") (100 . "AcDbPolyline") (90 . 5) (70 . 1) (43 . 0.0) (38 . 0.0) (39 . 0.0) (10 558.344 515.854) (40 . 0.0) (41 . 0.0) (42 . 0.0) (10 1019.94 765.048) (40 . 0.0) (41 . 0.0) (42 . 0.0) (10 12...
回复

使用道具 举报

千问 | 2009-6-26 12:45:51 | 显示全部楼层
Option ExplicitSub test()Dim ent As AcadEntityFor Each ent In ThisDrawing.ModelSpace
MsgBox ent.EntityName'采用循环,输出各个实体的实体名NextMsgBox "共有" & ThisDrawing.ModelSpac...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行