<Code Lib>
2021 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
)

Return Value bool True if the element can be repeated.

Loading…