Inventor Vault Add-In Customization?

Inventor Vault Add-In Customization?

mwillia1
Enthusiast Enthusiast
1,188 Views
7 Replies
Message 1 of 8

Inventor Vault Add-In Customization?

mwillia1
Enthusiast
Enthusiast

Is it possible to customize the Inventor Vault Add-In (VC 2012)?

 

Specifically, I would like to capture an event (like lifecycle state change) and fire off a task.  This is possible with the client but I can't find any documentation or samples for the Inventor Add-In.

 

Thanks,

Matt

0 Likes
1,189 Views
7 Replies
Replies (7)
Message 2 of 8

Daniel.Dulzo
Alumni
Alumni

Hello Matt,

 

The Vault SDK doesn't provide a way to extend the functionality of the Inventor Add-in itself, but you can capture events for lifecycle state changes using the SDK's web service command events feature. All clients, including the Inventor Add-in, will fire these events and they will get passed to your extension. An example of this can be found in the Restrict Operations sample that comes packaged with the SDK. More information can also be found here: http://justonesandzeros.typepad.com/blog/2011/04/faq-events.html.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
0 Likes
Message 3 of 8

mwillia1
Enthusiast
Enthusiast

Ah.  I see that now.  I guess I didn't take my test far enough.  Thank you for the quick reply.

0 Likes
Message 4 of 8

mwillia1
Enthusiast
Enthusiast

Also, Is it possible to prevent a connection to the Vault on the server side if a particular extension is not loaded on the client side?

0 Likes
Message 5 of 8

Daniel.Dulzo
Alumni
Alumni

Sounds like you might be concerned that some clients might connect to the server when your particular extension isn't running to catch the web service command events. Unfortunately, the server doesn't know what extensions the client has loaded, so no, there isn't a way to prevent this on the server side.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
0 Likes
Message 6 of 8

mwillia1
Enthusiast
Enthusiast

That's correct.

 

For an extension that is made to restrict an operation on a client: if any clients were missed during deployment of the extension then the restriction would not be enforced.  A user would also ptentially be able to override the restriction.

0 Likes
Message 7 of 8

Daniel.Dulzo
Alumni
Alumni

If you override the GetRestrictions event on a web service command, any clients should not be able to override those restrictions, but you are correct that if a client is missed during the deployment of the extension, the restrictions would not affect that client.



Daniel Dulzo
Software Engineer
Autodesk, Inc.
0 Likes
Message 8 of 8

mwillia1
Enthusiast
Enthusiast

OK.  Thanks for the help.

0 Likes