Be sure to check out my Scripting4Crypto initiative. It’s a fun way to get into using cryptocurrencies all while getting your PowerShell needs met.
There have been many requests asking for the ability to update titleblocks within MicroStation using PowerShell. The good news is that this can be accomplished. It simply requires you run the Enable-PWTitleBlockUpdate cmdlet which was added to the PWPS_DAB module in version 1.7.6.0.
Get-Help Enable-PWTitleBlockUpdate -Full
The Enable-PWTitleBlockUpdate cmdlet sets a few values within the registry to allow PowerShell to update the titleblocks.
Experiment with it and have fun.
Hopefully, you find this useful. Please let me know if you have any questions or comments.
Valuable information that I keep coming back to!
LikeLike
Will this also work with AutoCAD DWGs?
LikeLike
It should work with AutoCAD DWGs, however, you will need to test it. I do not have AutoCAD to do my own testing. Let us know.
LikeLike
I did notice when PWPS_DAB is updating the title blocks it is spawning a new instance of MSTB.EXE for each DGN file but when I do the update manually it will spawn one instance of the EXE and then run all DGN files through it. This is skewing the times and making the automated TB update significantly slower than a similar manual process. I’m using PWPS_DAB 2.1.0.0
LikeLike
Hey David,
Thanks for visiting my blog. I hope you find it useful.
Regarding the titleblock update, I would post something to the Bentley Communities page. This will let the developers of the PWPS_DAB module know there may be an issue with the cmdlet you are using. I no longer work for Bentley and therefore am no longer developing the tool.
Cheers,
Brian
LikeLike