2022 Method
Changes 4
M

Application.OpenSharedParameterFile

Description:
Enables access to shared parameter groups and definitions that are maintained on disk.
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.
public DefinitionFile OpenSharedParameterFile()
nullNothingnullptr An object that represents a shared parameters file that exists on disk. Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) if the file does not exist.