internal PythonInstantiatorProxy(IGH_DocumentObject obj, object pythonType, dynamic operations, string location) { _operations = operations; _pythonType = pythonType; _location = string.Empty; _description = new GH_InstanceDescription(obj); Guid = obj.ComponentGuid; _icon = obj.Icon_24x24; _exposure = obj.Exposure; _obsolete = obj.Obsolete; _compliant = true; if (obj is IGH_ActiveObject) { IGH_ActiveObject actobj = (IGH_ActiveObject)obj; if (!actobj.SDKCompliancy(RhinoApp.ExeVersion, RhinoApp.ExeServiceRelease)) { this._compliant = false; } } Type = obj.GetType(); this.LibraryGuid = GH_Convert.StringToGuid(location); this._location = location; if (this._location.Length > 0) { this._location = this._location.Replace("file:///", string.Empty); this._location = this._location.Replace("/", Convert.ToString(Path.DirectorySeparatorChar)); } }