home *** CD-ROM | disk | FTP | other *** search
- ;***************************************************/
- ;% ParaDraft - Source code (c) ALL RIGHTS RESERVED
- ;% Copyright 1991 (c) ParaWare Systems, India
- ;%
- ;%
- ;% PGINIT file for AutoCAD Release 10
- ;%
- ;***************************************************/
-
- ; Add the complete file without modifications into ACAD.LSP
- ; for loading it automatically
-
- (setq *pgpg-shell* "PGSHELL")
-
- (setq *pgpg-10* T)
-
- (defun c:pgpg()
- (load (strcat *pgpg-dir* "pgpg"))
- )
- (defun c:pgrun()
- (Setq *pgpg-demo* nil
- *pgpg-expert* nil
- *pgpg-calmode* nil)
- (load (strcat *pgpg-dir* "pgrun"))
- (load (strcat *pgpg-dir* "pgcustom"))
- )
- (defun c:pgdemo()
- (Setq *pgpg-demo* T
- *pgpg-expert* T
- *pgpg-calmode* "CALC")
- (load (strcat *pgpg-dir* "pgrun"))
- )
- ;
- (setq *pg-menu* (strcase (getvar "MENUNAME")))
-
- (defun c:pgmenu( / mnu pg-mnu)
- (setq mnu (strcase (getvar "MENUNAME")))
- (setq pg-mnu (strcase (strcat *pgpg-dir* "pgmenu")))
- (if (= mnu pg-mnu)
- (princ "\nParaDraft menu is already loaded")
- (progn
- (setq *pg-menu* mnu)
- (command ".MENU" pg-mnu)
- (if c:pgpgset (menucmd "P2=P2b"))
- (if *pgpg-demo* (menucmd "P7=P7b"))
- )
- )
- (princ)
- )
-
-
- (defun slide-show( slides / slide )
- (Setvar "cmdecho" 0)
- (princ "ParaDraft information follows..")
- (Foreach slide slides
- (command "vslide" (strcat *pgpg-dir* "pgdraft(" (car slide) ")"))
- (command "delay" (* 1000 (Cadr slide)))
- )
- (getpoint "\nPress return to continue...")
- (command "redraw")
- (princ "\nThank you for your attention.")
- (princ "\nFor more information take a printout of MANUAL file : ")
- (princ (strcase *pgpg-dir*))(princ"PGDRAFT.DOC")
- (princ)
- )
- (command "vslide" (strcat *pgpg-dir* "pgdraft(welcome)"))
- (command "menu" (strcat *pgpg-dir* "pgmenu"))
- (princ)
-
- ; END OF PGINIT file for AutoCAD Release 10
-