addMessageFile Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Object Reference > DBWPar Methods >

addMessageFile Method

MechWorks MWScriptGUI Scripting Utility Object

Adds a specific message file (normally .msg) to the loaded dictionary. Eventually, to retrieve a localization use lookup.

Syntax

DBWPar.addMessageFile msgFileName

 

Remarks

The file name is relative to the DBWorks root directory. If, for instance, you want to load the messages in the file "c:\program files\dbworks\myMessages.msg", then call addMessageFile "myMessages.msg"

See also