public XbimGeometryEngine() { // Warn if runtime for Engine is not present XbimPrerequisitesValidator.Validate(); var conventions = new XbimArchitectureConventions(); // understands the process we run under string assemblyName = "Xbim.Geometry.Engine" + conventions.Suffix; ObjectHandle oh = Activator.CreateInstance(assemblyName, "Xbim.Geometry.XbimGeometryCreator"); _engine = oh.Unwrap() as IXbimGeometryCreator; }
public XbimGeometryEngine() { // Warn if runtime for Engine is not present XbimPrerequisitesValidator.Validate(); var conventions = new XbimArchitectureConventions(); // understands the process we run under string assemblyName = "Xbim.Geometry.Engine" + conventions.Suffix; ObjectHandle oh = Activator.CreateInstance(assemblyName, "Xbim.Geometry.XbimGeometryCreator"); _engine = oh.Unwrap() as IXbimGeometryCreator; }