Shared Parameters

Shared Parameters are parameter definitions stored in an external text file.

Shared Parameters

The definitions are identified by a unique identifier generated when the definition is created and can be used in multiple projects.

The main objects associated with shared parameters are:
  • DefinitionFile - represents a shared parameters file on disk
  • DefinitionGroup - group of shared parameters which are organized into meaningful sets
  • ExternalDefinition - represents a shared parameter definition, belongs to a DefinitionGroup
  • ExternalDefinitions - supports the creation of new shared parameters definitions
  • Binding - binds a parameter definition to one or more categories
  • BindingMap - contains all the parameter bindings that exist in the Autodesk Revit project
  • ParameterElement - stores information about a particular user-defined parameter in the document
  • SharedParameterElement - derived from ParameterElement, stores the definition of a shared parameter

The following sections describe how to gain access to shared parameter definitions through the Revit Platform API, including how to get a shared parameter definition and bind it to Elements in certain Categories.