Navisworks API

Reply
Member
marskar
Posts: 4
Registered: ‎09-25-2008
Message 1 of 2 (199 Views)

Activate plugin on Navisworks startup

199 Views, 1 Replies
03-21-2012 07:23 AM

Hi all

 

Anybody know how to autoamtically load a plugin during startup of NW?

 

I would like to respond to document events and it's easy to register but my plugin is not loaded until I click the plugin button in NW.

 

Cheers

Tore

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

Re: Activate plugin on Navisworks startup

03-27-2012 07:22 PM in reply to: marskar

Hi,

 

Have you noticed such type of plugin EventWatcherPlugin which is provided from Navisworks 2012? A typical implementation will subscribe to some API events in OnLoaded and unsubscribe in OnUnloading. Please refer to the topic EventWatcherPlugin Class in the help document. <Navisworks>\api\net\examples\Automation\MessageClientServer\MessageClientPlugin is a sample.



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

Announcements
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