how to change background color

how to change background color

devitg
Advisor Advisor
1,228 Views
2 Replies
Message 1 of 3

how to change background color

devitg
Advisor
Advisor

After it 

 

(vla-put-color mtext-obj 256)
  (vla-put-BackgroundFill mtext-obj actrue)

The backgroundcolor is acred , I don't know how it come so 

 

back ground color to changeback ground color to change

How can I change it to be bylayer or color 42 

 

 

 

0 Likes
Accepted solutions (1)
1,229 Views
2 Replies
Replies (2)
Message 2 of 3

dlanorh
Advisor
Advisor
0 Likes
Message 3 of 3

dlanorh
Advisor
Advisor
Accepted solution

Also see this for correct settings https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/mtext-opaque-background-color/m-p/62...

 

Or use the lisp Here https://adndevblog.typepad.com/autocad/2013/05/change-the-background-mask-property-of-acdbmtext-obje...

 

The lisp (lower part of page) will need altering so that the correct group code settings match those provided by HM Silva in the first link of this reply.

I am not one of the robots you're looking for