How to convert a design element to Fabrication part

i was trying to convert duct to fabrication part. is there any nodes to that or need to make code in python?