home *** CD-ROM | disk | FTP | other *** search
- ;Call a new drawing up from acad, must specify full path name
- ;
- ; ********Patrick J. McKee, author********
- ; ****Copyright 1992, Power Key tm****
- ;
- (SETQ nn(GETSTRING "\nEnter name of drawing to call into design session: "))
- (setq ss(getstring "\nDo you want to save current session: <Y>"))
- (if(= ss "Y")(setq ss "end"))
- (if(= ss "y")(setq ss "end"))
- (if(= ss nil)(SETQ ss "end"))
- (if(= ss "")(SETQ ss "end"))
- (if(= ss "n")(SETQ ss "quit y"))
- (if(= ss "N")(SETQ ss "quit y"))
- (setq scr "get_it.scr")
- (setq txt(open scr "w"))
- (setq start "\n2")
- (setq fnme(strcat "\n" nn))
- (princ ss txt)
- (princ start txt)
- (princ fnme txt)
- (princ "\n" txt)
- (close txt)
- (command"script""get_it")