我正在尝试为墙壁创建 Element Keynote 并为其 Material 创建 Material Keynote(为了使其像 in this image 我完全坚持下去。
我尝试创建一个标签,如本博客文章中所示:http://thebuildingcoder.typepad.com/blog/2010/06/set-tag-type.html但我无法将主题标记更改为 OST_KeynoteTags
并将其与墙壁或 Material 相关联:
FamilySymbol keynoteTagType = GetFirstFamilySymbol(doc, BuiltInCategory.OST_KeynoteTags);
IndependentTag newTag = doc.Create.NewTag(view, wall, true, tagMode, tagorn, wallMid);
但 Revit 不允许我这样做:
newTag.ChangeTypeId(keynoteTagType.Id);
或者也许我走错了路......
最佳答案
我从 Autodesk 得到的答案是,不可能通过 API 创建主题演讲。
很抱歉宣布这个坏消息。
关于c# - Revit API : How to create Element Keynote for a wall and Material Keynote?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16589221/