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

Units.IsModifiableSpec

Method
Description:
Checks whether the default FormatOptions can be modified for a given spec.
Remarks:
The Units class stores a FormatOptions object for every spec, but not all of them can be directly modified. Some have fixed definitions.
Syntax
public static bool IsModifiableSpec(
	ForgeTypeId specTypeId
)
Parameters
Parameter Type Description
specTypeId ForgeTypeId Identifier of the spec to check.
Return Value
Type Description
Boolean True if the FormatOptions can be modified, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null