So, I have some MDriven Eco classes to be used/called from a Rhino/Grasshopper (GH) component for creating CAD-geometry.
My original (and well tested) C# code was moved from the GH-component into EcoClasses, So now, from the GH-component I need to create an EcoSpace and create a first Eco class (say, EcoAppKernel) which can then create the rest of the (Eco) objects in my system.
My eco package is (re)named "EcoClasses", and so I assumed I could just create an eco space likes so:
EcoSpace ecoSpace = new EcoClassesEcoSpace(); // #Error! "...not Ecoified"
ecoSpace.Active = true;
// etc
and with that I would create the first eco object:
public EcoAppKernel CreateAppKernel()
{
var intfs = ecoSpace.ObjectFactory.CreateNewObject("EcoAppKernel");
return intf.AsObject as EcoAppKernel;
}
EcoAppKernel _kernel = CreateAppKernel();
etc
The instantiation of the EcoSpace fails with the error message "Model not Ecoified ..."
This is the first time I call a MDriven dll from another app (from inside a Rhino Grasshopper component in this case) so really do need some advice.
//Rolf

I don't understand your question completely but the message "...not Ecoified" normally means that there are changes in the MDriven data model that are not yet represented in the currently generated code.
Regenerate the C# code and rebuild the project. Normally this should solve the problem.