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