Exporting CAD by Discipline Grouping

Hi all im trying to sort out (export) CAD using the following code
but unfortunately im not sure how to get it work, is there any available packages filter sheet discipline?
Thank you.

You need to use Sheet Discipline to group your initial list

Cool, Thank you very much!