Creates a new parameter binding between a parameter and a set of categories in a specified group.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public virtual bool Insert( Definition key, Binding item, ForgeTypeId groupTypeId )
Parameters
- key Definition
- A parameter definition which can be an existing definition or one from a shared parameters file.
- item Binding
- An InstanceBinding or TypeBinding object which contains the set of categories to which the parameter should be bound.
- groupTypeId ForgeTypeId
- The identifier of the parameter definition's parameter group, or empty if the parameter is not to be associated with any predefined group.