mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
242 stars 93 forks source link

Rhino.Commands.TestCommand #22

Closed MoeGreen closed 13 years ago

MoeGreen commented 13 years ago

The command is not listed

sbaer commented 13 years ago

Test commands in RhinoCommon are implemented using the CommandStyle attribute on the command class. The feature is already there, just not well documented yet


[System.Runtime.InteropServices.Guid("38553ca9-d50f-4458-8d09-4b1d5970a783")]
[Rhino.Commands.CommandStyle(Rhino.Commands.Style.Hidden)]
public class MyTestCommand : Rhino.Commands.Command
{
...
}