M

BoundaryConditions.IsValidHostId

Description:
Checks if the provided host id can host a boundary conditions of the provided type.
public static bool IsValidHostId(
	Document doc,
	ElementId hostId,
	BoundaryConditionsType type
)
  • doc
    The document containing both the host and the boundary conditions.
  • hostId
    The id of the analytical element that is about to host a boundary conditions.
  • type
    The type of the boundary conditions that is about to be hosted.
Return Value Boolean True if an area boundary conditions can be placed on the input host id.