Hello All.
Could someone help me out with an example that shows the proper usage of the GetTag Method? There is no example shown in the help files. All of the examples related to Tags show to scan for the Tags themselves, then return the values. I am trying to filter for tagged elements, then return the value of a known tagset and tag.
Any assistance would be greatly appreciated.
This Tag Data Overview may help.
Regards, Jon Summers LA Solutions
One way I can think to use it would be getting the tag sets from the active design file, iterating, and searching for a specific Tag Name:
Dim ts As TagSetDim s As String = "Revision"Dim te As TagElementFor Each ts In ActiveDesignFile.TagSets te = ele.GetTag(ts, s) ' Do something with it hereNext ts
Though you might as well just iterate using the GetTags method