RhinoApp.GetPlugInObject with non-RhCommon importer returns null

I’m trying to use RhinoApp.GetPlugInObject to retrieve an instance of ACAD importer:

var obj = RhinoApp.GetPlugInObject(new Guid("6cd8563b-7bb0-4777-93f6-4dd10b3406a5"));

But I got null. It seems the loading is successful but CRhinoApp_GetPlugInObject returns null. Is it the expected behavior, or is it because the importer/exporter doesn’t support IUnknown interface?

Hi @gankeyu,

The AutoCAD file import plug-in does not implement this feature, which is why a null is returned.

– Dale

1 Like