iT邦幫忙

0

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

joor 2021-05-26 22:58:261055 瀏覽
  • 分享至 

  • xImage
  •  

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

上一篇


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言