Hi @ dale:
Get it, think you.
In the sample, I must run the “_SampleIdleProcessor” command, but I want run it when rhino startup.
I means I just want to run some function, turn the event on v…v at rhino startup, in c# it easy to implement, I just need set “RhinoApp.Idle += OnIdle”, and add the “public override PlugInLoadTime LoadTime” function, now I need the same effect in c++.
I have found add the function above cant load plugin at rhino startup,but rhino still print nothing when I do like:
int myfunction(int x, int y)
int z = x + y;
int z = myfunction(1, 2);