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

LinearArray.IsValidNumberOfMembers

Method
Description:
This indicates whether the input count is a valid size for an array based on the document.
Remarks:
In project documents, the array count must be between 2 and 200. In family documents, the array count must be between 0 and 200.
Syntax
public static bool IsValidNumberOfMembers(
	int count,
	Document pADoc
)
Parameters
Parameter Type Description
count Int32 The count.
pADoc Document The document.
Return Value
Type Description
Boolean True if an array can be set to the specified count in the given document, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null