LoadItemFiles Method


Loads the specified fabrication item files into 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 IList<FabricationItemFile> LoadItemFiles(
	IList<FabricationItemFile> itemFiles
)
Visual Basic
Public Function LoadItemFiles ( _
	itemFiles As IList(Of FabricationItemFile) _
) As IList(Of FabricationItemFile)
Visual C++
public:
IList<FabricationItemFile^>^ LoadItemFiles(
	IList<FabricationItemFile^>^ itemFiles
)

Parameters

itemFiles
Type: System.Collections.GenericIListFabricationItemFile
The relative paths of the fabrication item files to load.

Return Value

The relative paths of the fabrication item files 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