See the top rated post in this thread. Click here

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Suggested Guidelines for Coding

  1. #11
    Active Member Tommybluegrass's Avatar
    Join Date
    2015-12
    Location
    Mississippi Gulf Coast, U.S.A.
    Posts
    74
    Login to Give a bone
    0

    Default Re: Suggested Guidelines for Coding

    Provide Help function. Provide revision history as part of the instruction document.

  2. #12
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    561
    Login to Give a bone
    0

    Default Re: Suggested Guidelines for Coding

    Its one thing to write a lot of lisps but think about a manual how to actually use them it can be pretty simple like pick p1 p2 p3 etc as a diagram.

    Like Peter I use a lot of library functions so have a think about how many times you have copied and pasted the same code into new routines, where a library routine could be used, this also ensures a consistency with your code, using known variable names as meaning the same in all code.

    Just me I always use Pt1 pt2 for points, ssblocks the ss meaning a selection set with groupname, ang1 for angles, dist1 for distances etc.

    I have just started converting my extensive code (30 years) instead of line by line questions to a auto create dcl method http://www.cadtutor.net/forum/showth...re-if-required

  3. #13
    Woo! Hoo! my 1st post
    Join Date
    2006-10
    Posts
    1
    Login to Give a bone
    0

    Default Re: Suggested Guidelines for Coding

    If you ever call an AutoCAD command from AutoLISP use the universal (non local language specific) formula, i.e. the English name preceded with an underline character. Don't forget to use this formula at the command parameters, too.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. 2008: Suggested Reading
    By thebatman_ in forum ACA General
    Replies: 2
    Last Post: 2011-06-29, 10:08 PM
  2. 2011: suggested cad mep book
    By clockworkc5 in forum AMEP General
    Replies: 2
    Last Post: 2011-04-21, 02:16 PM
  3. suggested MUST take classes for AU 2008
    By bjohns in forum Revit Architecture - General
    Replies: 1
    Last Post: 2007-08-24, 07:29 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
  •