Rhino VB.Net help

Trying to make an plugin Using VB.Net in VS 2008

Need the help file where i can get the examples and syntax of each and every command.

I got this cod on http://wiki.mcneel.com/developer/rhinocommonsamples/addcircle

Public Shared Function AddCircle(ByVal doc As Rhino.RhinoDoc) As Rhino.Commands.Result
Dim center As New Rhino.Geometry.Point3d(0, 0, 0)
Const radius As Double = 10.0
Dim c As New Rhino.Geometry.Circle(center, radius)
If doc.Objects.AddCircle© <> Guid.Empty Then
Return Rhino.Commands.Result.Success
End If
Return Rhino.Commands.Result.Failure
End Function

but It shows me Rhino.RhinoDoc type not defined…
Do i need to import something ??

I have defined following imports in the project

Imports RMA.Rhino
Imports RMA.OpenNURBS
Imports RMA.Rhino.RhUtil
Imports Rhino4

Hi there,

For what Rhino are you trying to create a plugin?

If I open the developer part it says (http://wiki.mcneel.com/developer/rhinocommon):

Visual Studio 2010, 2012 and 2013, both in C# and Vb.Net, and included
in Ultimate, Professional, Premium, C# Express, Vb Express and Windows
Desktop Express where available.

You need to add RhinoCommon.dll to the project to get Rhino.RhinoDoc defined.

Where will i get RhinoCommon.dll ???

The x86 version is located: C:\Program Files (x86)\Rhinoceros 5\System\RhinoCommon.dll
and the x64 version: C:\Program Files\Rhinoceros 5 (64-bit)\System\RhinoCommon.dll

it automaticly updates when you update your rhino.

I am using Rhino 4

The example that you posted is created with RhinoCommon. I think rhino4 does not know RhinoCommon.

You can see examples for Rhino4 here:


Thnx Jordy.

Is there any reference where i can get the reference for all commands. like adding layer. adding circle. placing point on curves. and many more for rhino4