BindingMap
Description:
The parameters BindingMap contains all the parameter bindings that exist in the Autodesk Revit project.
The parameters BindingMap contains all the parameter bindings that exist in the Autodesk Revit project.
Remarks:
The ParameterBindingsMap is available from the Document.ParameterBindings property. A parameter binding is the way that a parameter definition is bound to elements within one or more categories. This map can be used to interrogate existing bindings, but it can also be used to generate new parameter bindings by using the Insert method.
The ParameterBindingsMap is available from the Document.ParameterBindings property. A parameter binding is the way that a parameter definition is bound to elements within one or more categories. This map can be used to interrogate existing bindings, but it can also be used to generate new parameter bindings by using the Insert method.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.DefinitionBindingMap
Autodesk.Revit.DB.BindingMap
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.DefinitionBindingMap
Autodesk.Revit.DB.BindingMap
public class BindingMap : DefinitionBindingMap
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DefinitionBindingMap() | None | Initializes a new instance of the class | DefinitionBindingMap |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Clear() | None | This method is used to remove all the items in the map. | |
| Contains(Definition) | bool | The Contains method is used to check if the parameter binding exists for one definition. | |
| Erase(Definition) | int | This method is used to erase one item in the map. | |
| Insert(Definition, Binding) | bool | Creates a new parameter binding between a parameter and a set of categories. | |
| Insert(Definition, Binding, BuiltInParameterGroup) | bool | Creates a new parameter binding between a parameter and a set of categories in a specified group. | |
| ReInsert(Definition, Binding) | bool | Removes an existing parameter and creates a new binding for a given parameter. | |
| ReInsert(Definition, Binding, BuiltInParameterGroup) | bool | Removes an existing parameter and creates a new binding for a given parameter in a specified group. | |
| Remove(Definition) | bool | The Remove method is used to remove a parameter binding. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Clear() | None | Removes every binding from the map, rendering it empty. | DefinitionBindingMap |
| Contains(Definition) | bool | DefinitionBindingMap | |
| Erase(Definition) | int | DefinitionBindingMap | |
| ForwardIterator() | DefinitionBindingMapIterator | Retrieve a forward moving iterator to the map. | DefinitionBindingMap |
| GetEnumerator() | IEnumerator | Retrieve a forward moving iterator to the map. | DefinitionBindingMap |
| Insert(Definition, Binding) | bool | DefinitionBindingMap | |
| ReverseIterator() | DefinitionBindingMapIterator | Retrieve a backward moving iterator to the map. | DefinitionBindingMap |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Item | Binding | The get_Item method will get the binding item related to the input key. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |
| IsEmpty | bool | Test to see if the map is empty. | DefinitionBindingMap |
| Item | Binding | DefinitionBindingMap | |
| Size | int | Returns the number of bindings that are in the map. | DefinitionBindingMap |