Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Guids for COM

1 REPLY 1
Reply
Message 1 of 2
doc1209
595 Views, 1 Reply

Guids for COM

Hi,

 

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.

Tags (3)
1 REPLY 1
Message 2 of 2
xiaodong_liang
in reply to: doc1209

Hi,

 

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.

 

Regards,

Xiaodong Liang

Developer Technical Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report