When copy-monitoring some Electrical Fixtures, the monitored elements don’t carry over the instance parameter values from the original elements. I am trying to get a script that looks at the original elements’ parameters and writes them to the copy-monitored elements.
However, I can’t seem to access the Link Element Ids (GetMonitoredLinkElementIds Method of the Element Class). As far as I understand a FamilyInstance object is a sub-element of the Element class? Is there a way to access the Link Element Ids through the FamilyInstance or perhaps convert the FamilyInstance to Element so I can use the right method?
It is interesting that when I try to input a FamilyInstance to a Dynamo node that asks for Element it works just fine, but I can’t use the Element class methods on FamilyInstances