Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro for Text Fill Color

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
kubaszymanski
790 Views, 8 Replies

Macro for Text Fill Color

Hi everyone!

 

I'm trying to make macro which let me change Fill Color in Dimensions to "Background". I'd like to have it as keyboard shortcut.

 

As a start I create macro to change suffix/prefix, and color but I can't find command for "Fill color". Could anyone help?

 

 

 

^C^C_DIMOVERRIDE;DIMCLRT;4;DIMPOST;%%P<>”;;m;\;

 

 

 

Tags (1)
8 REPLIES 8
Message 2 of 9
ВeekeeCZ
in reply to: kubaszymanski

dimtfill and dimtfillclr ?

Message 3 of 9
Anonymous
in reply to: kubaszymanski

Yes its the same issue that I am facing in my dimmension backgorund I know about the feature with is very useful in this challenge but dont remember its name I will share it when I find it.

Message 4 of 9
pendean
in reply to: kubaszymanski

Are you an LT user?
Message 5 of 9
kubaszymanski
in reply to: pendean

Yes, I'm looking for solution that will work on LT version.

Message 6 of 9
pendean
in reply to: kubaszymanski

Any reason you opted to pass on the advise in the first reply to you? Here is the link https://forums.autodesk.com/t5/autocad-lt-forum/macro-for-text-fill-color/m-p/10672665#M191848

Any reason you don't just have a second DIMSTYLE defined with this and you simply switch/change to it?
Message 7 of 9
kubaszymanski
in reply to: pendean

I've tried but it seems dimoverride doesn't recognize these two variables.

Commandline: "Variable "DIMTFILL" not found."

 

As per adding dimstyle. I'm working for different clients. They send me every time new templates, so I'd have to add dimstyles before I start draw.

 

However, meanwhile I found solution on the other forum.

 

^C^C$M=$(IF,$(=,$(getvar,DIMTFILL),0),_setvar;DIMTFILL;1;_DRAWORDER;Previous;;Front;,_Setvar;DIMTFILL;0;_DRAWORDER;Previous;;back;)_-Dimstyle;Apply;\;

 

Message 8 of 9
pendean
in reply to: kubaszymanski

pendean_0-1633612657079.png

 

Message 9 of 9
kubaszymanski
in reply to: pendean

Yes, I see that.

I thought it will be possible without "getvar" like change of color in my first example. 

 

I'm not so good at DIESEL, need to learn a bit. 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Technology Administrators