We talked about Source Information Header schema and inspected different source file types before. Now let us look at a cool widget of RevitAddinWidget, SourceHeader Updater, which can help us manage source information headers in various aspects.
It can review and update source information headers for all applicable source files of the current Visual Studio project in a central place. We can use the widget to loop through all available source files in the current C#, VB.NET or C++ project in a single dialog, review the source information header for each file, and update any of them if necessary.
The SourceHeader Updater can be found from the RevitAddinWidget toolbar:
RevitAddinWidget Toolbar
or the RevitAddinWidget menu:
RevitAddinWidget Menu
The SourceHeader Updater window looks like:
The Exclude options indicate what kinds of source files to skip including the AssemblyInfo and the auto-generated designer files as introduced in early posts. The nice thing is that whenever an option is checked off or on, the source file list and header pages will be refreshed right away.
The bolded line indicates which source file is being operated on in the current page.
As in the windows of the AssemblyInfo Updater and the Assembly Versioner, the left group indicates the original information and the right expected to which the source information header will be updated when the OK button is pressed.
The Date field and the History field may be worth of a few more words. To avoid any typos, the Data input field is actually a calendar control and when the tiny arrow on the right side is clicked the following calendar input drop down box will show up:
The original date is set as default and a new date can be picked from the date picker (calendar control).
The History is a multiple line editable text box and each line is an arbitrary string which can represent revision number, editor and deed, or anything else. The little Add button will add one more line to the field following the pattern of revision number, editor and deed. If it does not meet any particular need, the string can be changed to anything else for sure.
The four nice little recorder buttons are self explanatory. If any is not clear enough in case, hovering the cursor on it makes things clear as crystal.
SourceHeader Updater of RevitAddinWidget can help review source information headers of all applicable source files in the current project of C#, VB.NET or C++ and update the headers conveniently and flexibly in a single central place.
Recent Comments