Can anyone explain how to use batch process to update cell's in multiple files?
Hi Melissa,
One example of how to use the Batch Process is Batch Update of Cached Visible Edges (CVE) in AECOsim Building Designer
To replace cells the process will be similar, but with the appropriate replace cell key-ins added in the command file. tTe commands that you will need to use will depend on the applicatuion and whether the cells are normal cells, shared cells or in the case of AECOsim Building Designer, Compound Cells where the method chosen will depend on whether DataGroup instances are involved.
Regards
Marc
Batch processing is one of the features omitted from PowerDraft as part of our commercial product differentiation.
I always advise (having built and managed an architectural office IT system) that file and folder names should not contain spaces or special characters other than the hyphen and underscore. I respectfully suggest that it is worth reviewing your naming strategy.
However usually enclosing the path and file name in double quotes allows spaces to be parsed correctly within command line statements.
Which special characters do you use?
Having tested this I can confirm that double quotes are needed to parse paths with spaces and that testing with a folder name that included a '+' failed, once the '+' was removed and the command adjusted to match, it processed as expected. Here is an example:
msbatch repcell.ma "D:\_USERFILES\test folder\RepCellTest.dgn" "C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\Projects\Examples\General\cell\Facade.cel" y Facade_00 Facade_02
To get around the current folder names you could just copy the relevant files out of their working folders to a temporary location, replace the cells then move them back once checked and complete. Obviously ensure that no one else makes changes to the files while you are doing this.
The documentation that we provide on this needs to be updated to state that double quotes are required.