Function Entry: ANGTOF

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: ANGTOF

Name

angtof

Class

Conversion Function

Syntax

(angtof string [unit])

Arguments and Values

  • string — string
  • unit — optional integer angular-unit selector

Description

Converts an angle string to a numeric angle value.

Return Values

Real angle value if successful; otherwise nil.

Compatibility

Part of host-oriented numeric formatting and parsing semantics.

Notes

  • Autodesk documents the accepted unit values as those of AUNITS:
    • 0 degrees
    • 1 degrees/minutes/seconds
    • 2 grads
    • 3 radians
    • 4 surveyor's units
  • If unit is omitted, Autodesk documents that angtof uses the current AUNITS setting.
  • Autodesk documents angtof and angtos as complementary functions when matching unit conventions are used.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.