Unload the specified fabrication services from the project.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since: 2016
Syntax
C# |
---|
public void UnloadServices( IList<int> serviceIds ) |
Visual Basic |
---|
Public Sub UnloadServices ( _ serviceIds As IList(Of Integer) _ ) |
Visual C++ |
---|
public: void UnloadServices( IList<int>^ serviceIds ) |
Parameters
- serviceIds
- Type: System.Collections.Generic..::..IList<(Of <(<'Int32>)>)>
The ids of the fabrication services to unload.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | Fabrication services can not be unloaded if they are in use currently. -or- Some services are not loaded yet. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..InvalidOperationException | The current fabrication configuration is not connected and updated to source configuration. Reload and try again. |