<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REVCLOUD LISP to distinguish between Paper Space and Model Space? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913480#M31032</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;That's perfect – thanks so much!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 18:29:33 GMT</pubDate>
    <dc:creator>nrz13</dc:creator>
    <dc:date>2023-04-21T18:29:33Z</dc:date>
    <item>
      <title>REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913098#M31026</link>
      <description>&lt;P&gt;Here is the current LISP I use for REVCLOUD:&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;(DEFUN C:RC ()(COMMAND "REVCLOUD")(while (= 1 (getvar "cmdactive"))(command pause))&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;(COMMAND "-LAYER" "M" "Notes_Revisions" "C" "T" "255,0,0" "" "S" "0" "")&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;(COMMAND "CHPROP" "LAST" "" "LA" "Notes_Revisions" "")&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;(PRINC))&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;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.&amp;nbsp; 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).&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;Paper Space:&amp;nbsp; min 1/8", max 1/4"&lt;BR /&gt;Model Space:&amp;nbsp; min 24", max 48"&lt;BR /&gt;&lt;BR /&gt;I'm looking for the syntax to modify my LISP above to add something like:&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;if in Model space (or inside a viewport in paper space), set arc lengths to 24" and 48"&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;if in Paperspace (outside of a viewport), set arc lengths to 1/8" and 1/4"&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Run REVCLOUD &amp;gt; Set typical arc lengths based on model/paper space &amp;gt; prompt for user input (start point or setting arc lengths manually and then selecting start point) &amp;gt; draw revision cloud &amp;gt; put revision cloud on layer per my existing LISP I shared above&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;FONT color="#000000"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 16:01:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913098#M31026</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2023-04-21T16:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913204#M31027</link>
      <description>&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/304888"&gt;@nrz13&lt;/a&gt; It's almost like REVCLOUD should have been annotative so it will auto-resize....&lt;BR /&gt;&lt;BR /&gt;Here is a dumb question.... why 'revcloud' in paperspace at all? Or do you folks annotate and dimension there and never in modelspace?</description>
      <pubDate>Fri, 21 Apr 2023 16:42:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913204#M31027</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2023-04-21T16:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913301#M31028</link>
      <description>&lt;P&gt;Yes, all notes and dimensions are in paper space.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 17:18:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913301#M31028</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2023-04-21T17:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913399#M31029</link>
      <description>&lt;P&gt;Give this a try. I modified my revcloud code to account for your layer name and arc lengths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(defun c:rc (/ *error* e f ln n vals vars)
  ;; RJP » 2023-04-21
  ;; Creates a freehand calligraphy cloud on layer "Notes_Revisions" that is color 255,0,0
  (defun *error* (msg)
    (if	(not (wcmatch msg "Function cancelled,quit / exit abort,console break,end"))
      (princ (strcat "\nError: " msg))
    )
    (mapcar 'setvar vars vals)
    (princ)
  )
  (setq f (tblobjname "layer" (setq ln "Notes_Revisions")))
  ;; These are the scales you requested
  ;; If you use dimscale or something to differentiate scaled drawings it can be refined even more.
  (setq	n (if (&amp;gt; (getvar 'cvport) 1)
	    24.
	    0.125
	  )
  )
  (setq vars '(revcloudarcstyle revcloudarcvariance revcloudapproxarclen revcloudcreatemode))
  (setq vals (mapcar 'getvar vars))
  (mapcar 'setvar vars (list "Calligraphy" 0 n 0))
  (setq e (entlast))
  (initcommandversion)
  (command-s "_.revcloud")
  (or (equal e (setq e (entlast))) (entmod (append (entget e) (list (cons 8 ln)))))
  ;; Make layer RGB red if it did not exist already
  (or f (entmod (append (entget (tblobjname "layer" ln)) '((420 . 16711680)))))
  (mapcar 'setvar vars vals)
  (princ)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:20:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913399#M31029</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2023-04-21T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913426#M31030</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt; !&lt;BR /&gt;&lt;BR /&gt;It appears to be working perfectly, except mine always defaulted to &lt;U&gt;F&lt;/U&gt;reehand instead of &lt;U&gt;P&lt;/U&gt;olygonal.&amp;nbsp; I can't see what in your script is calling for the polygonal every time.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:08:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913426#M31030</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2023-04-21T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913450#M31031</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/304888"&gt;@nrz13&lt;/a&gt;&amp;nbsp;I updated the code above .. give it a try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I changed the &lt;A href="https://help.autodesk.com/view/ACDLT/2023/ENU/?guid=GUID-5D91AC1F-7F44-412A-8BFE-E9152EC5AF4F" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;revcloudcreatemode&lt;/STRONG&gt;&lt;/A&gt; to 0.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:17:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913450#M31031</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2023-04-21T18:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913480#M31032</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;That's perfect – thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:29:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913480#M31032</guid>
      <dc:creator>nrz13</dc:creator>
      <dc:date>2023-04-21T18:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11914095#M31033</link>
      <description>&lt;P&gt;With exception to rev clouds I prefer all plan annotation in modelspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When it comes to the Rev cloud you have worky about the scale and where all the cloud will show up in viewport and potentialy different scales. If you have s plan area on 2 sheets the revcloud is cut off. So I just find it simpler for the revcloud to be in paperspace.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 00:19:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11914095#M31033</guid>
      <dc:creator>jwylie2020</dc:creator>
      <dc:date>2023-04-22T00:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD LISP to distinguish between Paper Space and Model Space?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11914146#M31034</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/304888"&gt;@nrz13&lt;/a&gt;&amp;nbsp;Glad to help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not sure why this isn't a standard feature honestly.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2023 01:12:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11914146#M31034</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2023-04-22T01:12:12Z</dc:date>
    </item>
  </channel>
</rss>

