Python component: Emulating Rhino cmd not equivalent

Python Planar.gh (15.7 KB)
Digging into the python component looks great excepting 2 things

When I try and reference ghpythonlib there is no manage assemblies as a right click on the canvas…in fact cant see it anywhere nor on the component as you can when using c#

When I simply group the output of the attached polylines and apply PlanarSrf in Rhino, it works as expected.
When I use the equivalent command in rhinoscriptsyntax.AddPlanarSrf(crv) it does not behave the same way?

I could not see a builtin for PlanarSrf? Is there some sort of comparison list for native Rhino > Grasshopper?

BTW: I have tried the native offset curves and was getting anomalies…I researched YT and this turned up with a simple solution and great primer to Python

You need to use list access and flatten

Thank you Seghier!
I think I will need to spend some time on lists as operands :slight_smile:

I realise I was flattening on outputs which limits the use of the downstream. By placing the flatten on the input, it preps the list and the ‘list access’ is a directive for the operator. So sometimes schema is implicit and sometimes its not…python component needs to be told based on the custom expected iteration? Correct? ie versus an inbuilt