Results 1 to 4 of 4

Thread: Routine use to work in ADT 3.3 but no longer works in ADT 2006 - numberp: nil

  1. #1
    Member
    Join Date
    2000-12
    Posts
    23
    Login to Give a bone
    0

    Default Routine use to work in ADT 3.3 but no longer works in ADT 2006 - numberp: nil

    I have a lisp routine that I used in ADT33 and have moved up to ADT2006. It no longer works and since I am a beginner at best with lisp I find myself unable to get it to work. My error message is

    Command:
    Select objects: 1 found

    Select objects:
    Segment from point: _cen of
    to point: _cen of
    Divide segment or Space objects <S>: D

    How many segments: 5
    *Cancel*
    bad argument type: numberp: nil

    Any help would be appreciated
    TIA
    John Y.
    Attached Files Attached Files

  2. #2
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,707
    Login to Give a bone
    0

    Default Re: Routine use to work in ADT 3.3 but no longer works in ADT 2006 - numberp: nil

    It is the copy command that is modified in 2006 to always be used as multiple.
    Here is my workaround, add nil last in your copy lines (command "COPY" . . . . . nil )
    You have tree of them.

    : ) Happy Computing !

    kennet

  3. #3
    Member
    Join Date
    2000-12
    Posts
    23
    Login to Give a bone
    0

    Default Re: Routine use to work in ADT 3.3 but no longer works in ADT 2006 - numberp: nil

    I tried adding nil to the end of the copy command but still get the same error message.

  4. #4
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,707
    Login to Give a bone
    0

    Default Re: Routine use to work in ADT 3.3 but no longer works in ADT 2006 - numberp: nil

    Quote Originally Posted by jyamasaki
    I tried adding nil to the end of the copy command but still get the same error message.
    OK, when I was debugging the code I did it more readable for me, I even tuned it up and maked it more secure, sorry for all that. The modified code is attached.


    Happy Computing !

    kennet
    Attached Files Attached Files

Similar Threads

  1. _ObjectScale No Longer Works in File
    By amandaf127590 in forum AutoCAD Civil 3D - General
    Replies: 0
    Last Post: 2012-08-23, 01:43 PM
  2. Replies: 1
    Last Post: 2007-02-07, 09:33 PM
  3. LISP Block Insert routine no longer works once a parameter is modified
    By JAC.95598 in forum Dynamic Blocks - Technical
    Replies: 1
    Last Post: 2005-11-22, 04:50 AM
  4. Xlist tool no longer works
    By jkramer in forum ACA General
    Replies: 1
    Last Post: 2005-07-27, 06:12 AM
  5. UNDO no longer works
    By patrick.callewier in forum AutoCAD Mechanical - General
    Replies: 7
    Last Post: 2005-02-22, 02:44 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
  •