FormatOptions.IsValidSymbol(ForgeTypeId) Method
Checks whether a symbol is valid for the unit in this FormatOptions.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool IsValidSymbol( ForgeTypeId symbolTypeId )
Parameters
symbolTypeId
ForgeTypeId
Identifier of the symbol to check.
Return Value
Boolean
True if the symbol is valid, false otherwise.
Exceptions
Exception
Condition
ArgumentNullException
A non-optional argument was null
InvalidOperationException
UseDefault is true in this FormatOptions.
See Also
Reference
FormatOptions Class
IsValidSymbol Overload
Autodesk.Revit.DB Namespace