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,
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
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...
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!