Sleeve adding in pipes

Hello dynamo community, i try to add sleeves in pipe by using this script but its not working if anyone know please help about this script.

@sovitek hi sir please help me out this sricpt

not sure i dont work in fabrication, but guess you need fint the fab location and intersct with your walls so you have a point and not line…guess you can get fab pipe location with ootb get.location and get the walls solid and intersect and on that intersect line with a point.at.parameter at 0.5…it should be the insert point for yor family