- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here is the current LISP I use for REVCLOUD:
(DEFUN C:RC ()(COMMAND "REVCLOUD")(while (= 1 (getvar "cmdactive"))(command pause))
(COMMAND "-LAYER" "M" "Notes_Revisions" "C" "T" "255,0,0" "" "S" "0" "")
(COMMAND "CHPROP" "LAST" "" "LA" "Notes_Revisions" "")
(PRINC))
What I'd like to do is have the REVCLOUD determine if it is in paper space or model space and adjust it's arc length scale accordingly. Most revision clouds get added in paper space, but occasionally one will need to be added in model space, but it's near-impossible to close because the arcs are microscopic (and doesn't look good graphically either).
I don't think there's a perfect way to do this because drawings can be at different scales, but here are the arc lengths I use most often:
Paper Space: min 1/8", max 1/4"
Model Space: min 24", max 48"
I'm looking for the syntax to modify my LISP above to add something like:
if in Model space (or inside a viewport in paper space), set arc lengths to 24" and 48"
if in Paperspace (outside of a viewport), set arc lengths to 1/8" and 1/4"
Then, if I needed to make manual adjustments outside those most common scenario above, I'd still be able to manually change it, so it would run something like:
Run REVCLOUD > Set typical arc lengths based on model/paper space > prompt for user input (start point or setting arc lengths manually and then selecting start point) > draw revision cloud > put revision cloud on layer per my existing LISP I shared above
Thanks!
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)
Solved! Go to Solution.