Hi,
I tried to create some material tags with IndependentTag.Create() on certain views but encountered some problems:
1. If the view is not activated in the document, the material tags can still be created on that view but the texts are all question marks.(If the view is activated, even if it's not the current active view, the result is still right).
2. With those material tags with question marks, you can nudge the tags to reveal the right text but you cannot do that with codes.
3. Even if the right text is revealed, the tag.TagText is still empty with either Revit LookUp or code debugging which is quite wired.
The following pic shows some original material tags with question marks created by codes, some correct ones by nudging them manually, and the empty TagText by Revit LookUp.
Does anyone have any idea on the above problems? Thanks a lot.