http://www.charlesandhudson.com/archives/hand-tools-list-important.jpgPPT_LOGO_4b
‹#›
Autodesk Confidential Information November 2009
美酒 – 边界追踪
期待已久的功能 …
Acad::ErrorStatus acedTraceBoundary( const AcGePoint3d& seedPoint,
                             bool detectIslands, AcDbVoidPtrArray& resultingBoundarySet );
Editor.TraceBoundary( seedPoint As Point3d, detectIslands As Boolean )
                             As DBObjectCollection
ObjectARX 和 .NET都支持
边界跟踪是一个期待已久的功能,经常会有AND用户提出需要这个功能,原来我们采取的办法是利用BOUNDARY 命令,在其运行时,用ssget提取BOUNDARY 所解析出的边界,这种方法比较笨拙。现在这个功能暴露出来了,方便易用。这就是为什么我们特别用一个PPT来给大家介绍。

不过需要注意的是,和BOUNDARY 一样,这个功能要求图形在屏幕上可见。也就是说,假设你所考察的边界实体需要显示在图纸中。

A boundary tracing API has been the most frequently requested API in DevHelp Online over the last few years. And here it is. Its popularity is why one small function gets a powerpoint slide all to itself.

Just like the AutoCAD BOUNDARY command, the function requires graphics to be visible on-screen to work – like SSGet.