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

PartMaker.SetSourceElementIds

Method
Description:
Set the source elements for the PartMaker.
Syntax
public void SetSourceElementIds(
	ICollection<ElementId> sourceElementIds
)
Parameters
Parameter Type Description
sourceElementIds ICollection Elements to be the sources for this PartMaker.
Return Value
Exceptions
Exception Condition
ArgumentException One or more element ids was not permitted to be a source for this PartMaker Elements should be Parts that have no PartMaker yet
ArgumentNullException A non-optional argument was null