RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Units

Units.GetFormatOptions

Method
Description:
Gets the default FormatOptions for a spec.
Syntax
Parameters
Parameter Type Description
specTypeId ForgeTypeId Identifier of the spec.
Return Value
Type Description
FormatOptions A copy of the FormatOptions.
Exceptions
Exception Condition
ArgumentException specTypeId is not a measurable spec identifier. See UnitUtils.IsMeasurableSpec(ForgeTypeId).
ArgumentNullException A non-optional argument was null