由多边型选择时,怎么有时候是空的呢?有时候可以
<P>由多边型选择时,怎么有时候是空的呢?</P><P>有时候是空,再重复一边又不是空的</P>
<P>这是为什么????/</P> <P>看看你的代码?</P> <P>代码: </P>
<P>PlshuZu = Plbound.Coordinates<BR> Dim SelectMaph As AcadSelectionSet<BR> <BR> ThisDrawing.SelectionSets("selectmapfull").Delete<BR> Set SelectMaph = ThisDrawing.SelectionSets.Add("selectmapfull")<BR> ThisDrawing.SelectionSets("selectmapfull").Clear<BR> SelectMaph.Clear<BR> '************************************<BR> boundPLIn = BoundPl(i).Offset(-0.05)<BR> If boundPLIn(0).Area > BoundPl(i).Area Then<BR> boundPLIn(0).Delete<BR> boundPLIn = BoundPl(i).Offset(0.05)<BR> End If</P>
<P> '**************************************<BR> SelectMaph.Update<BR> SelectMaph.SelectByPolygon acSelectionSetCrossingPolygon, boundPLIn(0).Coordinates<BR> SelectMaph.Update<BR> boundPLIn(0).Delete<BR> ReDim boundPLIn(0 To 0) As AcadEntity<BR> Set boundPLIn(0) = BoundPl(i)<BR> SelectMaph.AddItems boundPLIn<BR> SelectMaph.Update<BR> Bpoint(0) = PlshuZu(i * 2): Bpoint(1) = PlshuZu(i * 2 + 1)<BR> Ang = PL_infor(i, 0)<BR> <BR> Call MakeStretch.Copy_Move_rotate(BoundPl(i), SelectMaph, Bpoint, Mpoint, Ang)<BR></P>
<P>还有个问题:我用extrim裁剪时有时候出现:”未找到多段线复制端点“或“对象未与边相交” 是什么意思?</P>
页:
[1]