IsRecommendedTypeForSet Method


Checks if the element type is recommended for alignment labels in sets.

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

Syntax

C#
public static bool IsRecommendedTypeForSet(
	Element type
)
Visual Basic
Public Shared Function IsRecommendedTypeForSet ( _
	type As Element _
) As Boolean
Visual C++
public:
static bool IsRecommendedTypeForSet(
	Element^ type
)

Parameters

type
Type: Autodesk.Revit.DBElement
The type element to check.

Remarks

Can be used for finding types to be set to TypeId when creating alignment label sets with CreateSet(Alignment, View, AlignmentStationLabelSetOptions).

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →