Revision Cloud Macro AutoCAD v2018

Revision Cloud Macro AutoCAD v2018

Anonymous
Not applicable
1,619 Views
6 Replies
Message 1 of 7

Revision Cloud Macro AutoCAD v2018

Anonymous
Not applicable

Hi all,

 

I want to start by saying I have no knowledge of LISP, and strictly use macros in AutoCAD. 

 

So I have many, many blocks that I use on a regular basis and I have them all set up to scale based on the LTSCALE I'm using. Sample macro:

 

*^C^C_.-INSERT;XXXXX;\(/ (getvar 'ltscale) 96);;\CHPROP;L;;LA;XXXX;;

 

What I want to do is create a macro that will set up my revision clouds in a similar manner. Essentially, go through the prompts and set the min/max arc length as LTSCALE/4 inches. Currently, this is what I've come up with:

 

^C^CREVCLOUD;A;\(/ (getvar 'ltscale) 4);\(/ (getvar 'ltscale) 4);S;C;P;

 

Obviously, it isn't working. Can anyone one see where I'm going wrong or offer any suggestions?

 

Thanks a bunch in advance,

-P

 

 

0 Likes
Accepted solutions (1)
1,620 Views
6 Replies
Replies (6)
Message 2 of 7

Paul_Gander
Advocate
Advocate

Try removing the \ characters. They instruct the macro to accept user input but you are supplying the information needed as part of the macro with the lisp expression.

Message 3 of 7

pendean
Community Legend
Community Legend
Slightly off topic question: is there a chance you might consider creating Annotative Blocks then just avoid all of this forced scaling forever?



Message 4 of 7

Anonymous
Not applicable

@Paul_Gander wrote:

Try removing the \ characters. They instruct the macro to accept user input but you are supplying the information needed as part of the macro with the lisp expression.


Paul,

 

Thank you for your response. I modified the macro, and something odd happened: While it didn't "work" per se, after running the command the first time, if I "rerun" the command (by pressing Enter) it all works aside from, unfortunately, the arc scaling heh.

0 Likes
Message 5 of 7

Paul_Gander
Advocate
Advocate
Accepted solution

I think the macro is using an older version of the revcloud command. Try adding ^R after the ^C^C to force it to use the current version. The macro should look like this:

 

^C^C^Rrevcloud;a;(/ (getvar 'ltscale) 4);(/ (getvar 'ltscale) 4);s;c;p;

 

 

Message 6 of 7

Anonymous
Not applicable

Beautiful! It works 🙂

 


@Paul_Gander wrote:

I think the macro is using an older version of the revcloud command. Try adding ^R after the ^C^C to force it to use the current version. The macro should look like this:

 

^C^C^Rrevcloud;a;(/ (getvar 'ltscale) 4);(/ (getvar 'ltscale) 4);s;c;p;

 

 


 

0 Likes
Message 7 of 7

Anonymous
Not applicable

@pendean wrote:
Slightly off topic question: is there a chance you might consider creating Annotative Blocks then just avoid all of this forced scaling forever?




Pendean, good question! There would be a chance, but I've sunk a lot of time into Revit, and use it exclusively for 95%+ of my projects. The updates/corrections that I make to my CUI in CAD is typically for others to use.

0 Likes