File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
BuildingCoder/BuildingCoder Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,9 @@ DisplayUnitType n
118118 = DisplayUnitType . DUT_GALLONS_US ;
119119
120120 Debug . Print ( "Here is a list of the first {0} "
121- + "display unit types with The Building Coder "
122- + "abbreviation and the valid unit symbols:\n " ,
121+ + "display unit types with official Revit API "
122+ + "LabelUtils and hard-coded The Building Coder "
123+ + "abbreviations and the valid unit symbols:\n " ,
123124 ( int ) n - 1 ) ;
124125
125126 string unit_types , valid_unit_symbols ;
@@ -141,8 +142,10 @@ DisplayUnitType n
141142
142143 valid_unit_symbols = string . Join ( ", " ,
143144 FormatOptions . GetValidUnitSymbols ( i )
145+ . Where ( u => UnitSymbolType . UST_NONE != u )
144146 . Select < UnitSymbolType , string > (
145- u => Util . UnitSymbolTypeString ( u ) ) ) ;
147+ u => LabelUtils . GetLabelFor ( u )
148+ + "/" + Util . UnitSymbolTypeString ( u ) ) ) ;
146149
147150 Debug . Print ( "{0,6} - {1} - {2}: {3}" ,
148151 Util . DisplayUnitTypeAbbreviation [ ( int ) i ] ,
Original file line number Diff line number Diff line change 3131//
3232// You can specify all the values or you can default the Revision and Build Numbers
3333// by using the '*' as shown below:
34- [ assembly: AssemblyVersion ( "2014.0.105.1 " ) ]
35- [ assembly: AssemblyFileVersion ( "2014.0.105.1 " ) ]
34+ [ assembly: AssemblyVersion ( "2014.0.105.2 " ) ]
35+ [ assembly: AssemblyFileVersion ( "2014.0.105.2 " ) ]
You can’t perform that action at this time.
0 commit comments