L
lllaaa
Unregistered / Unconfirmed
GUEST, unregistred user!
AutoCAD 中 ModelSpace.AddRegion(curves) 总是出错:
‘意外失败’!
期急救!!!
原程序:
curves:=varArrayCreate([0,1],varvariant);
curves[0]:=moSpace.AddArc(varArrayRef(cPt),r,s,e);
curves[1]:=moSpace.AddLine(curves[0].startPoint, curves[0].endPoint);
regionObj:=moSpace.AddRegion(varArrayRef(curves));
‘意外失败’!
期急救!!!
原程序:
curves:=varArrayCreate([0,1],varvariant);
curves[0]:=moSpace.AddArc(varArrayRef(cPt),r,s,e);
curves[1]:=moSpace.AddLine(curves[0].startPoint, curves[0].endPoint);
regionObj:=moSpace.AddRegion(varArrayRef(curves));