2027 Method
Changes 0
M

ComponentRepeater.CanElementBeRepeated

Description:
Determines whether an element can be repeated using the RepeatElements method.
Remarks:
The element must be an adaptive family instance and have no shape handles. At least one placement point must be hosted on a 1D or 2D repeating reference. All other placement points can be hosted on a 0D, 1D or 2D repeating reference, or must be unhosted.
public static bool CanElementBeRepeated(
	Document ADoc,
	ElementId elementId
)
  • ADoc
    The document containing the element.
  • elementId
    The element to be tested.
Return Value Boolean True if the element can be repeated.