2021 Method
Changes 0
M

LinearArray.ArrayElementsWithoutAssociation

Description:
Creates a new linear array from a set of elements.
Remarks:
The resulting elements will not be associated with an array element.
public static ICollection<ElementId> ArrayElementsWithoutAssociation(
	Document aDoc,
	View dBView,
	ICollection<ElementId> ids,
	int count,
	XYZ translationToAnchorMember,
	ArrayAnchorMember anchorMember
)
  • aDoc
    The document.
  • dBView
    The 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>
    ids
    The elements to array.
  • Int32
    count
    The number of array members to create including the initial element grouping. Must between 2 and 200.
  • translationToAnchorMember
    The translation vector for the array.
  • anchorMember
    Indicates if the translation vector specifies the location of the second member of the array, or the last member of the array.
Return Value ICollection<ElementId> The ids of the elements created during the operation.