API Help
Eplan.EplApi.ApplicationFramework Namespace / CommandLineInterpreter Class
Members Example

In This Topic
    CommandLineInterpreter Class
    In This Topic
    Class for executing commands in command-line style.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.ApplicationFramework.CommandLineInterpreter

    Syntax
    [ClassInterface(ClassInterfaceType.None)]
    public class CommandLineInterpreter : ICommandLineInterpreter  
    [ClassInterface(ClassInterfaceType.None)]
    public ref class CommandLineInterpreter : public ICommandLineInterpreter  
    Example
    Example of executing command-line commands
    String strAction= @"XPrjActionProjectOpen /PROJECT:";
    
    bool bRet= CommandLineInterpreter().Execute(strAction + ProjectName);
    if (!bRet)
    {
       new Decider().Decide(EnumDecisionType.eOkDecision, "P8 command does not work", "OpenProjectAndPage", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);
       CommandLineInterpreter.Execute("SystemErrDialog");
       return -1;
    }
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Execution of a command.  
    Public MethodChecks whether the execution of an expression is possible. This is only the case when the corresponding action is available.  
    Top
    See Also