@ronjonp
Thanks for helping me out with this again. I debated following up in my other thread, but nixed the idea since it was technically a different request. The LISP you provided is working great, but it has made me greedy for perfection now. : )
It appears both of your posts require me to be in a viewport for it to work. If the LISP you posted isn't supposed to work that way, then it's not working for me. I changed the command to rcc for testing so my existing rc command wouldn't interfere with it. Otherwise, I don't see it changing size (paper space is one size and model space is another, but that's it).
I'm going to try to explain what I'm expecting a bit better hopefully, because I'm not sure I've described it well enough yet. If the physical dimensions of my display are 36" wide x 20" high (and the program window is maximized), I want the arc length to always be 1/2" relative to the physical dimensions of my display (as if I were drawing with a marker on my display). Now, AutoCAD knows nothing about the physical dimensions of my monitor, but there is a resolution in pixels (if AutoCAD is able to "know" it's window size). Thinking about this more, my display size is fixed and the "magic number" value is fixed, so it's going to return the same size arc length regardless of my zoom level, which means it'll be microscopic at certain zoom levels and not what I want. So, contrary to what I said before, I think the zoom factor might need to be accounted for because AutoCAD doesn't know what 1/2" is relative to my display either.
Example of how I envision it working:
I zoom in tightly on text in paper space, run the RC LISP, and it draws the arc lengths physically at 1/2" relative to my display (which means it's telling AutoCAD to use something like an 1/8" actual arc length). I then switch to model space and cloud around a 300' long building and I'm really zoomed out to do this. I still want the arc lengths to be 1/2" relative to my display, but in this case, the LISP would tell AutoCAD to use an actual arc length of something like 8'.
Possible process to code it:
Get screen resolution and multiply by current zoom factor and a constant I can adjust in the LISP; the resulting number is reported to the REVCLOUD command as an arc length value and then freehand drawing of the revision cloud can begin.
That's my end goal and if there's a better way to get there, that's fine with me. I think the zoom factor will probably add another level of complexity and may not end up being practical in usage, but I don't know what other variable could be used. When you're in model space, or in paper space (outside of a viewport), there's no scale to reference so I think that option is out. The screen resolution may not be necessary either, but I'm trying to encompass situations where the program may not be maximized, or working on a different monitor. Maybe that's asking too much.
@pendean
Is that an annotative text option you shared? Or else, what is that dialog from?
Work: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)