高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|