The IT guys at our company have said that CONNECT has written in many of the utilities that we used from Axiom - things like global replace. I haven't been able to find that in MicroStation CONNECT. What we need is a way to replace stamps in an entire folder (without opening each drawing up individually). We can do that with Axioms help. I know that there has to be a way in MicroStation CONNECT, right? <CONNECT Update 12 - Version 10.12.00.40>
I haven't used a .bat file in a decade. I haven't written or played with a macro in probably that same amount of time. I'm not a programmer. I'm a drafter. Is our IT guy wrong? CONNECT doesn't have a tool that will replace a cell in a whole folder full of drawings without having to open each one individually? I see CONNECT still does have Print Organizer so I can print all of those drawings quickly. Is there something like that but it searches and replaces cells? Changes dates? Stuff like that?
Batch Process will do almost everything you want. That's been available since V8i. The only caveat is that it does have to open the file (briefly) to make the changes. But it can run on a whole list of files.
At its most simple, you can create a command file that just has the keyins for the commands you want to run. You could also include VBA macros or MDLs as long as they don't require user interaction. Then, in the Batch Process dialog, you can generate the list of files that you want to run that command file on. I've used this many times.
You can also just open the windows command window and type in msbatch repcell.ma <DGN_file> <cell_library> <y | n> <cell_to_replace> <replacement_cell> but that is more for a single DGN file. You may be able to run an entire directory, but I've never tried it.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2