Checks whether an accuracy is valid for a given display unit.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.0.0.0)
Since:
2014
Syntax
C# |
---|
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidAccuracy(ForgeTypeId, double)` overload instead.")]
public static bool IsValidAccuracy(
DisplayUnitType displayUnit,
double accuracy
) |
Visual Basic |
---|
<ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidAccuracy(ForgeTypeId, double)` overload instead.")> _
Public Shared Function IsValidAccuracy ( _
displayUnit As DisplayUnitType, _
accuracy As Double _
) As Boolean |
Visual C++ |
---|
[ObsoleteAttribute(L"This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `IsValidAccuracy(ForgeTypeId, double)` overload instead.")]
public:
static bool IsValidAccuracy(
DisplayUnitType displayUnit,
double accuracy
) |
Return Value
True if the accuracy is valid, false otherwise.
Remarks
Exceptions
See Also