+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Full Member
    Using
    AutoCAD 2007
    Join Date
    Oct 2011
    Posts
    38

    Default How to call textmask command in Lisp

    Registered forum members do not see this ad.

    Hi,
    I am facing problem to call Textmask command in lisp. It is telling unknown command when i am loading. Can anyone help...

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    16,882

    Default

    TextMask is an Express Tools command and is a LISP function, not a registered command.

    You will hence need to call it as a LISP function:

    Code:
    (c:textmask)
    Or, you can study the textmask.lsp file in th Express folder of the AutoCAD Program Files and call the various TextMask subfunctions separately.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  3. #3
    Full Member
    Using
    AutoCAD 2007
    Join Date
    Oct 2011
    Posts
    38

    Default

    Thanks Mr Lee
    I used to call like this, But it is telling "error: too many arguments"
    (c:textmask "l" 0.25)
    (c:textmask (entlast) 0.25)

  4. #4
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    16,882

    Default

    The 'c:textmask' function definition cannot accept arguments, you will need to study the textmask.lsp file in the Express folder of the AutoCAD Program Files directory to find the relevant subfunction to call.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  5. #5
    Full Member
    Using
    AutoCAD 2007
    Join Date
    Oct 2011
    Posts
    38

    Default

    Thanks Mr Lee

    I got the solution. I am proceeding like this...

    (acet-textmask-make-wipeout (entlast) 0)

    it is working fine.

  6. #6
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    16,882

    Default

    Registered forum members do not see this ad.

    You're welcome prakashreddy
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Similar Threads

  1. No command prompt after background (VBA) call
    By MSasu in forum .NET, ObjectARX & VBA
    Replies: 2
    Last Post: 24th Jun 2010, 09:34 am
  2. UCS WORLD without the UCS command call?
    By chulse in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 13th Apr 2010, 09:40 pm
  3. why dose VBA not call my lisp command?
    By looseLISPSsinkSHIPS in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 17th Feb 2010, 02:09 pm
  4. Textmask command.
    By B.Alves in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 3rd Dec 2008, 04:28 pm
  5. Can one lisp routine call another??
    By Maradona_10 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 29th May 2008, 02:20 am

Bookmarks

Posting Permissions

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