Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATIA V5 License Selection Script

Status
Not open for further replies.

jmarkus

Mechanical
Jul 11, 2001
377
Hi,

We're running V5 r18 and we have multiple license bundles for different applications. Most of the time I just need the something with basic capabilities, but I find I always need to select a different license bundle because we have other users who need to switch between various applications, which are not always bundled together.

When I start up V5 and my license (which I selected "last time") is no longer available, V5 asks me to select a different license. I then need to acknowledge that I will need to restart V5, click ok again, exit and restart V5. So every time I need to run CATIA V5, I actually need to start it twice before I can do any work.

I would like to write a script that scans the available licenses and tells CATIA to pick one of those before starting.

The problem is I don't know (other the the Basic License Tool GUI) how to get a command line report of license usage. I also don't know where CATIA stores the selected license information so that I can change it outside of CATIA.

If anyone can offer some insight, it would be appreciated.

Thanks,
Jeff
 
Replies continue below

Recommended for you

Jeff,
You can access all the license info in a command shell with i4blt
The default path is C:\IFOR\WIN\BIN
type in i4blt -h to display options.


Regards,
Derek
 
You can use the catsettings, clean the catsettings and pick a bundle now you have the catsettings that use that bundle, save it somewhere and repeat it for the other bundles. I imagine if you combine DBezaire's proposal that looks for available licenses and use the catsetting that correspond to what's available you should have a solution.

There are two ways to go with the catsettings I guess, either you change the cat enviroment file to target another catsetting folder or like I did, delete the old catsettings and paste the catsettings you want.
 
We launch CATIA using a VB Application that points to different environments. Part of this App is a selection panel that lets the user select "Design", "NC Programming", "Analysis", etc. From there, we copy a Licensing.CATSettings file to the environment that has the appropriate license setting selected. We still have some Floating licenses that the user has to select from the Tools Options panel, but these are very low usage licenses.
 
Is there a way to edit the Licensing.CATSettings file or do I have to create by making selections in V5, exiting and copying multiple times? We have 24 different license bundles from what I can tell.

Thanks,
Jeff
 
DS does not provide tools to edit CATSettings.

Like Jim, (hello Jim), we have an application that will select the desired licensing.CATSetting and copy it to the user CATSetting folder.

So when CATIA starts it knows which license to get. and you do not have to close and start CATIa again.

If the license is not available then CATIA will tell you and you should use another environment which will use another license.

You can have your application be smart and check the available licenses and propose only environment with a free license.

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor