I have encountered some trouble trying to place Material Tags.
Trying the method suggested here (Material tag on selected views?), using Clockwork’s node FamilyInstance.ByPointInView sucessfully places the Tag on Revit, however it is not associated with any elements as shown in the image below.
Alternatively I have tried Archilab’s CreateAnnotationTag node but it has also not worked because the node does not seem to support this type of tag. Maybe something similar to what was done here (Tag/TextNote Multi-Category Elements) could work? I would try to adapt code it but my python skills are pretty terrible.
Just a thought: try programmatically shifting the material tag after placement with the clockwork node. I know a little nudge will reassociate these if done manually.
Thanks for the reply Jacob, I have previously also tried to move the tag after placement both manually and via Dynamo but it does not seem to reassoacite with any elements.
As far as i know there is no custom node available at the moment. However i have edited @Konrad_K_Sobon 's custom node to work with Material Tag also. Here is a process in action:
Thanks for the great solution, works absolutely perfectly on Revit 2017.
However while trying to replicate the same usage on Revit 2016 I can’t manage to make it work given that as soon as I run the script my Revit imediately crashes. Does the code need some adapting for the 2016 version or is this operation not possible?
Here is the graph and error message while running on Revit 2016, Dynamo v 1.3.2 with the revit file only containing the 3 walls show in the first node.