<?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 command has different options when invoked from lisp in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154158#M171326</link>
    <description>&lt;P&gt;Thanks man. I just had to run it a couples time to figure the sequence of inputs, but ended with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;initcommandversion&lt;/SPAN&gt; &lt;SPAN&gt;"REVCLOUD"&lt;/SPAN&gt; &lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;command&lt;/SPAN&gt; &lt;SPAN&gt;"_.REVCLOUD"&lt;/SPAN&gt; &lt;SPAN&gt;"a"&lt;/SPAN&gt;&lt;SPAN&gt; arc1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Jun 2026 17:42:24 GMT</pubDate>
    <dc:creator>Blue_Mojito</dc:creator>
    <dc:date>2026-06-04T17:42:24Z</dc:date>
    <item>
      <title>REVCLOUD command has different options when invoked from lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14153917#M171324</link>
      <description>&lt;P&gt;I have LT 2026. When I type "revcloud" on my command line I get these options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Specify first corner point or [Arc length/Object/Rectangular/Polygonal/Freehand/Style/Modify/Layer] &amp;lt;Object&amp;gt;:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I add either "revcloud" or "_.revcloud" on the lisp and run it, it resorts to these options:&lt;BR /&gt;&lt;BR /&gt;Command: RC&lt;BR /&gt;[.....]&lt;BR /&gt;Command:&lt;BR /&gt;Select the block to determine arc size:&lt;BR /&gt;Select objects:&lt;BR /&gt;_.REVCLOUD&lt;BR /&gt;Minimum arc length: 20'-11 1/2" Maximum arc length: 20'-11 1/2" Style: Normal Type: Freehand&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Specify start point or [Arc length/Object/Style] &amp;lt;Object&amp;gt;:&lt;/FONT&gt; _Rectangular&lt;BR /&gt;Point or option keyword required.&lt;BR /&gt;; error: Function cancelled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know if there's something wrong with the way the command is invoked through lisp? I've attahced my lisp.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 15:02:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14153917#M171324</guid>
      <dc:creator>Blue_Mojito</dc:creator>
      <dc:date>2026-06-04T15:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD command has different options when invoked from lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154050#M171325</link>
      <description>&lt;P&gt;Many commands operate somewhat differently from with an AutoLisp&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (command)&lt;/STRONG&gt; &lt;/FONT&gt;function.&amp;nbsp; Look into preceding it with&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (initcommandversion)&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 16:29:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154050#M171325</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-06-04T16:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD command has different options when invoked from lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154158#M171326</link>
      <description>&lt;P&gt;Thanks man. I just had to run it a couples time to figure the sequence of inputs, but ended with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;initcommandversion&lt;/SPAN&gt; &lt;SPAN&gt;"REVCLOUD"&lt;/SPAN&gt; &lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;command&lt;/SPAN&gt; &lt;SPAN&gt;"_.REVCLOUD"&lt;/SPAN&gt; &lt;SPAN&gt;"a"&lt;/SPAN&gt;&lt;SPAN&gt; arc1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jun 2026 17:42:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154158#M171326</guid>
      <dc:creator>Blue_Mojito</dc:creator>
      <dc:date>2026-06-04T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD command has different options when invoked from lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154389#M171330</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15859482"&gt;@Blue_Mojito&lt;/a&gt;&amp;nbsp;Here's another that sets the arclen length based on dimscale and puts the cloud on a layer "_Revision_&amp;lt;USER&amp;gt;_&amp;lt;CURRENTDATE&amp;gt;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(defun c:rvc (/ *error* idt_dimscale e n ln vars vals)
  (defun *error* (msg)
    (if	(not (wcmatch msg "Function cancelled,quit / exit abort,console break,end"))
      (princ (strcat "\nError: " msg))
    )
    (mapcar 'setvar vars vals)
    (princ)
  )
  (defun idt_dimscale (n)
    (* n
       (cond ;;in viewport
	     ((and (= 0 (getvar 'tilemode)) (&amp;gt; (getvar 'cvport) 1)) (last (trans '(0 0 1.0) 3 2)))
	     ;;in pspace or dimscale is 0
	     ((or (= (getvar 'cvport) 1) (= 0 (getvar 'dimscale))) 1.)
	     ;;in modelspace
	     ((getvar 'dimscale))
       )
    )
  )
  (setq	ln (strcat "_Revision_"
		   (getenv "username")
		   "_"
		   (menucmd "M=$(edtime, $(getvar,date),YYYY.MO.DD)")
	   )
  )
  (setq f (tblobjname "layer" ln))
  (setq n (idt_dimscale 0.3))
  (setq vars '(revcloudarcstyle revcloudarcvariance revcloudapproxarclen revcloudcreatemode))
  (setq vals (mapcar 'getvar vars))
  (mapcar 'setvar vars (list "Calligraphy" 0 n 2))
  ;;  REVCLOUDCREATEMODE (System Variable)
  ;;  Specifies the default input for creation of revision clouds.
  ;;  Type:  Integer
  ;;  Saved in:  Registry
  ;;  Initial value:  1
  ;;  Value  =  Description
  ;;    0    =  Freehand
  ;;    1    =  Rectangular
  ;;    2    =  Polygonal
  (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;Posted a version &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-lisp-to-distinguish-between-paper-space-and-model-space/m-p/11913399#M31029" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;HERE&lt;/STRONG&gt;&lt;/A&gt; a while back too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 21:01:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154389#M171330</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2026-06-04T21:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: REVCLOUD command has different options when invoked from lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154432#M171331</link>
      <description>&lt;P&gt;Thanks. I actually do my annotation (including revs) in model space. I have titleblocks all over with different scales, so I do all my scaling based on these, even my dimscales. But I shall steal this code for my future reference.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2026 21:56:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/revcloud-command-has-different-options-when-invoked-from-lisp/m-p/14154432#M171331</guid>
      <dc:creator>Blue_Mojito</dc:creator>
      <dc:date>2026-06-04T21:56:31Z</dc:date>
    </item>
  </channel>
</rss>

