RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.GetDependentElements

Method
Description:
Get all elements that, from a logical point of view, are the children of this Element.
Remarks:

The elements that this method will return:

  1. Will be deleted if the input Element is deleted.
  2. Potentially could report the input Element as a host (there could be other type of parent/child relationship here: for example view/view-specific elements, etc.)

Syntax
Parameters
Parameter Type Description
filter ElementFilter What type of elements we are interested of. Can be NULL to return all dependent elements.
Return Value
Type Description
IList Logical children of this element