Why this happen?

(Andrealu2012) #1

in visual studio c# custom component develop,there are much less things (Such as enum Rhino.display.Pointstyle…)than the same RhinoCommon…why this happened?and how to use pointstyle.circle…in vs c#?
thank you!

(Giulio Piacentino) #3

Hi @andrealu2012

You might be targeting a different release of Rhino.

See: http://developer.rhino3d.com/5/api/RhinoCommonWin/html/T_Rhino_Display_PointStyle.htm (for 5 Win)
http://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Display_PointStyle.htm (for 6).

If you want to develop for v6, you’ll have to switch references. If you want to develop for 5, you’ll need to use what’s available there.

I hope this helps,


Giulio Piacentino
for Robert McNeel & Associates

(Andrealu2012) #4

yes,i do reference rhino 5…this should be the answer.thankyou Piac