Hi @Anonymous,
searching class AddInPluginRecord in NET help, you will find some codes on how to dump plugins collection. It outputs the developer id, name of the plugin. for convenience, I enclosed the code here.
StringBuilder plugins = new StringBuilder();
//iterate the plugins and display a list in a message box
if (Autodesk.Navisworks.Api.Application.Plugins != null &&
Autodesk.Navisworks.Api.Application.Plugins.PluginRecords != null)
{
foreach (Autodesk.Navisworks.Api.Plugins.PluginRecord pr in
Autodesk.Navisworks.Api.Application.Plugins.PluginRecords)
{
//Append the plugin Information
plugins.Append("Id = ");
plugins.Append(pr.Id);
plugins.Append(", Type = ");
plugins.Append(pr.GetType().ToString());
plugins.Append(", DeveloperId = ");
plugins.Append(pr.DeveloperId);
plugins.Append(", DisplayName = ");
plugins.Append(pr.DisplayName);
plugins.Append(", IsEnabled = ");
plugins.Append(pr.IsEnabled);
plugins.Append(", IsLoaded = ");
plugins.Append(pr.IsLoaded);
plugins.Append(", Name = ");
plugins.Append(pr.Name);
plugins.Append(", PluginOptions = ");
plugins.Append(pr.PluginOptions.ToString());
plugins.Append(", ToolTip = ");
plugins.Append(pr.ToolTip);
plugins.AppendLine();
}
//show the list of plugins
MessageBox.Show(plugins.ToString());
}
}