*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
| Wiki Markup |
|---|
h1. General Program Information |
...
h2. Basics - Using Numbers in Code |
...
Variables within this section of basics provide numbers for constants within AutoCAD or specify AutoCAD versions. Additionally, this section includes functions which limit the significant figures for numbers used in AutoCAD programs. |
...
*sp* - |
...
sp := " " |
...
*zc* - |
...
zc := .01m |
...
*stringit* - |
...
stringit{(}x{)} := * num2str(round(x/m,5)) |
...
*stringit |
...
{~}nonunits~ - stringit{~}nonunits~(x) := * num2str(round(x,5)) |
...
*point* point(pointarray) := |
...
*point |
...
{~}nonunits~
point{~}nonunits~ |