How to send some arguments lets say a file name to the RunCommand() method of BrxCad application.

Hi,

I am trying to call a custom command to import an IFC file into the BricsCAD. I created a .brx application that will read the IFC file. I have created a .net application to launch BricsCAD in silent mode and loaded the previously created .brx module and calling the custom method which is there in the .brx module using the BricsCAD application COM pointer.

sample code:

            BricscadApp.AcadApplication AcadComObject = comObject;

            //Launching BricsCAD application in silent mode
            AcadComObject.Visible = false;

            //Loading customized brx. which inturn has our requirements.
            AcadComObject.LoadArx("D:\\BimSample21.brx");

            //Running the command.
            AcadComObject.RunCommand("BIfcImport");

            //Closing BricsCAD application in silent mode
            AcadComObject.Quit();

Here i wanted to pass some arguments like the IFC file name to the Runcommand , is there a way i can do that using the API's or any other approach ??? Currently i have harde coded the name of the IFC file to import in .brx module and working.