Open ricaun opened 2 months ago
Output file for DA4Revit 2025.
{
"VersionName": "Autodesk Revit 2025",
"VersionBuild": "25.0.2.419",
"TimeStart": "2024-04-14T23:32:14.8699528Z",
"Text": "2025",
"Reference": "21.0.0.0",
"FrameworkName": ".NETFramework,Version=v4.8"
}
The DLL loaded is for Revit 2021, as shown in the Reference
and FrameworkName
.
Revit engine:
{
"productVersion": "25.0",
"deprecationDate": "2028-03-29",
"description": "Revit 2025 (RVTDA 04-04-2024).",
"version": 117,
"id": "Autodesk.Revit+2025"
}
Issues:
By default Design Automation for Revit selects the first
ComponentEntry
in thePackageContents.xml
ignoring the version defined in theRuntimeRequirements
.In the example below, the version 2021 of the
.addin
is loaded by default even if is selected the engine for Revit 2025.A reusable solution would be to first search for the right version of the engine in the bundle. And if the version does not exist in the
PackageContents.xml
, select the first one like in the current version of the DA4RRevit 2025 (RVTDA 04-04-2024).