Application.IsValidThickness
Method
Description:
Checks if the input value is valid to be supplied as a thickness (for an extrusion, or blend, or wall layer, or similar geometric construct).
Checks if the input value is valid to be supplied as a thickness (for an extrusion, or blend, or wall layer, or similar geometric construct).
Remarks:
This checks two conditions:
This checks two conditions:
- The value is greater than or equal to the minimum thickness allowed in Revit for these types of geometric constructs.
- The value is less than or equal to the maximum length/distance allowed by Revit for elements.