UnloadItemFiles Method


Unload the specified fabrication item files from the project.

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

Syntax

C#
public void UnloadItemFiles(
	IList<FabricationItemFile> itemFiles
)
Visual Basic
Public Sub UnloadItemFiles ( _
	itemFiles As IList(Of FabricationItemFile) _
)
Visual C++
public:
void UnloadItemFiles(
	IList<FabricationItemFile^>^ itemFiles
)

Parameters

itemFiles
Type: System.Collections.GenericIListFabricationItemFile
The fabrication item files to unload.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException Fabrication item files can not be unloaded if they are currently in use. -or- Some fabrication item files have not been loaded.
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.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →