- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using Autocad 2016
I have tried this several ways...
Every time I run the "revcloud" command through lisp I seem to get an old "revcloud" command that doesn't have "rectangular" as an option - unlike typing "revcloud" through the command line:
Here's my code trying "R" option:
(defun C:rrv () (command "revcloud" "r" "S" "C" "A" (* 0.25 (getvar "DIMSCALE")) "") ;;;Pause for user input: (while (= (logand (getvar "cmdactive") 1) 1) (prompt "\nDraw RevCloud\n") (command pause) ) ;;;end of Pause (princ) )
I've also tried setting it via the system variable first: (setvar "revcloudcreatemode" 1)
(which is where the "R" option in the command line version seems to be stored) but because the lisp activated "revcloud" seems to be an old one (or something) - it always defaults to "freehand" regardless of that sys var setting.
Here is the code with the sys var
(defun C:rrv () (setvar "revcloudcreatemode" 1) (command "revcloud" "S" "C" "A" (* 0.25 (getvar "DIMSCALE")) "") ;;;Pause for user input: (while (= (logand (getvar "cmdactive") 1) 1) (prompt "\nDraw RevCloud\n") (command pause) ) ;;;end of Pause (princ) )
Anyone have any thoughts? This is making me crazy!
Thanks,
Chris
-Chris
Solved! Go to Solution.