Which is it??

Discussion in 'AutoCAD' started by Matt W, Jul 15, 2004.

  1. Matt W

    Matt W Guest

    When you want to call a commandline command, what do you put in front of the
    command name???

    Is it ._ or _. ??
    I.E. ._pline or _.pline

    I can never remember.


    Thanks!
     
    Matt W, Jul 15, 2004
    #1
  2. Generally you don't have to put anything. There are some symbols you may
    use:
    1. The dot is used to access built-in AutoCAD command. The meaning of that
    was never clear to me.
    2. The underscore makes the command International (Multilanguage).
    3. Apostrophe makes the command transparent
     
    John Georgiev, Jul 15, 2004
    #2
  3. Matt W

    ECCAD Guest

    The _pline is 'international' call. Other languages use different
    'function' names for commands. The _ flags use of English.
    The . is just a way of 'always' getting the command do fire, even if it has been 'redefined' / 'undefind'.
    So, you can do both in any order. I would stick with the "_." variety.
    Don't forget the "-insert", (minus), for commands that use dialogs.

    Bob
     
    ECCAD, Jul 15, 2004
    #3
  4. Matt W

    Jürg Menzi Guest

    Hi Matt
    Doesn't matter - I prefer _.COMMAND - looks nicer...¦-)

    Cheers
     
    Jürg Menzi, Jul 15, 2004
    #4
  5. Matt W

    Matt W Guest

    Thanks for the feedback guys!
    I've always tried to stick with_. but have noticed myself doing it the
    opposite way ._

    I figured it was the same, but I just wanted to be sure.

    Thanks again!

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | The _pline is 'international' call. Other languages use different
    | 'function' names for commands. The _ flags use of English.
    | The . is just a way of 'always' getting the command do fire, even if it
    has been 'redefined' / 'undefind'.
    | So, you can do both in any order. I would stick with the "_." variety.
    | Don't forget the "-insert", (minus), for commands that use dialogs.
    |
    | Bob
     
    Matt W, Jul 15, 2004
    #5
  6. Matt W

    Tom Smith Guest

    1. The dot is used to access built-in AutoCAD command. The meaning of that
    was never clear to me.

    That is to ensure the real command runs, in case the command has been
    redefined. If PLINE has been redefined, PLINE will run the modified command,
    whereas .PLINE will still run the standard command.
     
    Tom Smith, Jul 16, 2004
    #6
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.