Function Entry: ANGTOF
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: ANGTOF
Name
angtof
Class
Conversion Function
Syntax
(angtof string [unit])
Arguments and Values
string— stringunit— 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
unitvalues as those ofAUNITS:0degrees1degrees/minutes/seconds2grads3radians4surveyor's units
- If
unitis omitted, Autodesk documents thatangtofuses the currentAUNITSsetting. - Autodesk documents
angtofandangtosas 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.
Source Notes
- [angtof (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/ENU/AutoCAD-AutoLISP-Reference/files/GUID-9DE9200B-F27E-4BB6-8AE6-BC5C8A64A527.htm)
- [About Angular Conversion (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/KOR/AutoCAD-LT-AutoLISP/files/GUID-725BC3DE-3D4C-4365-A7F9-FAD5B8AC2DD1.htm)