Grasshopper

algorithmic modeling for Rhino

Grasshopper VB.net problem.Warning"RMA.Rhino.MRhinoDoc"out of date

Since I updated my grasshopper and rhino5.0, it starts to show this error and it used to be fine.I think it is the updated rhinocommon does not fit vb.net. Is there anyone have the same problem or is there anyone can help me? Thank you

Views: 1292

Replies to This Discussion

There are some warnings there telling you that you should be using RhinoCommon instead of the legacy SDK, but the two errors are to do with something else. Unfortunately the error message is in Chinese which I don't read.

Can you upload the file (or any file that shows the same problem) here so I can see if I can coax an English error message out of it?

--

David Rutten

david@mcneel.com

Sure, here I attached it. Thank you very much!!

Attachments:

Oh darn... At the moment I cannot build the Legacy script components because Rhino_DotNET is still missing from the Rhino6 source tree. Can anybody else get me English messages for these errors?

--

David Rutten

david@mcneel.com

Here I send the screen capture of an English version error message. Maybe it will help.

Thanks Zumii,

this is definitely my fault. I won't be able to fix it though until the next release goes out, and that may be a month or so as it will be part of the first Rhino6 beta release.

In the meantime, you can try and add the necessary functions yourself. Again, I cannot test this here, but try and add the following code in the additional section:

Public Sub BeforeRunScript() Implements IGH_ScriptInstance.BeforeRunScript
End Sub
Public Sub AfterRunScript() Implements IGH_ScriptInstance.AfterRunScript
End Sub

--

David Rutten

david@mcneel.com

Thanks David!!! It works!!!But it it still shows the RMA.Rhino.MRhinoApp has been out dated.

It will be outdated forever. Rhino_DotNET is an old SDK that will no longer be updated and maintained. In Rhino6 all methods and types will be marked as obsolete and in Rhino7 it will probably disappear entirely.

--

David Rutten

david@mcneel.com

Ok,..This would be the last time that I write something in Rhino_DotNET and later on I will do python. Thank  you for answering this question. 

You can switch to RhinoCommon C#/VB as well. You have to change languages, just SDKs.

--

David Rutten

david@mcneel.com

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service