I'm trying to create Element Keynote for a wall and Material Keynote for it's materials (to make it like in this image bit I'm completely stuck with it.
I tried to create a tag how it was shown in this blog post: http://thebuildingcoder.typepad.com/blog/2010/06/set-tag-type.html But I can't change a keynote tag to OST_KeynoteTags
and to associate it with wall or material:
FamilySymbol keynoteTagType = GetFirstFamilySymbol(doc, BuiltInCategory.OST_KeynoteTags);
IndependentTag newTag = doc.Create.NewTag(view, wall, true, tagMode, tagorn, wallMid);
but Revit doesn't allow me to do this:
newTag.ChangeTypeId(keynoteTagType.Id);
or maybe I'm on the wrong path...