! TITLE: clr_resume_db.mac (MANAGEMENT) ! ! ! This sub-macro clears the database, ready to start a new session; resumes ! the current database, and initializes the toolbar functions. ! *get,prkey_,active,0,prkey /nopr clear_start_new,vidtog_ ! resume ! allsel,all ! *get,kp_cnt,kp,,count *get,ln_cnt,line,,count *get,ar_cnt,area,,count *get,vl_cnt,volu,,count *get,el_cnt,elem,,count ! *if,el_cnt,gt,0,then eplot *elseif,vl_cnt,gt,0,then vplot *elseif,ar_cnt,gt,0,then aplot *elseif,ln_cnt,gt,0,then lplot *elseif,kp_cnt,gt,0,then kplot *endif ! toolbar ! /prep7 *if,prkey_,eq,1,then /go *endif