RMA.Rhino.MRhinoDoc, RMA.Rhino.MRhinoApp are obselete issue

unhandled

(Nah Dragon) #1

Hello, I have an algorithm for Honeycomb surfaced and one of the commands VB, scrips is having an issue in lines 40-43. I have never done scripting and I tried using Rhino Common. Its in format .ghx instead of .gh. ive attached the file

.HoneycombSurfaces.3dm (81.4 KB)
Honeycomb2surfaces.ghx (145.3 KB)

Regards, Dar


(David Rutten) #2

RMA.Rhino.MRhinoDoc etc. are part of the old, obsolete SDK. These days RhinoCommon is the official SDK and RhinoDotNET has been marked as obsolete. It’s still mostly functional, but you’ll have a harder and harder time using/editing that code.


(David Rutten) #3

I updated the code to RhinoCommon (I think without changing the behaviour).

Honeycomb2surfaces_new.gh (32.8 KB)


(David Rutten) #4

The problem btw. if your surfaces. They are not oriented the same way. You need to both SwapUV and FlipU and FlipV on one of them to make them aligned. You can do this with the Rhino _Dir command.


(Nah Dragon) #5

Works like a charm thanks buddy @DavidRutten, it is much appreciated for sure!