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

PartUtils.AreElementsValidForCreateParts

Method
Description:
Identifies if the given elements can be used to create parts.
Syntax
public static bool AreElementsValidForCreateParts(
	Document document,
	ICollection<ElementId> elementIds
)
Parameters
Parameter Type Description
document Document The document.
elementIds ICollection Element ids to be tested for validity for creating parts.
Return Value
Type Description
Boolean True if all member ids are valid, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null