Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn off layers using custom command? 1

Status
Not open for further replies.

maltdcom

Mechanical
Jan 2, 2008
5
0
0
GB
Having recently moved from AutoCAD LT97 (I know) to DraftSight due to upgrading Windows to 7, I'm trying to replicate my working environment as much as I can. I'm able to write a command to create layers and set their colours, but I can't find how to turn layers off.

My custom command uses -LAYER to create the layers, but it doesn't, as far as I can see, have an option to turn them off once created. I was able to do it in AutoCAD.

David Lawrence
 
Replies continue below

Recommended for you

> That's quite a jump, from '97 to 2016! Perhaps you can incorporate this into your command. Sylvia
>
> _-LAYER (enter)
> _OFF (enter)
> * (enter)
> _Y (enter)
> (enter)
>
> original post from:
> Alfred NESWADBA
> Ingenieur Studio HOLLAUS ... >

Thank you. That is exactly what I'm looking for.

David Lawrence
 
Status
Not open for further replies.
Back
Top