SetMapOfInLinePartTypes Method


Set the mapping of fabrication part types for in-line parts for the service and palette to change to.

Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2018.2

Syntax

C#
public void SetMapOfInLinePartTypes(
	IDictionary<ElementId, ElementId> fabricationPartTypes
)
Visual Basic
Public Sub SetMapOfInLinePartTypes ( _
	fabricationPartTypes As IDictionary(Of ElementId, ElementId) _
)
Visual C++
public:
void SetMapOfInLinePartTypes(
	IDictionary<ElementId^, ElementId^>^ fabricationPartTypes
)

Parameters

fabricationPartTypes
Type: System.Collections.Generic IDictionary ElementId , ElementId
The map containing the original fabrication part type to the fabrication part type to change to.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →