Sometimes we just want to change the language in Eplan, so that it can be printed or exported in a certain language. For those situations, one can very easily put this script to use and voilá, the language will change.
using System.IO; using System; using System.Windows.Forms; using Eplan.EplApi.Scripting; using Eplan.EplApi.ApplicationFramework; using Eplan.EplApi.Base; public class Class { [Start] public void Function() { CommandLineInterpreter oCLI = new CommandLineInterpreter(); ActionCallingContext acc = new ActionCallingContext(); acc.AddParameter(“dispLANGUAGE”, “en_US”); acc.AddParameter(“varLANGUAGE”, “en_US”); oCLI.Execute(“ChangeLanguage”, acc); } }
Please tell me in the comments whether it works for you, or if it doesn’t.