unwanted question sign in dtext ?

Discussion in 'AutoCAD' started by MRL, Jan 2, 2004.

  1. MRL

    MRL Guest

    Hello,

    Every time when i'm using (command "._DTEXT" .......),
    and i'm ready with typing, i get a question sign through the text.

    This sign comes is over the first character of my text.
    It won't disappear after a regen, but it is gone then i'm reopening the
    drawing.

    Is this normal? I don't think so! What is going wrong?

    Martin
     
    MRL, Jan 2, 2004
    #1
  2. MRL

    Walt Engle Guest

    Is this in a lisp routine? Why not just use DTEXT ? No underline or
    period.
    That's what I use and works fine.
     
    Walt Engle, Jan 2, 2004
    #2
  3. MRL

    Jeff Mishler Guest

    Walt -
    It is proper procedure to include the underscore and period in lisp
    routines, although I forget to include them more often than not.

    The underscore tells autocad to use the command as it was originally named,
    which means that the French and German and Japanese and whatever version
    will ALL work with the routine.

    The period tells Autocad to use the native command even if it has been
    redefined.

    As for the DTEXT command in lisp, I've found that using TEXT causes fewer,
    if any, problems.

    Jeff
     
    Jeff Mishler, Jan 2, 2004
    #3
  4. MRL

    Jeff Mishler Guest

    You are correct. I see this error ONLY when using your shx file. Very
    strange.

    Jeff
     
    Jeff Mishler, Jan 2, 2004
    #4
  5. MRL

    MRL Guest

    Do you need the source-file?

    Martin

     
    MRL, Jan 2, 2004
    #5
  6. MRL

    Walt Engle Guest

    Yes, I am aware of the use of the period and underscore and I mistated my
    answer. first, I set STYLE and ARIAL in my acad.lsp. Then in my lsp routines
    I use TEXT (not dtext). This uses dtext. I also set my acad.pgp for "T" to
    DTEXT.
     
    Walt Engle, Jan 3, 2004
    #6
  7. MRL

    Tom Smith Guest

    Walt, in 2004 DTEXT is a discontinued command, because plain TEXT now
    behaves in the same way. In the 2004 pgp file, DTEXT is simply an alias for
    TEXT.
     
    Tom Smith, Jan 5, 2004
    #7
  8. MRL

    akdrafter Guest

    Jeff,

    Hello again. Should one use the "._" on all commands used in lisp? Is there a reference that shows which commands can not be used in this manner?

    "Catch" Ya Later,
    AKDRAFTER
     
    akdrafter, Jan 6, 2004
    #8
  9. MRL

    ECCAD Guest

    akdrafter,
    Parden me for boning in here, but..
    The "_command" syntax is for International calls to a given command. I think that it covers all commands.
    The ".command" syntax covers contigency that a 'real' command can be 'undefined', hence, recovery path. Gets you the 'original' code.
    Bob
     
    ECCAD, Jan 6, 2004
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.