Hi all,
Because I couldn't wait for an out-of-the-box "synchronise all templates" functionality in ORD, I have put together an mvba that crudely will synchronise all or just edited in-place Template Drops and Linear Templates. It seems to work quite well so far. Thought i'd share as it seems a shame to keep it to myself...
What it does:
MVBA Options:
In order to avoid the "Are you sure" dialog that shows when syncing a Template that has been edited, the mvba needs to locate where you put the SendKeys.exe app. The location (path inc. trailing "\") of send keys can be defined by adding a variable named "SENDKEYS_PATH" to your workspace / configuration (I have also defined other locations we use locally)
If the variable is not defined, the macro will still work, but it will pause with the dialog and wait for user input.
Happy to get some feedback if anyone finds any issues with it...
ORD_SyncAllTemplates_mvba_v2.2.zip
Hi Alex,
I have uploaded a newer version of the macro that does some better error handling. That error was because you didn't have the variable in your workspace, but the macro now checks to see if it exists first. We use PW a lot and don't have any issues with it.
Hopefully all is well now.
Regards,
Mark
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023 | ProjectWise CE 3.4
Thanks, it was created out of desperation to sync 100's of template drops on a major highway project.
Hi Zach,
I have uploaded a new version that simplifies the set up. You can now define the path of the send keys app by adding a variable called "SENDKEYS_PATH" to your configuration. Make sure to include the trailing "\" for the folder path.
Thanks for sharing this!
We have been missing this functionality since OR technology was introduced back in 2012 (SS3/SS4 releases).
Thanks Mark!
This is incredibly useful!