SetSymbolTypeId Method


Sets the symbol that should be displayed to indicate the unit quantifying the value.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2014

Syntax

C#
public void SetSymbolTypeId(
	ForgeTypeId symbolTypeId
)
Visual Basic
Public Sub SetSymbolTypeId ( _
	symbolTypeId As ForgeTypeId _
)
Visual C++
public:
void SetSymbolTypeId(
	ForgeTypeId^ symbolTypeId
)

Parameters

symbolTypeId
Type: Autodesk.Revit.DB ForgeTypeId
The symbol identifier. An empty identifier string indicates no symbol.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException symbolTypeId is not a valid symbol for the unit in this FormatOptions.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions InvalidOperationException UseDefault is true in this FormatOptions.

See Also