How do I call verify the login via API Vault Basic

How do I call verify the login via API Vault Basic

Crstiano
Collaborator Collaborator
298 Views
1 Reply
Message 1 of 2

How do I call verify the login via API Vault Basic

Crstiano
Collaborator
Collaborator

Scenario example:
An assembly is open, but the vault is not logged. Now I want to edit the Assembly File.

 

Code:

Check if project type = Vault ..ok

Check if user is Logged .. Case NOT !!


What the best path to the Vault, consider whether you need to log in, and then CheckOut?

 

Today I try with "CommandManager" and execute the "CommandName"

 

Any ideia??

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Cristiano Oliveira
EESignature
ConsultCAD.com

0 Likes
299 Views
1 Reply
Reply (1)
Message 2 of 2

wayne.brill
Collaborator
Collaborator

Hi,

 

This DevBlog post has an example for getting the Vault Add-In connection. (not sure if it works with Vault Basic)

http://adndevblog.typepad.com/manufacturing/2013/09/autocad-2014-vault-add-in-connection.html

 

These posts could also be helpful:

http://adndevblog.typepad.com/manufacturing/2013/06/checkout-checkin-a-file-in-vault-2014.html
http://adndevblog.typepad.com/manufacturing/2013/06/use-or-with-defaultacquisitionoption-to-download...

 

Thanks,

Wayne



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes