AlignmentStationLabel.IsValidType Method

AlignmentStationLabelIsValidType Method

Checks if the type is a valid alignment station label type.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool IsValidType(
	Element type
)
Public Shared Function IsValidType ( 
	type As Element
) As Boolean
public:
static bool IsValidType(
	Element^ type
)
static member IsValidType : 
        type : Element -> bool 

Parameters

type  Element
The element type to validate.

Return Value

Boolean
Remarks
Can be used for finding or types to be set to TypeId when creating alignment label sets with Create(Alignment, View, AlignmentStationLabelOptions); or types to be set to TypeId when creating alignment labels with CreateSet(Alignment, View, AlignmentStationLabelSetOptions).
See Also