ai_molc question

Discussion in 'AutoCAD' started by TCEBob, Feb 6, 2005.

  1. TCEBob

    TCEBob Guest

    It's probably an application, not a direct command. try (c:ai_molc). Note that
    there is no simple way to feed commands to an application if it is not set up as
    a function. You will need a script file to do that.

    rs
     
    TCEBob, Feb 6, 2005
    #1
  2. TCEBob

    hg Guest

    Sorry about that...

    In AutoCAD 2002, if I type "ai_molc" and hit return in autocad, the
    correct command is issued.

    If I type (command "ai_molc") the dreaded "unknown command" is issued.

    Why is that? How can I issue this command in autolisp?

    Thanks,

    Harry
     
    hg, Feb 6, 2005
    #2
  3. TCEBob

    ECCAD Guest

    (defun c:go ()
    (prompt "\nCalling AI_MOLC command")
    (C:ai_molc)
    ); function
    ......
    or more simply:
    (C:ai_molc)

    Should call it.

    Bob
     
    ECCAD, Feb 6, 2005
    #3
  4. TCEBob

    HGendel Guest

    It was used in a lisp program to assign keyboard functions.

    I changed:

    (DEFUN C:SS () (COMMAND "AI_MOLC"))

    to

    (DEFUN C:SS () (C:AI_MOLC))

    and it works fine.

    Thanks to all.

    Harry

    p.s.
    Sorry for the late response. I'm new to the newsgroup and assumed that
    I would receive an e-mail notification also. Is there any easy way to
    know that messages are being responded to. I'm using Netscape 7.2 mail
    client.
     
    HGendel, Feb 10, 2005
    #4
  5. TCEBob

    Anne Brown Guest

    Harry -

    Sent email and to the group.

    You can go to
    http://discussion.autodesk.com/editprofile!default.jspa and set
    up preferences for email replies via the HTTP interface of the
    discussion groups. There is often a long delay in the
    notification however, something that is being looked into. You do
    have to perform the HTTP Login at
    http://discussion.autodesk.com/login.jspa and use a legitimate
    email address.
    ---
    Anne Brown
    Discussion Groups Administrator
    Autodesk, Inc.

    HGendel wrote:
    (snip)
     
    Anne Brown, Feb 10, 2005
    #5
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.