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.
Published by Brian Flaherty
As a seasoned IT professional with over two decades of expertise, I am dedicated to enhancing the ProjectWise experience for both administrators and users. My journey with ProjectWise spans 20+ years, during which I have excelled as a user, administrator, systems architect, developer, trainer, and subject matter expert. I specialize in developing stand-alone and plugin ProjectWise solutions using the ProjectWise SDK. I am also a strong advocate for PowerShell, passionately creating solutions that streamline daily tasks for administrators and users alike.
Outside of my professional life, I enjoy immersing myself in a good book, strumming my guitar, and unwinding by the beach.
View all posts by Brian Flaherty
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