Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OpenAndActivateDocument を使用した 2012 API と同様に、Revit API 2011 でドキュメントを開いてアクティブ化する方法はありますか?
あまり。実行できる最善のハックは、次の2つのうちの1つです。
従来のopenメソッドを使用して開いた後:-UIDocument.ShowElements()ルーチンを使用して、既知の要素を表示しようとします-ビューのJPEGをエクスポート(または印刷)してグラフィックを強制的にレンダリングします
全体として、それは理想的ではありませんが、2011年にはそれを使用する必要があります。