To Replace Cells from the System Command Line
- In a Command Prompt window, set the current working directory to the directory in which the OpenUtilities Substation executable program is installed — for example, C:\Program Files\Bentley\<product_name> CONNECT Edition\<product_name> .
At the system command prompt, enter:
msbatch repcell.ma <DGN_file> <cell_library> <y | n> <cell_to_replace> <replacement_cell>
where DGN file is the DGN file on which to operate, cell_library is the cell library that contains the replacement cell, y keeps attributes, n does not keep attributes, cell_to_replace is the name of the cell in design_file to replace, and replacement_cell is the name of the replacement cell in cell_library.
OpenUtilities Substation starts without its normal graphical interface, and processing of the job begins. A OpenUtilities Substation console (Text) window opens so you can monitor the progress of the job.