Revit 2023 API |
AlignmentStationLabel..::..IsValidType Method |
AlignmentStationLabel Class See Also |
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: 23.0.0.0 (23.1.0.0)
Since:
2021.1
Syntax
C# |
---|
public static bool IsValidType( Element type ) |
Visual Basic |
---|
Public Shared Function IsValidType ( _ type As Element _ ) As Boolean |
Visual C++ |
---|
public: static bool IsValidType( Element^ type ) |
Parameters
- type
- Type: Autodesk.Revit.DB..::..Element
The element type to validate.
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).