© 2010 Autodesk
Introduction to Revit 2011 API
要素フィルタ
 システムファミリのインスタンス
§全ての壁のインスタンスを見つける
<VB.NET>
    Dim wallCollector = New FilteredElementCollector(m_rvtDoc).OfClass(GetType(Wall))
    Dim wallList As IList(Of Element) = wallCollector.ToElements
</VB.NET>
この例ではすべての壁のインスタンスを見つける例です。壁のインスタンスの定義クラスである Wall クラス でフィルタリングしています。