The current layer switch automatically to other layer

The current layer switch automatically to other layer

Anonymous
Not applicable
1,706 Views
8 Replies
Message 1 of 9

The current layer switch automatically to other layer

Anonymous
Not applicable

Why the current layer switch automatically to other layer when I draw a line?

0 Likes
1,707 Views
8 Replies
Replies (8)
Message 2 of 9

imadHabash
Mentor
Mentor

Hi,

does this happend in a certain drawing or it's happened i every CAD drawing ? you may have some outsource plug-in or lisp that make this weird behavior . 

 

Regards,

 

 

 

 

Imad Habash

EESignature

0 Likes
Message 3 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Why the current layer switch automatically to other

>> layer when I draw a line?

How do you start the line command? From toolbar, from an own customized menu, any tools loaded which catch commands?

 

Can you please try this:

  • Make sure layer 0 is on, thawed and current
  • start command _.LINE 0,0 10,10 (including point and underscore)
  • end the command with <ENTER>

...which layer is now current?

...which layer does the line now have?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 4 of 9

pendean
Community Legend
Community Legend
AutoCAD2017 is not new: so this just started? or did you all buy an add-on recently?
Ask anyone else in your office about it?



0 Likes
Message 5 of 9

Anonymous
Not applicable

Dear alfred,

 

I set  a layer for me draw a line, when I draw a line, it automatically change the layer to wall layer.

0 Likes
Message 6 of 9

j.palmeL29YX
Mentor
Mentor

And what about "How do you start the line command" ?

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 7 of 9

TheCADnoob
Mentor
Mentor

how are you setting your layer?

CADnoob

EESignature

0 Likes
Message 8 of 9

Anonymous
Not applicable

Dear  

 

 

 

0 Likes
Message 9 of 9

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

....


 

So you're not  drawing a Line, after all.  PL is [by default] the command alias for the PLINE command, which would simply start a Polyline [on the current Layer], and a Polyline is a different entity type than a Line.

 

It sounds like you have a custom definition of a command named PL that is not  just the PLINE command called by the default PL command alias.  Do you have an acaddoc.lsp file that contains  (defun C:PL ...  in it?  If you're not sure, put  (findfile "acaddoc.lsp")  in at the command line, and if that returns something other than nil, it will tell you where it is -- open that file and look for a command definition.

 

If you force it to use AutoCAD's basic command, by typing .PLINE [with  the preceding period/decimal], does it do the same thing?  If it works normally without changing the Layer, then you do  have a custom-defined PL command that is changing the Layer.

Kent Cooper, AIA
0 Likes