! *************************** REV51 ********************************* !
!                          ANSMAC.MAC                                 !
!        Macro to animate the last contour plot                       !
!                      RWG July 26, 1995                              !
! Last Modified:                                                      !
!                                                                     !
! This macro is to be issued in an ANSYS /POST1 session and was meant !
! for use within the ANSYS-Pro/E Interface                            !
!                                                                     !
! Usage:  ANDEQV,ARG1,ARG@                                            !
!                                                                     !
!  where      ARG1 = load step to be animated                         !
!             ARG2 = what processing data is be copied for results    !
!                    file                                             !
!                                                                     !
! ******************************************************************* !
!
/show,term
/pbc,defa
/psf,defa
/pbf,defa
/dscale,1,user
/contour,1,,user
/seg,dele
/seg,multi
/user
ernorm,off
*if,arg2,eq,0,then
 inres,nsol
*elseif,arg2,eq,1,then
 inres,nsol,strs
*elseif,arg2,eq,2,then
 inres,fgrad,fflux
*endif
append,arg1,,.00000001
/replot
*do,index,1,4
append,arg1,,index/4
/replot
*enddo
/seg.off
/auto
/contour,1,,auto
ernorm,on
inres
