GetService Method


Get the service based on the service identifier from the fabrication configuration in the current document.

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

Syntax

C#
public FabricationService GetService(
	int serviceId
)
Visual Basic
Public Function GetService ( _
	serviceId As Integer _
) As FabricationService
Visual C++
public:
FabricationService^ GetService(
	int serviceId
)

Parameters

serviceId
Type: SystemInt32
The service identifier.

Return Value

The service based on the service identifier.

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 →