LinearArray.ArrayElementsWithoutAssociation
Description:
Creates a new linear array from a set of elements.
Creates a new linear array from a set of elements.
Remarks:
The resulting elements will not be associated with an array element.
The resulting elements will not be associated with an array element.
-
aDocThe document.
-
dBViewThe view. If it is a 2d view, translation vector must be in the view plane if elements include view-specific elements. If elements include view-specific elements, they must belong to this view.
-
ICollection<ElementId>idsThe elements to array.
-
Int32countThe number of array members to create including the initial element grouping. Must between 2 and 200 in projects, and between 0 and 200 in families.
-
translationToAnchorMemberThe translation vector for the array.
-
anchorMemberIndicates if the translation vector specifies the location of the second member of the array, or the last member of the array.
-
The given element id set is empty. -or- One or more elements in ids do not exist in the document. -or- One or more elements in ids is owned by different views and thus cannot be arrayed together. -or- One or more elements in ids is not arrayable. -or- count must be between 2 and 200 in project documents and between 0 and 200 in family documents. -or- The view is invalid for specific view elements array. -or- The translation point vector is invalid to array the element.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
Failed to create the linear array.