How to create Iselection filter

anybody can share your knowledge “how to create Iselectionfilter in python node”

sel = uidoc.Selection.PickElementsByRectangle(onlyducts)

OUT = sel

image

It looks like you have created two topics for the same question. In the future please refrain from this.

In response, please review the following Page to see if it can help you.
http://help.autodesk.com/view/RVT/2014/ESP/?guid=GUID-97372731-5ACA-4EB7-ABDF-7E6B56640DA2

anybpdy can explain how can use Iselectionfilter in python? i refer apidocs but i didn’t understand how to use

I think this post may help you.

I found this today when I was trying to figure it out and narrow it down to one category:
https://pythoncvc.net/?p=116