NewTypeBinding Method (CategorySet)


Creates a new type binding object containing the categories passed as a parameter.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public TypeBinding NewTypeBinding(
	CategorySet categorySet
)
Visual Basic
Public Function NewTypeBinding ( _
	categorySet As CategorySet _
) As TypeBinding
Visual C++
public:
TypeBinding^ NewTypeBinding(
	CategorySet^ categorySet
)

Parameters

categorySet
Type: Autodesk.Revit.DB CategorySet
A set of categories that will be added to the binding.

Return Value

A new type binding object.

Remarks

Type binding objects are used for attaching shared parameter definitions to a type within a category.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →