Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to make construction lines on a unique layer? 1

Status
Not open for further replies.

Binary

Mechanical
May 16, 2003
247
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
 
Replies continue below

Recommended for you

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
 
To return to your previous command after using a command (huh?), use a routine called "Autolay 2".
Code:
"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.

Flores
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor