IsCurveLoopsInsideHostBoundaries Method


Checks if contour loops is inside host boundaries.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2024

Syntax

C#
public static bool IsCurveLoopsInsideHostBoundaries(
	Document doc,
	ElementId hostId,
	IList<CurveLoop> loops
)
Visual Basic
Public Shared Function IsCurveLoopsInsideHostBoundaries ( _
	doc As Document, _
	hostId As ElementId, _
	loops As IList(Of CurveLoop) _
) As Boolean
Visual C++
public:
static bool IsCurveLoopsInsideHostBoundaries(
	Document^ doc, 
	ElementId^ hostId, 
	IList<CurveLoop^>^ loops
)

Parameters

doc
Type: Autodesk.Revit.DBDocument
Document.
hostId
Type: Autodesk.Revit.DBElementId
The id of the analytical element that is about to host a load
loops
Type: System.Collections.GenericIListCurveLoop
CurveLoops to be checked.

Return Value

Returns true if area load is positioned with entire distribution over the host, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →