Ok I think we have a DA for Revit app running in Forge, but the next question is how to support multiple Revit version and I can't find a ton of documentation on it. Here is what I understand (or think I do anyway) and the questions I have:
Each app bundle and activity can only define one engine so it seems like you would need to create a bundle for each supported Revit version as well as a related activity for each Revit version. Questions on this:
- 1: The package bundling system allows for multiple Revit versions to be supported. Does DA require that each bundle support only one Revit version or is there a way to support multiple versions that I'm missing?
- 2: What happens if the engine for the activity is different from the bundle? Is that just unsupported and if so why is there an engine argument in both?
App bundles are referenced by their ID. Most of the examples show the ID as something like 'DeleteWallsApp' or whatever. However, if you truly need multiple app bundles for multiple Revit versions then would you actually want to use ID's like 'DeleteWallsApp2018' and 'DeleteWallsApp2020', etc.? You couldn't have multiple ID's that are the same so that seems the most pertinent way to do it. Is this correct?
Bundles and activities are also referenced by their alias. If I understand they are meant for dev/staging/production aliases for testing vs. production code, etc. If so, is it recommended then to have those aliases for each bundle?
This seems like a lot of stuff to upload to a lot of different places but I guess it's not too bad if you automate the system. I just want to make sure I'm not missing some part of the structure.