- 积分
- 414
- 明经币
- 个
- 注册时间
- 2005-4-20
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2005-7-3 19:09:00
|
显示全部楼层
ssetObj.SelectOnScreen FilterType, FilterData Set blockObj = ThisDrawing.Blocks.Add(insertionPnt, "CircleBlock") For Each element In ssetObj If element.ObjectName = "AcDbText" Then temp = element.TextString adText = temp temp = element.Height adhight = temp Set obtext = blockObj.AddText(adText, insertionPnt, adhight) ElseIf element.ObjectName = "AcDbPolyline" Then temp = element.Coordinates blockObj.AddPolyline (temp) End If Next
少给了一句,不好意思,删多余对话框的时候,不小心删掉了 |
|