In the sandbox a demo project has been added that calls an ARCGIS plugin via late binding
please refer to delft-tools\sandbox\ArcGisProjects\DesktopExtensions
The relevant code is
public class ArcViewOnlyExtension : IExtension, IExtensionConfig
{
void ExecuteContextArcMfe_Delft3d(object sender, EventArgs e)
{{
// Note this code will only work with plugins that implement the PluginsExtPublicCmd
// COM object.
COMObjectLateBinding cnet = new COMObjectLateBinding("ArcMfe_Delft3d.PluginsExtPublicCmd");
cnet.Execute("executeCmd", new object[] {{ "een opdrachtje", "en de aansturing" });
}
...
}
a simple wrapper class COMObjectLateBinding is used.
1 Comment
Unknown User (don)
We were searching for something like this with Unknown User (logch_o) but were unable to find . Thanks.