Results 1 to 10 of 10

Thread: dt changes the layer setting

  1. #1
    Member
    Join Date
    2005-01
    Location
    Columbus, IN
    Posts
    23

    Default dt changes the layer setting

    When typing in dt(dtext) it changes the layer that I have set to a layer named s_layer. How do I fix this?

  2. #2
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,024

    Default Re: dt changes the layer setting

    Quote Originally Posted by bryanf View Post
    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.
    John B

    "With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg.

  3. #3
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Hartford, Michigan
    Posts
    3,086

    Default Re: dt changes the layer setting

    Quote Originally Posted by jaberwok View Post
    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.
    Christopher T. Cowgill, P.E.
    WIGHTMAN & ASSOCIATES, INC.
    ENGINEERING <> SURVEYING <> ARCHITECTURE
    AutoDesk Infrastructure Design Suite Premium 2013 x64
    Windows 7 Pro x64

  4. #4
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Re: dt changes the layer setting

    Quote Originally Posted by bryanf View Post
    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)

  5. #5
    Member
    Join Date
    2005-01
    Location
    Columbus, IN
    Posts
    23

    Default Re: dt changes the layer setting

    No it does not do the same thing, I have even tried to change the command allias but that didn't work either.

  6. #6
    Certifiable AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    2,714

    Default Re: dt changes the layer setting

    type in !C:DT

    what's the response?
    Officially Awesome
    Real pirates wear silk suits & ties, and write EULAs
    The only thing more dangerous to the liberty of a free people than big government, is big business.

  7. #7
    Member
    Join Date
    2005-01
    Location
    Columbus, IN
    Posts
    23

    Default Re: dt changes the layer setting

    #<SUBR @ 0000000037802cf0 C:DT> is what was returned
    Last edited by rkmcswain; 2012-11-14 at 10:29 AM. Reason: Disable smilies

  8. #8
    Certifiable AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    2,714

    Default Re: dt changes the layer setting

    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
    Last edited by cadtag; 2012-11-13 at 08:36 PM.
    Officially Awesome
    Real pirates wear silk suits & ties, and write EULAs
    The only thing more dangerous to the liberty of a free people than big government, is big business.

  9. #9
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,024

    Default Re: dt changes the layer setting

    Quote Originally Posted by bryanf View Post
    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) ?
    John B

    "With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg.

  10. #10
    Active Member
    Join Date
    2009-06
    Location
    Toowoomba, QLD, Aus
    Posts
    56

    Default Re: dt changes the layer setting

    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.

Similar Threads

  1. DWG export layer setting
    By ktsnguyenhoanghieu in forum Revit Architecture - General
    Replies: 1
    Last Post: 2009-08-07, 04:17 PM
  2. Setting Layer Keystyle thru VBA
    By ccastelein in forum VBA/COM Interop
    Replies: 2
    Last Post: 2008-09-25, 03:02 PM
  3. Setting Layer Filters
    By bjlottis in forum AutoCAD General
    Replies: 2
    Last Post: 2005-04-18, 06:21 PM
  4. Dimension layer setting
    By stanmccall in forum AutoCAD Customization
    Replies: 4
    Last Post: 2004-06-21, 07:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •