GithubHelp home page GithubHelp logo

ricaun-io / revitaddin.da.tester Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 5.64 MB

RevitAddin Tester for Design Automation (Forge)

License: MIT License

C# 75.79% Batchfile 1.09% PowerShell 13.06% Shell 10.06%
autodesk-forge autodesk-revit forge-designautomation revit revitaddin revitapi

revitaddin.da.tester's People

Contributors

ricaun avatar

Watchers

 avatar

Forkers

veabim

revitaddin.da.tester's Issues

Design Automation for Revit ignores `PackageContents.xml` configuration.

By default Design Automation for Revit selects the first ComponentEntry in the PackageContents.xml ignoring the version defined in the RuntimeRequirements.

In the example below, the version 2021 of the .addin is loaded by default even if is selected the engine for Revit 2025.

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="Revit" Name="RevitAddin.DA.Tester" AppVersion="1.3.0" ProductType="Application" ProductCode="7c324916-9f8d-43b0-b226-da67d2504393">
  <Components Description="Revit 2021">
    <RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2021" SeriesMax="R2021" />
    <ComponentEntry AppName="RevitAddin.DA.Tester" ModuleName=".\Contents\RevitAddin.DA.Tester\1.3.0-beta.1\2021\RevitAddin.DA.Tester.addin" />
  </Components>
  <Components Description="Revit 2025">
    <RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2025" SeriesMax="R2025" />
    <ComponentEntry AppName="RevitAddin.DA.Tester" ModuleName=".\Contents\RevitAddin.DA.Tester\1.3.0-beta.1\2025\RevitAddin.DA.Tester.addin" />
  </Components>
</ApplicationPackage>

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 DA4R Revit 2025 (RVTDA 04-04-2024).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.