+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
  1. #11
    Super Member rlx's Avatar
    Computer Details
    rlx's Computer Details
    Operating System:
    W10
    Computer:
    i74ghz/ssd500/2tbhdd
    Discipline
    Electrical
    rlx's Discipline Details
    Occupation
    electrical designer dragon
    Discipline
    Electrical
    Details
    I dont excel in anything but I rearly give up
    Using
    AutoCAD 2016
    Join Date
    Nov 2014
    Location
    Bergen op Zoom , Netherlands
    Posts
    637

    Default

    Registered forum members do not see this ad.

    wow , my eyes are getting tired pfff... where to begin...

    Guess you're still trying to devellop your own programming style ;-)

    Couple of things a first glance

    a lot of variables are not declared in your main defun like inifile1 etc. This means even after your app has ended their values are still in the memory. If this is your intend , ok , if not just put them with the rest of your variables right after the defun xxxxx ( / ...
    That way you don't have to set them to nil each time.

    Same for lcp4list02cq7jtq. I suspect when you run your app twice , the list gets longer each time? Just put all your variables in 'the bucket' as mentioned above. Sure there is more to be said but it was a long day for me , so will have a second look later but first declare all your variables properly is my advice at this time. Maybe someone is awake to help you further right now , but it's bedtime for me (yawn...)

    Gr. Rlx

  2. #12
    Full Member
    Using
    AutoCAD 2012
    Join Date
    Feb 2009
    Posts
    32

    Default

    Registered forum members do not see this ad.

    Sorry Rlx to bother you at this time.
    I figured it out the lcp4list02cq7jtq and variables where messed up.
    Works now better. Thanks for helping me out.

Similar Threads

  1. Using multiple external data tables.
    By Don Mitchell in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 21st Nov 2014, 08:31 pm
  2. multiple external polygon offset
    By ctdlc888 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 25th Aug 2012, 01:43 pm
  3. Replies: 6
    Last Post: 20th Sep 2011, 07:39 am
  4. Layers and external reference files
    By Nardino in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 2
    Last Post: 30th Jun 2010, 03:18 pm
  5. Links to external files
    By Vinnt1974 in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 3rd Mar 2004, 02:59 pm

Tags for this Thread

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