I’ve been testing out making Rhinoscript plugins following this tutorial: https://vimeo.com/41879788. I created a plugin using Microsoft Visual Basic 2010 Express and loaded it into Rhino 5.0. When I type the plugin name into the command line and run it, I am getting the “Type Mismatch” error.
What could be going wrong? Here is my VB code for the plugin:
Namespace Views
<System.Runtime.InteropServices.Guid("5696f073-ac0d-40eb-b782-97cad015444c")> _
Public Class Views
Inherits RhinoScriptCommand
Shared _instance As Views
Public Sub New()
_instance = Me
End Sub
Public Shared ReadOnly Property Instance() As Views
Get
Return _instance
End Get
End Property
Public Overrides ReadOnly Property EnglishName() As String
Get
Return "Views"
End Get
End Property
Public Overrides ReadOnly Property Password As String
Get
Return "5019751c-9e15-4340-a06f-b1bbd70507f9"
End Get
End Property
Public Overrides ReadOnly Property ResourceName As String
Get
Return "Views.Views.rvbx"
End Get
End Property
End Class
End Namespace