如何将polyline转化为region
www.dimcax.com
如何将polyline转化为region
《autocad vba & vb.net开发基础与实例教程》中有添加region的方法,我现在是想将polyline转化为region,但并不想将转换的region写在数据库中,只是想利用region的布尔运算功能进行布尔运算,该如何办?请各位指点!
知道怎么写了: dbobjectcollection regions = autodesk.autocad.databaseservices.region.createfromcurves(segments); for (int j = 0; j < regions.count; j++) { autodesk.autocad.databaseservices.region region = (autodesk.autocad.databaseservices.region )regions[j]; }
wywzy
有更好的方法吗??感觉这个方法好麻烦啊。
路漫漫其修远兮,吾将上下而求索!