LoadServices Method


Loads the specified fabrication services into the project.

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

Syntax

C#
public IList<int> LoadServices(
	IList<int> serviceIds
)
Visual Basic
Public Function LoadServices ( _
	serviceIds As IList(Of Integer) _
) As IList(Of Integer)
Visual C++
public:
IList<int>^ LoadServices(
	IList<int>^ serviceIds
)

Parameters

serviceIds
Type: System.Collections.GenericIListInt32
The identifiers of the fabrication services to load.

Return Value

The identifiers of the fabrication services which failed to load.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException The current fabrication configuration is not connected and updated to source configuration. Reload and try again. -or- this operation failed.

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 →