几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】applying spatial filters (http://www.dimcax.com/hust/showthread.php?t=15118)

yang686526 2009-05-04 04:07 PM

【转帖】applying spatial filters
 
applying spatial filters
applying spatial filters
i'd like to apply spatial filters to the block entities while performing conversation into a custom drawing format.
with given oddbblocktablerecord pointer, i can query for corresponding spatial filter (oddbindexfiltermanager::getfilter), the question is what can i do with the oddbfilter pointer received as a result? should i cast it to oddbspatialfilter, retrieve boundaries and clip all entities of the block by myself, or is there an easier way?

probably easier way is to use gi vectorization pipeline. it can apply spatial filters. see, for example, dwf or svg export.
sincerely yours,
george udov


所有的时间均为北京时间。 现在的时间是 06:17 AM.