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

PartUtils.IsValidForCreateParts

Method
Description:
Identifies if the given element can be used to create parts.
Syntax
public static bool IsValidForCreateParts(
	Document document,
	LinkElementId hostOrLinkElementId
)
Parameters
Parameter Type Description
document Document The document.
hostOrLinkElementId LinkElementId Id to be tested for validity for creating part.
Return Value
Type Description
Boolean True if this id is valid, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null