2027 Method
Changes 0
M

Document.NewCurtainSystem2

Description:
Creates a new CurtainSystem element from a set of face references.
Remarks:
The faces can belong to different masses or generic models. The number of CurtainSystems will be equal to the number of masses and generic models.
public ICollection<ElementId> NewCurtainSystem2(
	ReferenceArray faces,
	CurtainSystemType curtainSystemType
)
Return Value ICollection<ElementId> A set of ElementIds of CurtainSystems will be returned when the operation succeeds.
  • Thrown in following cases: The input argument faces or curtainSystemType is. The size of faces is zero.
  • Thrown when the CurtainSystem cannot be created, for example, the input faces don't belong to same mass or generic model. Or regenerate fails.
  • Thrown if the curtain system type does not exist in the given document.