<Code Lib>
2025.3 Class
Changes 0
C

TypeBinding

Description:
TypeBinding objects are used to bind a property to a Revit type, such as a wall type.
Remarks:
This differs from Instance bindings in that the property is then shared by all instances that use that type. Changing the parameter for one type affects all other instances that use that type.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.Binding
      Autodesk.Revit.DB.ElementBinding
        Autodesk.Revit.DB.TypeBinding

public class TypeBinding : ElementBinding

Name Return Type Description Inherited From
C TypeBinding() TypeBinding Constructs an empty type binding.
C TypeBinding(CategorySet) TypeBinding Constructs a type binding with the set of categories passed.

Name Return Type Description Inherited From
M Dispose() None Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object

Name Return Type Description Inherited From
P Categories CategorySet Retrieve or set the categories to which a parameter definition will be bound. (Inherited from ElementBinding ) ElementBinding
P IsReadOnly bool Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject

Loading…