GetRevitServerNetworkHosts Method


Application Get Revit Server Network Hosts Method

Gets the list of all Revit Server Network hosts in current session.

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<string> GetRevitServerNetworkHosts()

Return Value

IList String
An array of names of all Revit Server Network hosts in current session.
Remarks
The list of Revit Server Network hosts is stored externally in the RSN[version].ini file.
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 →