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

Inventor Vault - API - Check if your logged in

3 REPLIES 3
Reply
Message 1 of 4
benedums
1800 Views, 3 Replies

Inventor Vault - API - Check if your logged in

I'm working on some Inventor automation (using VB.NET) and need a way to determine if Inventor (the Vault Addin) is logged into Vault.

I've looked at the methods available in the AutomationAddin (cast to IVaultApplication) and none of them allow you to signin/signout or even check the status. 

I've also looked at using the EdmSecurity object, which I was able to login/logout and check the status but not on the session of Vault that Inventor was logged into.

I've even looked at calling a VaultAddin Command with the CommandManager but none of them look like they would return the status I'm looking for...


So my question is:

Is there a way to connect to the Inventor Vault Addin and get the EdmSecurity object(sec) so I can call sec.IsSignedIn() ?

 

Or is there any other way to check if Inventor is signed into Vault?

 

 

This is more of a error handling necessity to recover when Inventor looses it's connection to the vault. 

Thanks,

3 REPLIES 3
Message 2 of 4
Daniel.Dulzo
in reply to: benedums

Hi,

 

This thread is a little dated, but I believe it might offer a solution: http://forums.autodesk.com/t5/Autodesk-Vault/SecurityHeader-in-Inventor/m-p/1713249/highlight/true#M....

 

Thanks,

Dan



Daniel Dulzo
Software Engineer
Autodesk, Inc.
Message 3 of 4
benedums
in reply to: Daniel.Dulzo

Is there something else I need to do to connect to the EdmSecurity object?

Yeah, I've read through that thread and it doesn't seem to be exactly what I need, I'm trying to determine the status on an instance that is already logged in.

 

I did find a hidden addin in Inventor that was for the EDM addin that I'm trying to work with but I'm a little in the dark on what is available and how to connect to it...

 

When I get the EdmSecurity.Instance I can get the EdmSecurity object but it's not loaded/connected so all of the values are Nothing...

 

Message 4 of 4
Richard.Rankin
in reply to: benedums

As this is a question regarding customisation, maybe it would be better to ask the question in the Vault CusomizationForum

 


______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

 



If you find my response solves your question, please click the "Accept Solution" below the response

Richard Rankin
Vault Support Specialist
Global Product Support
Autodesk, Inc.

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

Post to forums  

Autodesk Design & Make Report