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)
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)