Fixe le nom de la commande
nom de commande
Cet élément définit le nom de commande souhaité dans le microenvironnement « Auxiliary Commands » si la méthode GetCommandName est préparée en conséquence (voir ci-dessous).
! Nom de commande du fichier en langage PDF
Exemple pour obtenir le nom de commande dans un script Python :
def GetCommandName():
nls = NLSUtility()
nls.defineNLS(project="arcreport")
cmdname = nls.getNLS("commandname", "Arc Welding Report")
return cmdnameNLS est défini sur des fichiers langage « arcreport ».
Essayez d’obtenir l’objet « commandname », si l’élément n’existe pas, prenez la chaîne « Arc Welding Report » comme résultat.
Was this page helpful?