我試圖通過的Revit 2012 API來創建一個主題標籤中的Revit API的主題。不過,我現在發現參考了在互聯網上或樣本中創建Keynote標籤的任何地方。我看到BuiltInCategory.OST_KeynoteTags是IndependentTag類的一部分,並根據http://thebuildingcoder.typepad.com/files/guide-to-placing-family-instances-with-the-api.doc您需要使用TM_ADDBY_CATEGORY TagMode創建一個主題。但是,當您嘗試通過ChangeTypeId更改新標籤時,會出現錯誤。您可以創建使用C#
有人想過這個嗎?
[Revit API:如何爲牆體和材質Keynote創建Element Keynote?](http://stackoverflow.com/questions/16589221/revit-api-how-to-create-element-keynote- for-a-wall-and-material-keynote) – skeletank