Message 1 of 4
After I make hatch, I want my layer back

Not applicable
03-07-2001
09:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there,
what is wrong with this command line ...... someone can edit it (to work)
....? (ACAD 2000 -ger-)
(setq layer (getvar "clayer"));(setvar "clayer" "schraff");(command
("-gschraff" "ei" "ansi31" "1" "0");(setvar "clayer" "layer")
The problem:
I have one aktive Layer (f.e. Layer "Help")
Then I want to draw hatch. (the complete command line at the top should
start)
I that case, AutoCAD should change the actual Layer to "Schraff" (special
layer for hatch)
After I make my hatch, I want my layer (before doing hatch) back, as actual
(in that case "Help")
The problem is that AutoCAD don`t wait untill I have done my hatch .....
I have to make a "pause" or a "wait for command end" ......
But with one Pause in the command line I can do one hatch ...(Acad should
wait for user exit command !!)
How can I do this ......... oh please, help me
Thanks a lot , .................. Matthew
what is wrong with this command line ...... someone can edit it (to work)
....? (ACAD 2000 -ger-)
(setq layer (getvar "clayer"));(setvar "clayer" "schraff");(command
("-gschraff" "ei" "ansi31" "1" "0");(setvar "clayer" "layer")
The problem:
I have one aktive Layer (f.e. Layer "Help")
Then I want to draw hatch. (the complete command line at the top should
start)
I that case, AutoCAD should change the actual Layer to "Schraff" (special
layer for hatch)
After I make my hatch, I want my layer (before doing hatch) back, as actual
(in that case "Help")
The problem is that AutoCAD don`t wait untill I have done my hatch .....
I have to make a "pause" or a "wait for command end" ......
But with one Pause in the command line I can do one hatch ...(Acad should
wait for user exit command !!)
How can I do this ......... oh please, help me
Thanks a lot , .................. Matthew