I've spent some time recently trying to learn about macros, scripts, and LISP to streamline some tasks in Carlson Survey with IntelliCAD. Is there a way to read and/or set the horizontal scale of a drawing from the command line? I found this old post but I can't figure out syntax for it. https://update.carlsonsw.com/phpBB2/viewtopic.php?f=5&t=1759. Seems like a fundamental variable that controls a lot of other stuff and I can't believe it's so difficult to find.
Can't you just click the pull-down, or just type, setup
Or are you looking for something else?
Can't you just click the pull-down, or just type, setup
Yes, but not from within a macro.
Not a Carlson user, however I recall writing a LISP program for a Carlson user and I am pretty sure you just treat it as any other variable. Should be able to set it and retrieve like any other variable, local or global.
(setq sv:sm scale_factor)
@jacob-wall That works. Thanks!
Kinda strange. If I type (setq sv:sm 500), the command line replies 500, but setup says the horizontal scale is 100. I tried a bunch of different scales, and setup seems to get stuck on 100. Usually, but not always. Must be a bug. But it changes the default text size, which is what I was trying to accomplish.