Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
XDRX-API
»
Topic:
[XDrX-PlugIn(30)] Modify MLeaer text Color
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: [XDrX-PlugIn(30)] Modify MLeaer text Color (Read 948 times)
0 Members and 1 Guest are viewing this topic.
xdcad
Swamp Rat
Posts: 527
WWW
[XDrX-PlugIn(30)] Modify MLeaer text Color
«
on:
December 03, 2023, 08:31:53 AM »
Code - Auto/Visual Lisp:
[Select]
(
defun
c:tt
(
)
(
if
(
and
(
or
(
setq
clr
(
getint
"
\n
sEnter Color Index <select color>:"
)
)
(
setq
clr
(
xdrx
-
ui
-
getcolor
"Select Color"
1
)
)
)
(
setq
ss
(
xdrx
-
ssget
"
\n
Select The MLeader <Exit>:"
'
(
(
0
.
"m*leader"
)
)
)
)
)
(
progn
(
xdrx
-
begin
)
(
setq
nums
(
sslength
ss
)
)
(
xdrx
-
setpropertyvalue ss
"textcolor"
clr
)
(
xdrx
-
prompt
"
\n
Successfully Processing "
nums
"Mleader Leaderline."
)
(
xdrx
-
end
)
)
)
(
princ
)
)
Logged
The code I wrote uses XDRX-API,which can be downloaded from github.com and is updated at any time.
===================================
https://github.com/xdcad
https://sourceforge.net/projects/xdrx-api-zip/
http://bbs.xdcad.net
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
XDRX-API
»
Topic:
[XDrX-PlugIn(30)] Modify MLeaer text Color