Skip to content

ControlledApplication.OpenSharedParameterFile

Public Class

Enables access to shared parameter groups and definitions that are maintained on disk.

Namespace: Autodesk.Revit.ApplicationServices

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public DefinitionFile OpenSharedParameterFile()

Return Value

DefinitionFile
An object that represents a shared parameters file that exists on disk. Returns . if the file does not exist.

Remarks

This function is used to return an object that represents a Revit shared parameters file Revit can use only one shared parameters file at one time. The filename for the shared parameters file can be set in the Application.SharedParametersFilename property.