Right now I have a script that does the dimension for each ICE panel section.
In my case for each panel that deviates from the standard size, we insert a hatch that evidences the material to be removed as highlighted in the image below:
The hatch is a Family instance from a generic annotation type. I can’t find for the life of me a way to get a reference from the annotation family unless it is a line.
If I dimension the thing manually and use the Revit lookup tool I can see it uses a surface (I know, “what? It is a 2d element”)
Some times it gets a REFERENCE_TYPE_LINEAR, which makes a lot more sense.
My end goal is this:
Does anyone know how to get the references from this kind of element?
Please advise! Every single thing I tried failed.