Hi Vasiliy,
Shreyas's idea is good but not sure whether it's feasible or not . Usually WTParts are created from some CAD application like AutoCAD,Creo etc.
If that's not the case then you can do what Shreyas said.
If not then from OIR its not possible you have to write a listener.
Thanks and Regards,
Kaushik