Select annotations by associated revit id of modelled element

Thank you Mostafa,

Your code has worked pretty well. But this was asked semi quickly in the midst of a massive issue.

I have asked the question again with better context of the issue at hand (mostly to assess the feasibility of whether this is even worth pursuing - see Moving part of model + annotations)

in short though your code did work perfectly well, so well done.

I’ve always wondered where everyone finds modules and classes for these python scripts. I was recently told the magic words of object model (which i’d never heard of before … and seems visual studio can open this up but i’ve yet to investigate).

Any advice on cracking python for dynamo … i did used to use python for rhino which was very transparent with amazing help with classes and modules and return values etc … but with revit is seems about as opaque as a gallon of crude