Provide Help function. Provide revision history as part of the instruction document.
|
Provide Help function. Provide revision history as part of the instruction document.
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
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.