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
Thanks, this can be a great tool! However, I get the following error message:
Any idea how to solve this error?
maybe your Template Drops aren't on Construction class? To keep scan time down for large models it only scans elements on Construction class (as they are by default in the delivered Feature Definitions)
Regards,
Mark
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
That is indeed it. Changing the the class to construction was enough to make V2.1 work. Is it possible to make a version that works for all classes?
Sure, in the meantime, you can remove the scan criteria for this by deleting the lines that includes the term classes.