Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

ask for ADVANCED ASSEMBLIES license in journal

Status
Not open for further replies.

lklo

Industrial
Nov 24, 2010
226
Hi -

Have someone here been playing with journal + and "asking" for a specific license during runtime of a journal in NX.
I'm programming a journal where some functions need a ADVANCED ASSEMBLIES license. But if the license is not free for a user, at runtime,
I would like to build in some exceptions and messages in the program.
I have been trying playing a little with : GetReservedLicenses Method , but I'm not sure I'm driving in the correct direction.
In documentation I see the input parameter should be the context_name , but I dont no , what is mean by this.
Maybe someone here on site have a comment..?
regards lklo

dim license_name as string = ????
dim license_count as integer
dim license_list() as string

ufs.UF.GetReservedLicenses(license_name,license_count,license_list)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor