I have tried to follow the article of Object Selection with Options.
This guide covers how to pick some objects, select command options, return to picking more objects, all while keeping your current selection set.
But I have got two errors during compilation;
VS file Object Selection with Options.zip (1.8 KB)
This is the second command in the plugin. The first one is the template “DrawLine” command.
Could you give me a hint what could cause the error.
menno
(Menno Deij - van Rijswijk)
November 13, 2017, 3:07pm
2
You need to declare the namespaces that you want to use. In this case, both RhinoObject
and ObjectType
are in the Rhino.DocObjects
namespace, so at the top of your file you should set
using Rhino.DocObjects;
to make it work.
Thank you Menno. (it was quite easy)