Using eBrowser from command line

Command-line use of eBrowser supports these parameters:

Parameter

Description

-e, --editormode

Opens eBrowser in Markups tab.

When the markup is saved, it is saved automatically to the current model folder as ModelName.ebx.

-r, --readonly

Opens eBrowser in read-only mode, where load, save, and markup tool are disabled.

-x, --markup

Opens eBrowser with the model and the markup in Markups tab.

-m, --model

Opens eBrowser with the model file in Model tab.

-c, --compare

Opens eBrowser with the compared model files in Differences tab.

-n, --node

Opens eBrowser viewing the specified model tree node to examine in comparison request.

-u, --update

Opens eBrowser in a mode, where the model is updated automatically without further confirmations.

--help

Displays the command line help.

--version

Displays version information.

Here are examples:

  • This command would open the model files ExampleModel.ebmx and AnotherModel.ebmx:

    eBrowser.exe C:\Cadmatic\ExampleModel.ebmx C:\Cadmatic\AnotherModel.ebmx

  • This command would open the model file ExampleModel.ebmx in Markups tab:

    eBrowser.exe --editormode C:\Cadmatic\ExampleModel.ebmx

  • This command would open the markup file ExampleModel.ebx and the model file ExampleModel.ebmx in Markups tab:

    eBrowser.exe --markup C:\Cadmatic\ExampleModel.ebx

  • This command would open the model file ExampleModel.ebmx in Model tab:

    eBrowser.exe --model C:\Cadmatic\ExampleModel.ebmx

  • This command would open the model files ExampleModel.ebmx and AnotherModel.ebmx, compare them and open them in Differences tab:

    eBrowser.exe --compare C:\Cadmatic\ExampleModel.ebmx C:\Cadmatic\AnotherModel.ebmx

  • This command would open the model files ExampleModel.ebmx and AnotherModel.ebmx, compare them, and open to display the differences on the specified model tree node Equipment:

    eBrowser.exe --compare C:\Cadmatic\ExampleModel.ebmx C:\Cadmatic\AnotherModel.ebmx --node Equipment