home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / GR / GR505.ZIP / LSP.EXE / LEADER.LSP < prev    next >
Text File  |  1987-03-29  |  3KB  |  77 lines

  1. ; LEADER.LSP
  2. ; 3/01/1987
  3. ; By Tony Tanzillo, A/E Automation Systems
  4. ;
  5. ; The information contained herein is being donated to the public domain
  6. ; soley for the benefit of licensed AutoCAD END USERS everywhere.  You are
  7. ; free to modify, or reproduce and distribute only in the un-altered
  8. ; original form, the information contained herein for ANY NON-COMMERCIAL
  9. ; use, provided such reproduction/disribution is NOT FOR PROFIT, and
  10. ; provided that with any such distribution, this NOTICE (or any portion
  11. ; thereof) is NOT REMOVED OR ALTERED from it's original content in ANY
  12. ; manner, shape, or form.
  13. ;
  14. ; You ARE NOT free to reproduce and/or distribute the information
  15. ; contained herein (regardless of medium or form of reproduction) for
  16. ; profit, or to include it or any portion thereof, as a part of any
  17. ; commercially marketed goods regardless of thier intended nature, scope,
  18. ; or form, without the expressed written permission of the author.
  19. ;
  20. ; If you seek such permission, it will be granted provided you furnish the
  21. ; author with ONE (1) fully-functional, licenseable sample of the finished
  22. ; product(s) in final marketed form.  In return for which you may solict
  23. ; and will recieve the author's objective opinions, advice and insight
  24. ; regarding any and all aspects of said product(s), free of charge, with
  25. ; appropriate and complete written assurance of non-disclosure.
  26. ;
  27. ; Additional information can be obtained
  28. ; by writing to:
  29. ;                 Anthony F. Tanzillo,
  30. ;                 32 Gould Ave.
  31. ;                 Paterson, N. J. 07503
  32. ;
  33. ; Or, via electronic medium thru;
  34. ;
  35. ;                 Compuserve ID: 70307,2556
  36. ;
  37. ;   Leader.lsp is a AutoLISP-based user defined command that provides
  38. ;   enhanced creation of a dimensioning and annotation leader and text.
  39. ;
  40. ;   Some of the features of LEADER are:
  41. ;
  42. ;   1. Automatic termination of continuous leader line specification
  43. ;      after 2 line segments are drawn.
  44. ;
  45. ;   2. Automatic termination of leader line specification if the first
  46. ;      specified line is 0 or 180 degrees.
  47. ;
  48. ;   3. Dynamic multiple line text entry.
  49. ;
  50. ;   4. Automatic left or right leader text justification controlled by the
  51. ;      direction of the last leader line segment.
  52. ;
  53. ;   5. Uses a user-specified block (required!) for the leader arrow which
  54. ;      is compatible with blocks used by AutoCAD's dimension leader arrow
  55. ;      block option.
  56. ;
  57. ;   6. User-definable leader text style & height can be redefined along
  58. ;      with other settings and parameters.(reguires a NON-FIXED HEIGHT
  59. ;      TEXT STYLE to be used for the leader text).
  60. ;
  61. ;   7. User-definable leader arrow block can be redefined to any of 5
  62. ;      different arrow types in the included DXF file.
  63. ;
  64. ;   8. User-definable arrow size/text height RATIO (the arrow size will
  65. ;      always be proportional to the leader text height), can be redefined
  66. ;      as needed.
  67. ;
  68. ;   To use LEADER, follow these steps;
  69. ;
  70. ;      Add all the AutoLISP code included in this file to your ACAD.LSP,
  71. ;      or LOAD in from within AutoCAD.
  72. ;
  73. ;      DXFIN the included arrow DXF drawing, and wblock each arrow out to
  74. ;      the default working subdirectory so they will be available for
  75. ;      insertion by the LEADER command.
  76. ;
  77. ;      Create one or