IndependentTag.GetTaggedLocalElement
Description:
Get the tagged local element, if any. If the tag is tagged on a subelement of local element, it returns the element.
Get the tagged local element, if any. If the tag is tagged on a subelement of local element, it returns the element.
[ObsoleteAttribute("This method is deprecated in Revit 2022 and will be removed in a later version of Revit. We suggest you use the `GetTaggedLocalElements()` method instead.")]
public Element GetTaggedLocalElement()
nullNothingnullptr
The tagged element from the local document, or null Nothing nullptr a null reference ( Nothing in Visual Basic) for orphan tags and tagged elements in linked documents.