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

FormUtils.DissolveForms(Document, ICollection<ElementId>)

Method
Description:
Dissolves a collection of form elements into their defining elements.
Syntax
public static ICollection<ElementId> DissolveForms(
	Document ADoc,
	ICollection<ElementId> elements
)
Parameters
Parameter Type Description
ADoc Document The document
elements ICollection A collection of element IDs of Forms and GeomCombinations that contain Forms that will be dissolved.
Return Value
Type Description
ICollection A collection of curve element ids from the profiles and paths of the dissolved forms.
Exceptions
Exception Condition
ArgumentException The elements do not include Forms that can be dissolved.
ArgumentNullException A non-optional argument was null