几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】resbuf And Conditional Filters (http://www.dimcax.com/hust/showthread.php?t=18445)

yang686526 2009-05-07 03:05 PM

【转帖】resbuf And Conditional Filters
 
resbuf and conditional filters
resbuf and conditional filters
i understand that the current version of the libraries doesn't support conditional filters. in other words (from the autodesk example)
-4 . "<or",
-4 . "<and",
rtdxf0, "circle",
40, 1.0,
-4, "and>",
-4, "<and",
rtdxf0, "line",
8, "mylayer",
-4, "and>",
-4, "or>"
can't be used in creating a selection set.
i'm trying to store these conditional filters in xrecords in the drawing.
however, i can't create a resbuf with a -4 code because the libraries don't acknowledge -4 as a valid value. could future versions of the library be updated to allow the -4 code as a string type--even if not supporting conditional filters?
current version supports resbufs as filter but not like your example ("and", "or" etc.)
i added support for -1, -2, -4 group codes for 2.5 release.
sergey slezkin
thanks!
thanks for the feedback--and adding the support.


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