Hi, everybody.
I want to use custom InstanceObject, but Rhino.DocObjects.Custom can not find CustomInstanceObject.
so I want to create a class which inherit from Instance Object as follows:
public class CustomInstanceObject : Rhino.DocObjects.InstanceObject
{
public CustomInstanceObject()
{
}
protected override void OnDraw(Rhino.Display.DrawEventArgs e)
{
base.OnDraw(e);
}
}
but it’s error exist: CustomInstanceObject() does not contain a constructor that takes ‘number’ arguments.
I can’t find how to define CustomInstanceObject(), so does anydbody tell me how to define it?
Thank you,guys.