To change a MLEADER as to a given LEADER

To change a MLEADER as to a given LEADER

devitg
Advisor Advisor
539 Views
2 Replies
Message 1 of 3

To change a MLEADER as to a given LEADER

devitg
Advisor
Advisor

Hi all , please help,  my task to do 

 

I can made by lisp the green Mleader at the curren layer , but I need to change it's color as the LEADER color 

How to change  the Mleader to be the same as the LEADER color 

I try to do it by TRUE-COLOR property , but I can not understand . also I try by the ENGET from the MLEADER-ent, but I can not  did .

If possible, by VL-functions 

Thanks in advance 

 

 

 

 

devitg_0-1625868441373.png

 

 

 

 

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

pbejse
Mentor
Mentor
Accepted solution

@devitg wrote:

I can made by lisp the green Mleader at the curren layer , but I need to change it's color as the LEADER color 


Leader colors are set via Dimension styles, same goes for Mleader using mleaderstyle But that's not your question is it? 

 

If you want to force a color, the usual (Vlax-put ev 'color 1) should work. I'm honestly puzzled by your request @devitg  🙂

Message 3 of 3

devitg
Advisor
Advisor

@pbejse Hi , thanks for your tip. 

Pardon me if I puzzled  you. 

 

And quoting The Little Prince , by Saint-Exupéry


The essential is invisible to the eyes.


0 Likes