Navisworks API

New Member
Posts: 2
Registered: ‎10-08-2008
Message 1 of 2 (205 Views)

Guids for COM

205 Views, 1 Replies
11-15-2011 06:26 AM



i have a navisworks plugin using the COM-Api in .NET C# and i have used 

the ComClass statement above my class. There i have given 3 guids (ClassId,

InterfaceId and EventsId).


My problem is that the plugin refuses to load on some computers without

actual error messages indicating the problem.


I had renamed the plugin once without changing the guids. Is that a problem?


On other computers i use "regasm /codebase c:\path\to\plugin.dll" to register the plugin. Is this the correct way?


Can i do something to clean up a computer from old com-guids and names or is this not necessary?


Thanks in advance.

ADN Support Specialist
Posts: 1,261
Registered: ‎06-12-2011
Message 2 of 2 (189 Views)

Re: Guids for COM

11-23-2011 11:05 PM in reply to: doc1209



firstly, the COM plugin needs to be registered. It is fine to register using regasm. Secondly, the plugin information needs to be registered in Navisworks key. Please refer to the attachments. I think your problem may probably: you renamed the plugin.

you do not need to clean up the registry. Register the plugin again, windows will look for the key by the guid. If it finds, it will override the information (new location, new name etc). Hope this makes sense.



Xiaodong Liang

Developer Technical Services

Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community