RadialArray.ArrayElementWithoutAssociation
Description:
Creates a new radial array from a single element based on an input rotation axis.
Creates a new radial array from a single element based on an input rotation axis.
Remarks:
The resulting elements will not be associated with an array element.
The resulting elements will not be associated with an array element.
public static ICollection<ElementId> ArrayElementWithoutAssociation(
Document aDoc,
View dBView,
ElementId id,
int count,
Line axis,
double angle,
ArrayAnchorMember anchorMember
)
-
aDocThe view. If it is a 2d view, translation vector must be in the view plane if the element is a view-specific element.
-
dBViewThe view.
-
idThe element to array. The position of the rotation axis is determined by the center of the element's bounding boxes.
-
countThe number of array members to create. The accepted range is from 3 to 200.
-
axisThe rotation axis.
-
angleThe angle in radians of the rotation.
-
anchorMemberIndicates if the translation vector specifies the location of the second member of the array, or the last member of the array.
-
The element id does not exist in the document -or- id is not arrayable. -or- count must be between 3 and 200. -or- The view is invalid for specific view elements array. -or- The rotation axis is invalid to array the element. -or- Angle value must be not zero and not a multiple of 2*PI.
-
A non-optional argument was NULL
-
A value passed for an enumeration argument is not a member of that enumeration
-
Failed to create the radial array.