CreateRecommendedTypeForSet Method


Creates an element type recommended for alignment label sets and returns its ElementId.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2021.1

Syntax

C#
public static ElementId CreateRecommendedTypeForSet(
	Document document
)
Visual Basic
Public Shared Function CreateRecommendedTypeForSet ( _
	document As Document _
) As ElementId
Visual C++
public:
static ElementId^ CreateRecommendedTypeForSet(
	Document^ document
)

Parameters

document
Type: Autodesk.Revit.DB Document
The document in which the type will be created.

Remarks

The crucial features of the label type recommended for sets are: - rotate with component - vertical text - label display includes station value - leader arrow head has type "Heavy End Tick Mark"

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 →