Vault General Discussion

Reply
Member
benedums
Posts: 5
Registered: ‎12-04-2009
Message 1 of 4 (870 Views)

Inventor Vault - API - Check if your logged in

870 Views, 3 Replies
08-24-2011 07:21 AM

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,

Employee
Daniel.Dulzo
Posts: 61
Registered: ‎05-25-2011
Message 2 of 4 (860 Views)

Re: Inventor Vault - API - Check if your logged in

08-24-2011 12:50 PM 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.
Member
benedums
Posts: 5
Registered: ‎12-04-2009
Message 3 of 4 (852 Views)

Re: Inventor Vault - API - Check if your logged in

08-24-2011 02:29 PM 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...

 

Product Support
Richard.Rankin
Posts: 134
Registered: ‎03-25-2010
Message 4 of 4 (839 Views)

Re: Inventor Vault - API - Check if your logged in

08-25-2011 03:29 AM 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!

 



Richard Rankin
Data Management Support Specialist
Autodesk Support
Autodesk, Inc.

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
New button for Platinum & Gold Subscription customers
Gold & Platinum Subscription customers can alert Autodesk if they require assistance with their forum post

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community