Skip to Content

Set the Command Name

commandname

This item sets the desired command name in the “Auxiliary Commands” Microenvironment if Method GetCommandName is prepared accordingly (see below).

PDF Language File Command Name

Example to get the Command Name in a Python Script:

def GetCommandName(): nls = NLSUtility() nls.defineNLS(project="arcreport") cmdname = nls.getNLS("commandname", "Arc Welding Report") return cmdname

 

NLS is set to “arcreport” language files.

Try to get the item “commandname”, if item does´t exist take String “Arc Welding Report” as Result.

Was this page helpful?