从系统命令行替换单元
- 在命令提示窗口中,将当前工作目录设置为 OpenBuildings Designer 可执行程序的安装目录,例如 C:\Program Files\Bentley\<product_name> CONNECT Edition\<product_name>。
-
在系统命令提示符中输入以下内容:msbatch repcell.ma <DGN_file> <cell_library> <y | n> <cell_to_replace> <replacement_cell> ,其中 DGN file 是要操作的 DGN 文件,cell_library 是包含替换单元的单元库,y 表示保留特性,n 表示不保留特性,cell_to_replace 是 design_file 中要替换的单元名称,replacement_cell 是 cell_library 中替换单元的名称。
OpenBuildings Designer 启动,但未显示正常图形界面,并开始处理作业。将打开 OpenBuildings Designer 控制台(文本)窗口,以便监视作业进度。