
Originally Posted by
RenderMan
If I may, RK... You're correct with two small additions:
No, actually it was right the first time.
(vl-load-com) is not required and I'm not sure what makes you think you need that extra return in the command string..
PHP Code:
Command: (vl-cmdf "-layer" "off" "*" "on" (getvar "clayer") "")
-layer
Current layer: "Rail Roads"
Enter an option
[?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck
/Unlock/stAte/Description/rEconcile]: off
Enter name list of layer(s) to turn off or <select objects>: * Enter an option
[?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck
/Unlock/stAte/Description/rEconcile]: on
Enter name list of layer(s) to turn on: Rail Roads Enter an option
[?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck
/Unlock/stAte/Description/rEconcile]:
Command: