linboying 发表于 2008-4-13 11:45:00

用sendcommand做剖切问题

<p>strpnt1 = pt1(0) &amp; "," &amp; pt1(1) &amp; "," &amp; pt1(2)<br/>strpnt2 = pt2(0) &amp; "," &amp; pt2(1) &amp; "," &amp; pt2(2)<br/>strpnt3 = pt3(0) &amp; "," &amp; pt3(1) &amp; "," &amp; pt3(2)<br/>strpnt4 = pt4(0) &amp; "," &amp; pt4(1) &amp; "," &amp; pt4(2)</p><p>用strpnt1,strpnt2,strpnt3这三点剖切实体,保留strpnt4点所在的一侧实体,我写的语句如下:Thisdrawing.SendCommand "_slice" &amp; vbCr &amp; "3" &amp; vbCr &amp; strpnt1 &amp; vbCr &amp; strpnt2 &amp; vbCr &amp; strpnt3 &amp; vbCr &amp; strpnt4,可是运行的结果只选择了被剖切的实体(高亮),而未做剖切,不知错在哪里?另,用slicesolid(pt1,pt2,pt3,true/false)做剖切,无法按要求保留需要的实体,请高手门指点!</p>
页: [1]
查看完整版本: 用sendcommand做剖切问题