home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / autocad / param1.arj / 1STLOOK.BAT next >
DOS Batch File  |  1991-09-03  |  11KB  |  203 lines

  1. echo off
  2. if not exist PGPG.EXE  goto NOINST
  3. if not exist PGPG.IDB  goto NOINST
  4. if not exist baseplt.PG  goto NOINST
  5. if not exist tblock.PG  goto NOINST
  6. if not exist abolt.PG  goto NOINST
  7. if not exist pipebend.PG  goto NOINST
  8. if not exist pgrun.lsp goto NOINST
  9. cls
  10. cls
  11. echo          *********************************************
  12. echo          *      Welcome to ParaDraft demonstration   *
  13. echo          *                                           *
  14. echo          *         Parametric Drafting Sytem         *
  15. echo          *               for AutoCAD                 *
  16. echo          *                                           *
  17. echo          *                ParaDraft                  *
  18. echo          *         SHAREWARE VERSION  V 1.01S        *
  19. echo          *                                           *
  20. echo        ParaDraft   COPYRIGHT 1991 ParaWare Systems, India
  21. echo  **************************************************************
  22. echo.     
  23. echo.         In this demonstration, you will first see a slide show
  24. echo.         giving you a first look at the features of ParaDraft.
  25. echo.
  26. echo.         Next, parametric drafting applications will be created 
  27. echo.         for the given four sample geometries. This way you get
  28. echo.         to run programs generated NOW from the sample input.
  29. echo.
  30. echo.         Finally, you will start AutoCAD and draw the geometries
  31. echo.         automatically using the applications created just now
  32. echo.         with your own values. 
  33. echo  **************************************************************
  34. pause
  35. cls
  36. echo.
  37. echo.     ParaDraft SLIDE SHOW follows.....
  38. echo.
  39. echo.     In this slide show, you will see
  40. echo.
  41. echo.        * ParaDraft  = parametric drafting 
  42. echo.        * how to create a ParaDraft application
  43. echo.        * slides of sample applications of ParaDraft
  44. echo.
  45. echo.     You can end the slide show by entering CTRL-C repeatedly.
  46. echo.
  47. echo.     Please note that the demonstration continues beyond the slide show.
  48. pause
  49. cls
  50. sldmgr p 1stlook
  51. cls
  52. echo          *********************************************
  53. echo          *      Welcome to ParaDraft demonstration   *
  54. echo          *                                           *
  55. echo          *         Parametric Drafting Sytem         *
  56. echo          *               for AutoCAD                 *
  57. echo          *                                           *
  58. echo          *                ParaDraft                  *
  59. echo          *         SHAREWARE VERSION  V 1.01S        *
  60. echo          *                                           *
  61. echo  **************************************************************
  62. echo  *                                                            *
  63. echo  *                                                            *
  64. echo  *  This demonstration will run geometry parameterisation     *
  65. echo  *  expert system for you to create AutoLISP files for the    *
  66. echo  *  following samples applications:                           *
  67. echo  *                                                            *
  68. echo  *          BASEPLT     -   Base Plate                        *
  69. echo  *          TBLOCK      -   T - block like shape              *
  70. echo  *          ABOLT       -   a round headed bolt               *
  71. echo  *          PIPEBEND    -   a simple bent pipe                *
  72. echo  *                                                            *
  73. echo  **************************************************************
  74. pause
  75. cls
  76. echo          *********************************************
  77. echo          *      Welcome to ParaDraft  SAMPLE RUN     *
  78. echo          *                                           *
  79. echo          *         Parametric Drafting Sytem         *
  80. echo          *               for AutoCAD                 *
  81. echo          *                                           *
  82. echo          *                ParaDraft                  *
  83. echo          *         SHAREWARE VERSION  V 1.01S        *
  84. echo          *                                           *
  85. echo  **************************************************************
  86. echo  *                                                            *
  87. echo  * These samples illustrate these features of ParaDraft       *
  88. echo  *                                                            *
  89. echo  *  BASEPLT :  Horizontal and Vertical dimensions             *
  90. echo  *             Symmetry                                       *
  91. echo  *  TBLOCK  :  Angular and Aligned Linear dimensions          *
  92. echo  *             line/line intersection                         *
  93. echo  *  ABOLT   :  Circles, Arcs and Fillets                      *
  94. echo  *             Radial and diametrial dimensions               *
  95. echo  *             Intersections of  Line/Circle                  *
  96. echo  *  PIPEBEND  : Multiple Angular dimensions                   *
  97. echo  *                                                            *
  98. echo  **************************************************************
  99. pause
  100. cls
  101. pgpg @samples.lst
  102. pause
  103. cls
  104. echo          *********************************************
  105. echo          *        ParaDraft  SAMPLE RUN is Over      *
  106. echo          *                Thanks !                   *
  107. echo          *                                           *
  108. echo          *         Parametric Drafting Sytem         *
  109. echo          *               for AutoCAD                 *
  110. echo          *                                           *
  111. echo          *                ParaDraft                  *
  112. echo          *         SHAREWARE VERSION  V 1.01S        *
  113. echo          *                                           *
  114. echo  **************************************************************
  115. echo  *                                                            *
  116. echo  *                                                            *
  117. echo  *  The following AutoLISP Parametric Geometry Programs       *
  118. echo  *  have been created just now                                *
  119. echo  *                                                            *
  120. echo  *          baseplt                                           *
  121. echo  *          tblock                                            *
  122. echo  *          abolt                                             *
  123. echo  *          pipebend                                          *
  124. echo  *                                                            *
  125. echo  *  Now you can proceed to run these programs in AutoCAD      *
  126. echo  **************************************************************
  127. pause
  128. cls
  129. set lispheap=38000
  130. set lispstack=7000
  131. echo  **************************************************************
  132. echo  * Please proceed immediately to run AutoCAD                  *
  133. echo  *                                                            *
  134. echo  * Choose main menu option 1 and start a new drawing, using   *
  135. echo  * an = sign after the name for a BLANK prototype drawing.    *
  136. echo  *                                                            *
  137. echo  * In the drawing, please make sure that:                     *
  138. echo  *     o AutoLISP is not deactivated.                         *
  139. echo  *     o You have zoomed into a window about 300x300 units    *
  140. echo  *                                                            *
  141. echo  *    Please enter the following commands at the command      *
  142. echo  *    prompt of AutoCAD drawing editor:                       *
  143. echo  *                                                            *
  144. echo  *    1. Command: SCRIPT                                      *
  145. echo  *          File: PGINIT                                      *
  146. echo  *    2. Command: PGDEMO                                      * 
  147. echo  *                                                            *
  148. echo  *    The above will load all the neccessary functions into   *
  149. echo  *    AutoCAD for running the demonstration.                  *
  150. echo  *                                                            *
  151. echo  *                                                            *
  152. echo  * Please take a printout of this screen using the PrtScr key *
  153. echo  *                                                            *
  154. echo  **************************************************************
  155. pause
  156. cls
  157. echo  *********************************************************************
  158. echo  *   To draw the geometry, enter the command prompt of AutoCAD:
  159. echo  *
  160. echo  *        Command: PGDRAW     
  161. echo  *                 Select geometry: 
  162. echo  *                 Abolt/Baseplt/Pipebend/Tblock:
  163. echo  *
  164. echo  *  Select any one of samples from the above four. The program
  165. echo  *  will automatically assign the default value to each of the 
  166. echo  *  dimensions, after showing you the same.
  167. Echo  *
  168. echo  *  Just pick ANY point for the insertion point of the geometry, 
  169. echo  *  After a few messages the geometry corresponding to the
  170. echo  *  default values will be drawn.
  171. echo  *                                                              
  172. echo  *  After you have tried all the sample geometries with the default
  173. echo  *  values you are strongly urged to try running the sample programs
  174. echo  *  again with your own values of the parameters. Enter command: 
  175. echo  *
  176. echo  *                 Command: LETMETRY
  177. echo  *
  178. echo  *  Now you will be asked for all the dimension values.
  179. echo  *
  180. echo ******** Please take a printout of this screen using the PrtScr key  ***
  181. pause
  182. cls
  183. echo          *********************************************
  184. echo          *        ParaDraft  SAMPLE RUN is Over      *
  185. echo          *                Thanks !                   *
  186. echo          *                                           *
  187. echo          *         Parametric Drafting Sytem         *
  188. echo          *               for AutoCAD                 *
  189. echo          *                                           *
  190. echo          *                ParaDraft                  *
  191. echo          *         Shareware version  V 1.01S        *
  192. echo          *                                           *
  193. echo  **************************************************************
  194. echo  *         Please proceed immediately to run AutoCAD          *
  195. echo  *         for the second part of the demonstration.          *
  196. echo  **************************************************************
  197. goto END
  198. :NOINST
  199. echo Sorry. Can not run 1STLOOK for ParaDraft, since
  200. echo ParaDraft installation is incomplete in the current directory.
  201. echo Check if you are running 1STLOOK from the wrong directory.
  202. :END
  203.