AutoCAD ActiveX #5-2 Selection Filters (-4)

filtertype -4 Grouping code

filterdata remarks
"<AND" "AND>"
"<OR" "OR>"
"<NOT" "NOT>" ONLY ONE
"<XOR" "XOR>"

Example 2-1

Entity typeCircle
Layer name0
Radius<=10

filtertype(0) = 0: filterdata(0) = "Circle"
filtertype(1) = 8: filterdata(1) = "0"
filtertype(2) = -4: filterdata(2) = "<="
filtertype(3) = 40: filterdata(3) = "10"

Result:

https://ithelp.ithome.com.tw/upload/images/20210526/20137134d6Vx191ngY.png

Example 2-2

Entity typeCircle
Layer name0
RadiusNOT <=10

filtertype(0) = 0: filterdata(0) = "Circle"
filtertype(1) = 8: filterdata(1) = "0"
filtertype(2) = -4: filterdata(2) = "<NOT"
filtertype(3) = -4: filterdata(3) = "<="
filtertype(4) = 40: filterdata(4) = "10"
filtertype(5) = -4: filterdata(5) = "NOT>"

Result:

https://ithelp.ithome.com.tw/upload/images/20210526/20137134nqE4v7NTZM.png

Example 2-3

Entity typeCircle
Layer name0
Radius<=10 >=20

filtertype(0) = 0: filterdata(0) = "Circle"
filtertype(1) = 8: filterdata(1) = "0"
filtertype(2) = -4: filterdata(2) = "<OR"
filtertype(3) = -4: filterdata(3) = "<="
filtertype(4) = 40: filterdata(4) = "10"  
filtertype(5) = -4: filterdata(5) = ">="
filtertype(6) = 40: filterdata(6) = "20"  
filtertype(7) = -4: filterdata(7) = "OR>"

Result:

https://ithelp.ithome.com.tw/upload/images/20210526/20137134qGbrF7dkTy.png

上一篇


<<:  AutoCAD ActiveX #5-1 Selection Filters (0)

>>:  闭路电视的种类

【Day13】Git 版本控制 - 什麽是 branch?

在之前的文章或是你在使用 git 的时候相信你一定有看过 branch 这个单字,但 branch ...

Azure CDN (akamai) 强制置换图片教学

葛瑞部落格欢迎光顾 CDN应用目的 CDN的目的只有一个,当需求来访时能给予最佳体验,不要因为慢而被...

强型闯入DenoLand[26] - 使用 Deno 打造多线程应用(3)

强型闯入DenoLand[26] - 使用 Deno 打造多线程应用(3) 在介绍完多线程的概念以...

不只懂 Vue 语法:为什麽需要使用 $nextTick ?

问题回答 $nextTick 的作用是等待画面更新後才执行程序,因为有些时候我们需要操作画面上的 D...

Day 8 - 拯救落後的专案能撑一天是一天(後端篇)

走过了前端的一些坑之後接着来处理後端的功能,相较於前端开发完後在浏览器可以看到即时的结果(例如场景有...