Script to convert pipes from DWG to RVT

Can you look at this