- 积分
- 1472
- 明经币
- 个
- 注册时间
- 2004-5-8
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
dim BasePnt As Variant BasePnt = AcadApp.ActiveDocument.Utility.GetPoint(, vbCrLf + "请输入点:")
Dim curves(1) As AcadEntity
Set curves(0) = AcadApp.ActiveDocument.ModelSpace.AddArc(BasePnt, 30, 0, 3.1415926) Set curves(1) = AcadApp.ActiveDocument.ModelSpace.AddLine(curves(0).startpoint, curves(0).endpoint) '创建面域 Dim regionobj As Variant Set regionobj = AcadApp.ActiveDocument.ModelSpace.AddRegion(curves) |
|