GetTypeName Method


Get the name of the AssetProperty

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)

Syntax

C#
public static string GetTypeName(
	AssetPropertyType type
)
Visual Basic
Public Shared Function GetTypeName ( _
	type As AssetPropertyType _
) As String
Visual C++
public:
static String^ GetTypeName(
	AssetPropertyType type
)

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when type is AssetPropertyType::Unknown.

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 →