TANH

Now reading version 18.0. For the latest, read: TANH for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: System Query Functions - Trigonometry Functions

Summary

Returns a (real) number whose value is equal to the hyperbolic tangent of the parameter's numeric value.

Syntax

TANH(X : Number / Numeric_String) : Number

Example Usage

TANH(TextWidth / TextHeight) < 0.17
Returns objects for which the hyperbolic tangent of the ratio of their TextWidth distance to their TextHeight distance is less than 0.17. (That is equivalent to returning objects for which the ratio of their TextWidth distance to their TextHeight distance is less than 0.1717).

(TextWidth / TextHeight) >= TANH(0.2)
Returns objects for which the ratio of their TextWidth distance to their TextHeight distance is equal to, or greater than, the hyperbolic tangent of 0.2 (which is 0.1974).

 

Note

The features available depend on your level of Altium Designer Software Subscription.