Thanks for your Advise, it is a good Idea, however what I need to do is to create new assemblies and drawings and it is my understanding that apprentice cannot write on inventor files (except for the iproperties).
This is what I need to do in inventor:
I have a separate application used by people without inventor. This app writes a text file and send it by e-mail to an address installed on a PC (server) with inventor installed. In this server I have another application that checks for incoming e-mails, open them, download the attached text file, fires up Inventor, create assemblies, idws from the assemblies and then save copies of these idws in dwf format to be sent back by e-mail to the original senders and then, after processing all the mails, it closes Inventor.
The problem is that my company told me to use one of the floating network licenses for inventor, we don't have many of them an most of the time there is no license available. therefore I have to wait until one inventor user stops using a license, so my application can start working.
As you can see, my application in the server will run unsupervised, without the need of user interface. I even use Inventor in Invisible mode.; In the case when there is no license available, inventor shows a dialog box saying "License could not be obtained. Please contact your dealer" and the application stops waiting for user input.
What I would like to do is either get rid of the dialog box or find out a way to tell whether there is an available inventor license to be used before opening inventor.
I've been trying to set SilenceOperation = true to be the default value but it seems like inventor sets it back to false each time inventor is opened. and if I open Inventor to set it to true, the famous dialog box stops me from doing it.
I saw a post in this group of someone using Autodesk License Manager log file to read license information, I would appreciate it if someone sends me an example of this.
Many thanks.
Mario.