2022 Class
Changes 6
C

BindingMap

Description:
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.DefinitionBindingMap
      Autodesk.Revit.DB.BindingMap
Name Return Type Description Inherited From
C DefinitionBindingMap() None Initializes a new instance of the class DefinitionBindingMap
Name Return Type Description Inherited From
M Clear() None This method is used to remove all the items in the map.
M Contains(Definition) bool The Contains method is used to check if the parameter binding exists for one definition.
M Erase(Definition) int This method is used to erase one item in the map.
M Insert(Definition, Binding) bool Creates a new parameter binding between a parameter and a set of categories.
M Insert(Definition, Binding, BuiltInParameterGroup) bool Creates a new parameter binding between a parameter and a set of categories in a specified group.
M Insert(Definition, Binding, ForgeTypeId) bool Creates a new parameter binding between a parameter and a set of categories in a specified group.
M ReInsert(Definition, Binding) bool Removes an existing parameter and creates a new binding for a given parameter.
M ReInsert(Definition, Binding, BuiltInParameterGroup) bool Removes an existing parameter and creates a new binding for a given parameter in a specified group.
M ReInsert(Definition, Binding, ForgeTypeId) bool Removes an existing parameter and creates a new binding for a given parameter in a specified group.
M Remove(Definition) bool The Remove method is used to remove a parameter binding.
M Dispose() None Causes the object to release immediately any resources it may be utilizing. APIObject
M Clear() None Removes every binding from the map, rendering it empty. DefinitionBindingMap
M Contains(Definition) bool DefinitionBindingMap
M Erase(Definition) int DefinitionBindingMap
M ForwardIterator() DefinitionBindingMapIterator Retrieve a forward moving iterator to the map. DefinitionBindingMap
M GetEnumerator() IEnumerator Retrieve a forward moving iterator to the map. DefinitionBindingMap
M Insert(Definition, Binding) bool DefinitionBindingMap
M ReverseIterator() DefinitionBindingMapIterator Retrieve a backward moving iterator to the map. DefinitionBindingMap
Name Return Type Description Inherited From
P Item Binding The get_Item method will get the binding item related to the input key.
P IsReadOnly bool Identifies if the object is read-only or modifiable. APIObject
P IsEmpty bool Test to see if the map is empty. DefinitionBindingMap
P Item Binding DefinitionBindingMap
P Size int Returns the number of bindings that are in the map. DefinitionBindingMap