这个面域怎么不能创建
<P> Dim curves1(0 To 3) As AcadEntity</P><P> Set curves1(0) = AcadApp.ActiveDocument.ModelSpace.AddArc(basePoint2, h / 2, -pi / 2, pi / 2)<BR> curves1(0).Rotate3D curves1(0).StartPoint, curves1(0).EndPoint, pi / 2<BR> <BR> <BR> Set curves1(1) = AcadApp.ActiveDocument.ModelSpace.AddArc(basePoint3, h / 2, pi / 2, (pi * 3) / 2)<BR> curves1(1).Rotate3D curves1(1).StartPoint, curves1(1).EndPoint, -pi / 2<BR> <BR> Set curves1(2) = AcadApp.ActiveDocument.ModelSpace.AddLine(curves1(0).EndPoint, curves1(1).StartPoint)<BR> Set curves1(3) = AcadApp.ActiveDocument.ModelSpace.AddLine(curves1(1).EndPoint, curves1(0).StartPoint)<BR> ' Create the region<BR> <BR> Dim regionObj As Variant<BR> Dim regionObj1 As Variant<BR> <BR> <FONT color=#dd4822>regionObj1 = AcadApp.ActiveDocument.ModelSpace.AddRegion(curves1)</FONT></P> 出现的错误信息为,输入无效
页:
[1]