×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to make construction lines on a unique layer?

How to make construction lines on a unique layer?

How to make construction lines on a unique layer?

(OP)
I'd like to redefine the standard "construction line" button so that my construction lines are automatically created on a layer named "Construction" whose color is red and linetype is phantom. In doing so, I'd like to keep my current layer set to whatever it is when the command is executed.

If somebody could tell me how, I'd be very grateful.

Kind regards,

Binary

RE: How to make construction lines on a unique layer?

Hi Binary,
her is the first step for Your construction-line-button:

^C^C-layer;_new;Construction;se;Construction;_colour;1;;_lt;Phantom;;;^C^C_xline;

Problem: Go back to layer previous after drawing the line...

Lothar

RE: How to make construction lines on a unique layer?

To return to your previous command after using a command (huh?), use a routine called "Autolay 2".
 "This program automatically creates and switches to layers for dimensions, text hatches and viewports, then restores the layers to their previous states when the command has ended."
 If you read the routine, it tells you how to change the code so that you can even use it to change layers for plines or whatever.  
http://www.spaug.org/LISP_Index01.Html

Flores

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources