Revit Versions in ZTN

How can I mantain a Dynamo Zero Touch package to work with multiple Revit versions?

Thanks!

you would pick the lowest api version you want to support stick with that - so it will work on all versions - unless a newer API removes an existing method (rare)

in that case you could use system.reflection to check if the API exists before calling it - though this is slow.

I would usually make multiple package versions for each revit version. Yes, it is time consuming - from experience, we know that as Dynamo itself maintained 3 versions of Revit compatibility at a time.

I think others on this forum like Thomas Mohan and Ksobon probably have better/more experienced answers than me though.