GetServerGUID Method


Returns the GUID of the API server.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2018

Syntax

C#
public Guid GetServerGUID()
Visual Basic
Public Function GetServerGUID As Guid
Visual C++
public:
Guid GetServerGUID()

Return Value

The GUID of the API server

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException This RebarFreeFormAccessor doesn't contain a valid rebar reference.

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 →