CreateNetworkSurface through rhinoinside and python

I’m attempting to create a network surface using the RhinoCommon api through rhinoinside and python. However, I’m struggling to find an acceptable signature for the Rhino.Geometry.NurbsSurface.CreateNetworkSurface method. I receive the following type error from the attached python code:

TypeError: No method matches given arguments for CreateNetworkSurface: (<class ‘System.Collections.Generic.3001, Culture=neutral, PublicKeyToken=552281e97c755530]]’>, <class ‘int’>, <class ‘float’>, <class ‘float’>, <class ‘float’>, <class ‘int’>)

Any guidance would be appreciated.
Thank you.
Justin

TestNetworkSurface.py (1.7 KB)

Hi @jmmorgan,

See if this works any better.

test_networksrf.py (1.9 KB)

– Dale

1 Like

That works great. Thank you!