-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRPHPlugIn.cs
30 lines (27 loc) · 1.03 KB
/
RPHPlugIn.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace RPH
{
///<summary>
/// <para>Every RhinoCommon .rhp assembly must have one and only one PlugIn-derived
/// class. DO NOT create instances of this class yourself. It is the
/// responsibility of Rhino to create an instance of this class.</para>
/// <para>To complete plug-in information, please also see all PlugInDescription
/// attributes in AssemblyInfo.cs (you might need to click "Project" ->
/// "Show All Files" to see it in the "Solution Explorer" window).</para>
///</summary>
public class RPHPlugIn : Rhino.PlugIns.PlugIn
{
public RPHPlugIn()
{
Instance = this;
}
///<summary>Gets the only instance of the RPHPlugIn plug-in.</summary>
public static RPHPlugIn Instance
{
get; private set;
}
// You can override methods here to change the plug-in behavior on
// loading and shut down, add options pages to the Rhino _Option command
// and maintain plug-in wide options in a document.
}
}