Table of Contents

Class ImportInstance

Namespace
OpenMEPRevit.Element
Assembly
OpenMEPRevit.dll
public class ImportInstance
Inheritance
ImportInstance
Inherited Members

Methods

GetPath(Element)

Retrieves information about external resources associated with a Revit element.

[MultiReturn(new string[] { "ModelIdentity", "Path", "PathType" })]
public static Dictionary<string, object?> GetPath(Element importInstance)

Parameters

importInstance Element

The Revit element for which external resource information is retrieved.

Returns

Dictionary<string, object>

A dictionary containing information about external resources with keys:

  • "ModelIdentity": Identity information of the model.
  • "Path": The path of the external resource.
  • "PathType": The type of path for the external resource.

Examples