PDA

View Full Version : 2011 dt changes the layer setting



bryanf
2012-11-12, 09:47 PM
When typing in dt(dtext) it changes the layer that I have set to a layer named s_layer. How do I fix this?

jaberwok
2012-11-12, 10:43 PM
When typing in dt(dtext) it changes the layer that I have set to a layer named s_layer. How do I fix this?

Someone has created a lisp (or other) routine called "DT". To confirm, try typing ".dt" (without quotes) - it should run the standard command.

ccowgill
2012-11-13, 12:19 PM
Someone has created a lisp (or other) routine called "DT". To confirm, try typing ".dt" (without quotes) - it should run the standard command.
not necessarily, there could be a reactor firing when the dtext command is called that changes the layer. at our office we dont have one for dtext, but we do for dimensions, it switches to our standard dimension layer.

rkmcswain
2012-11-13, 02:24 PM
When typing in dt(dtext) it changes the layer that I have set to a layer named s_layer. How do I fix this?

Does it do the same thing if you type in the command .Text ? (note the leading period)

bryanf
2012-11-13, 02:56 PM
No it does not do the same thing, I have even tried to change the command allias but that didn't work either.

cadtag
2012-11-13, 03:41 PM
type in !C:DT

what's the response?

bryanf
2012-11-13, 04:28 PM
#<SUBR @ 0000000037802cf0 C:DT> is what was returned

cadtag
2012-11-13, 05:10 PM
OK, that tells me that jaberwok was correct, and that the DT command has been redefined via LISP. Somewhere on your support path is a .lsp, .vlx, .fas, or .mnl file that is defining the command to include the layer change.

Happy hunting!

If all your paths are indexed, you can use Windows 7 search to look for it -- search on defun c:dt and see what you find

jaberwok
2012-11-13, 08:39 PM
No it does not do the same thing, I have even tried to change the command allias but that didn't work either.

Did you try .DT (with leading period/point) ?

matthew.221135
2012-11-14, 01:26 AM
Is this S_LAYER a part of the drafting standard within the office?
Surely the DT command being redefined via LISP has been done for a reason, Maybe the CAD manager set it up like that to force everyone to comply with a layer naming standard.