Share

IndependentTag.GetTaggedElementIds Method

Returns a set of LinkElementId for all tagged elements, if any. A LinkElementId will be provided for each subelement that is being referenced by the tag.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public ICollection<LinkElementId> GetTaggedElementIds()

Return Value

ICollection<LinkElementId>
Set of all the tagged elements ids for both local and linked files.

Remarks

All the returned LinkElementIds will be valid even when IsOrphaned is true.

See Also

Reference

Was this information helpful?