Skip to content

Releases: Nice3point/RevitBenchmark

2027.0.0-preview.3.20260322

22 Mar 15:17

Choose a tag to compare

Pre-release

This release adds support for Revit 2027, benchmarking for different languages and custom Revit installation path.

Localization support

BenchmarkDotNet initializes Revit with the English - United States language. To override these defaults, use assembly-level attributes:

  • Add the attributes to any .cs file in your project (e.g., Program.cs):

    using Nice3point.Revit.Injector.Attributes;
    
    [assembly: RevitLanguage("ENU")]
  • Add the attributes directly to your .csproj file:

    <!-- Revit Environment Configuration -->
    <ItemGroup>
        <AssemblyAttribute Include="Nice3point.Revit.Injector.Attributes.RevitLanguageAttribute">
            <_Parameter1>ENU</_Parameter1>
        </AssemblyAttribute>
    </ItemGroup>

The RevitLanguage attribute accepts a language name (e.g., "English - United States"), code (e.g., "ENU")
or LanguageType enum value (e.g., "English_GB" or "15").

Custom Revit installation path

TUnit initializes Revit from C:\Program Files\Autodesk\Revit {version} installation path. To override these defaults, use assembly-level attributes:

  • Add the attributes to any .cs file in your project (e.g., TestsConfiguration.cs):

    using Nice3point.Revit.Injector.Attributes;
    
    [assembly: RevitInstallationPath("D:\Autodesk\Revit Preview")]
  • Add the attributes directly to your .csproj file:

    <!-- Revit Environment Configuration -->
    <ItemGroup>
        <AssemblyAttribute Include="Nice3point.Revit.Injector.Attributes.RevitInstallationPathAttribute">
            <_Parameter1>D:\Autodesk\Revit $(RevitVersion)</_Parameter1>
        </AssemblyAttribute>
    </ItemGroup>

Breaking changes

  • Global hooks OnSetup/OnCleanup renamed to OnGlobalSetup/OnGlobalCleanup

Full changelog: 2027.0.0-preview.2.20260203...2027.0.0-preview.3.20260322

2026.0.0

31 Dec 11:12

Choose a tag to compare

Initial release. Enjoy!