2027 Method
Changes 0
M

MEPAnalyticalConnection.CreateMultipleConnections

Description:
Creates new analytical connections between the equipment connector and the nearest point on the curves.
public static ISet<ElementId> CreateMultipleConnections(
	Document doc,
	ElementId typeId,
	IList<Connector> equipmentOpenConnectors,
	IList<ElementId> curveIdsToConnect
)
  • doc
    The document where the new elements are created.
  • typeId
    The type of new analytical connections.
  • IList<Connector>
    equipmentOpenConnectors
    The open equipment connectors to be analytically connected.
  • IList<ElementId>
    curveIdsToConnect
    The curves which the equipment is connected to.
Return Value ISet<ElementId> The new analytical connection elements.
  • Invalid connection type. -or- Not all connectors support the analytical connection. -or- No connector included. -or- Not all elements are valid curve ids. -or- No curve included.
  • A non-optional argument was null