Hi All,
I’m trying to find a way to copy and rotate a label inside a family and Associate “Visible” to a a family parameter.
I can get the label and it’s parameters like that:
label=FilteredElementCollector(doc).OfClass(TextElement).ToElements()
param=label[0].Parameters
ParamName=[i.Definition.Name for i in param]
I’ve tried to rotate with ElementTransformUtils.RotateElement
but it doesn’t work with TextElement
I’ve found this previous discussions:
http://dynamobim.com/forums/topic/accessing-parameters-within-a-label/
I can’t see anything I can use in the TextElement Class
http://www.revitapidocs.com/2017/013e58c3-f3d2-d976-89f0-ff4ff701951d.htm
Is it achievable?
Thanks