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)
»
Topic:
Profile text setting
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Profile text setting (Read 1177 times)
0 Members and 1 Guest are viewing this topic.
mohan
Newt
Posts: 98
Profile text setting
«
on:
August 09, 2023, 11:34:53 AM »
Help to have a small lisp as below Image:
Attached a AutoCAD file also
Thanks
Logged
"Save Energy"
mohan
Newt
Posts: 98
Re: Profile text setting
«
Reply #1 on:
August 23, 2023, 08:38:46 AM »
I have work this match, minor error was there !
Code - Auto/Visual Lisp:
[Select]
(
defun
c:heeraprofile
(
/
ss ss1 e
)
(
if
(
setq
ss
(
ssget
"_:L"
'
(
(
0
.
"TEXT"
)
)
)
)
(
Progn
(
setq
ss1
(
command
"TXT2MTXT"
ss
""
)
)
(
repeat
(
setq
i
(
sslength
ss1
)
)
(
setq
e
(
ssname
ss1
(
setq
i
(
1-
i
)
)
)
)
(
setpropertyvalue e
"Width"
70
)
(
setpropertyvalue e
"DefinedHeight"
0
)
(
setpropertyvalue e
"TextHeight"
3.75
)
)
)
)
(
princ
)
)
«
Last Edit: August 23, 2023, 08:52:11 AM by mohan
»
Logged
"Save Energy"
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Profile text setting