There is a rhinoscript that is posted on the developer page
There is an error that occurs on the fifth part of code
Source: Microsoft VBScript runtime error
Error: Type mismatch: 'arrCurvature’
I am appying the command to an open curves imported from an autocad file. Just to check I opened a clean file and created a control point curve and it seems to have no problem.
Ahh…problem is that it won’t create square pipe on straight line or multiple lines at same time.