I want to turn polyline to semi-perforated pipe

In what way do you want to do this?

Are you wanting to make Civil 3D pipes or AutoCAD solids?

What have you tried already?

I want to make Civil 3D pipe and to be shown in 3D. I have made it solid pipes but unable to proceed with perforated pipes.

Welcome to the forum, @SherifAhmed.Aly ! Hopefully, we can help.

If you want an AutoCAD solid, then you could building on the methods for creating a solid discussed in this thread:

You could create multiple solids for the perforations and then cut them out from the pipe using the Solid.DifferenceAll node. This is a simple example for creating one row of perforations and the result as a 3D preview and in the model space:

C3D_PerforatedPipeBySolidDifference.dyn (58.2 KB)

This might not be the most efficient way to do it, but it is an option.

Thank you for your help.