•GetDividedSurfaceForReference
Find the
DividedSurface element associated with a surface of this element
•GetReferencesWithDividedSurfaces
§ Find the set of references that
have associated DividedSurface elements
•
Find all divided surfaces
ReferenceArray dsRefs = new ReferenceArray();
foreach (Autodesk.Revit.Element e
in list)
{
Form form = e as Form;
DividedSurfaceData dsData = form.GetDividedSurfaceData();
if
(dsData != null)
{
foreach (Reference r in dsData.GetReferencesWithDividedSurfaces())
{
dsRefs.Append(r);
}
}
}