IsHosted Property


Indicates if the Load is hosted or non-hosted.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2016

Syntax

C#
public bool IsHosted { get; }
Visual Basic
Public ReadOnly Property IsHosted As Boolean
	Get
Visual C++
public:
property bool IsHosted {
	bool get ();
}

Remarks

True is returned when load is hosted. False is returned load is non-hosted. To determine if load is hosted HostElementId property or [!:Autodesk::Revit::DB::Structure::LoadBase::HostElement] property may also be used.

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 →