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:
Help : sent back a list of layers
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Help : sent back a list of layers (Read 644 times)
0 Members and 1 Guest are viewing this topic.
mhy3sx
Newt
Posts: 120
Help : sent back a list of layers
«
on:
April 05, 2023, 10:03:55 AM »
Hi, I am trying to set back a list of layers but something is missing. Can any one help ??
Code - Auto/Visual Lisp:
[Select]
(
defun
c:test
(
/
ssb
)
(
command
"_.Tilemode"
1
)
; To model space
(
if
(
setq
ssb
(
(
ssget
"_x"
(
list
(
8
.
"0,lay1,lay2,lay3,lay4"
)
)
)
)
)
(
command
"._draworder"
ssb
""
"_b"
)
)
(
princ
)
)
Thanks
Logged
Tharwat
Swamp Rat
Posts: 710
Hypersensitive
WWW
Re: Help : sent back a list of layers
«
Reply #1 on:
April 05, 2023, 10:28:50 AM »
Compare the following mods with your firstly posted.
Code - Auto/Visual Lisp:
[Select]
(
defun
c:test
(
/
ssb
)
(
command
"_.Tilemode"
1
)
; To model space
(
if
(
setq
ssb
(
ssget
"_x"
(
list
'
(
8
.
"0,lay1,lay2,lay3,lay4"
)
)
)
)
(
command
"._draworder"
ssb
""
"_b"
)
)
(
princ
)
)
Logged
HVAC, Plumbing, Drainage, Electricity , Fire Fighting Programs and many more .....
mhy3sx
Newt
Posts: 120
Re: Help : sent back a list of layers
«
Reply #2 on:
April 05, 2023, 11:59:30 AM »
Thanks
Tharwat
Logged
Tharwat
Swamp Rat
Posts: 710
Hypersensitive
WWW
Re: Help : sent back a list of layers
«
Reply #3 on:
April 05, 2023, 01:15:24 PM »
Quote from: mhy3sx on April 05, 2023, 11:59:30 AM
Thanks
Tharwat
You're welcome anytime.
Logged
HVAC, Plumbing, Drainage, Electricity , Fire Fighting Programs and many more .....
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Help : sent back a list of layers