# $Revision$ on $Date$
# The above revision line needs to be the first line for ttkrf files
# Copyright (c) 2006 Ansys Inc

dataEntryDialog v3NastranVarsDEZ "Select NastranVariables"
   frame v3NastranVarsHFm "Mode/Load/Side"
    # textOptMenu v3NastranVarsMd "Mode (HZ)" nastran_vars(mode_s) \
    #          ::nastran_vars(sv_modes) 0 "aie_update_nastran_vars mode"
      dropDownEntry v3NastranVarsMd "Mode (HZ)" ::nastran_vars(svModes) \
               ::nastran_vars(modeS) FALSE MENULIKE
    # textOptMenu v3NastranVarsLd "Load #" nastran_vars(load_s) \
    #          ::nastran_vars(sv_loads) 0 "aie_update_nastran_vars load"
      dropDownEntry v3NastranVarsLd "Load #" ::nastran_vars(svLoads) \
               ::nastran_vars(loadS) FALSE MENULIKE
      textOptMenu v3NastranVarsSd "Category" nastran_vars(side_s) \
               ::nastran_vars(sv_classes) 0 "aie_update_nastran_vars side"
   frame END

   frame v3NastranSVarFm "Scalar Variable"
      dropDownEntry v3NastranSVar "Current" v3pNastranSVarList \
                            v3pNastranSVarCur FALSE MENULIKE
      textEntry v3NastranVarSMin "Min" ::nastran_vars(sv_min) NUM
      textEntry v3NastranVarSMax "Max" ::nastran_vars(sv_max) NUM
   frame END

   frame v3NastranVVarFm "Vector Variable"
      dropDownEntry v3NastranVVar "Current" v3pNastranVVarList \
                            v3pNastranVVarCur FALSE MENULIKE
      textEntry v3NastranVarVMag "Max mag" ::nastran_vars(vmax) NUM
   frame END
dataEntryDialog END

dataEntryDialog v3AnsysVarsDEZ "Select AnsysVariables"
   frame v3AnsysVarsHFm "Mode/Load/Side"
    # textOptMenu v3AnsysVarsMd "Mode (HZ)" ansys_vars(mode_s) \
    #          ::ansys_vars(sv_modes) 0 "aie_update_ansys_vars mode"
      dropDownEntry  v3AnsysVarsMd "Mode (HZ)" ::ansys_vars(svModes) \
               ::ansys_vars(modeS) FALSE MENULIKE
    # textOptMenu v3AnsysVarsLd "Load #" ansys_vars(load_s) \
    #          ::ansys_vars(sv_loads) 0 "aie_update_ansys_vars load"
      dropDownEntry v3AnsysVarsLd "Load #" ::ansys_vars(svLoads) \
               ::ansys_vars(loadS) FALSE MENULIKE
      textOptMenu v3AnsysVarsSd "Category" ansys_vars(side_s) \
               ::ansys_vars(sv_classes) 0 "aie_update_ansys_vars side"
   frame END

   frame v3AnsysSVarFm "Scalar Variable"
      dropDownEntry v3AnsysSVar "Current" v3pAnsysSVarList \
                            v3pAnsysSVarCur FALSE MENULIKE
      textEntry v3AnsysVarSMin "Min" ::ansys_vars(sv_min) NUM
      textEntry v3AnsysVarSMax "Max" ::ansys_vars(sv_max) NUM
   frame END

   frame v3AnsysVVarFm "Vector Variable"
      dropDownEntry v3AnsysVVar "Current" v3pAnsysVVarList \
                            v3pAnsysVVarCur FALSE MENULIKE
      textEntry v3AnsysVarVMag "Max mag" ::ansys_vars(vmax) NUM
   frame END
dataEntryDialog END

dataEntryDialog v3LsDynaVarsDEZ "Select LS-Dyna Variables"
   frame v3LsDynaVarsHFm "Category" 
      textOptMenu v3LsDynaVarsGp "  " lsdyna_vars(class_s) \
             ::lsdyna_vars(sv_classes) 0 "aie_update_lsdyna_vars class"
   frame END

   frame v3LsDynaSVarFm "Scalar Variable"
      dropDownEntry v3LsDynaSVar "Current" v3pLsDynaSVarList \
                            v3pLsDynaSVarCur FALSE MENULIKE
      textEntry v3LsDynaVarSMin "Min" ::lsdyna_vars(sv_min) NUM
      textEntry v3LsDynaVarSMax "Max" ::lsdyna_vars(sv_max) NUM
   frame END

   frame v3LsDynaVVarFm "Vector Variable"
      dropDownEntry v3LsDynaVVar "Current" v3pLsDynaVVarList \
                            v3pLsDynaVVarCur FALSE MENULIKE
      textEntry v3LsDynaVarVMag "Max mag" ::lsdyna_vars(vmax) NUM
   frame END
dataEntryDialog END


dataEntryDialog v3LsDynaXYpDEZ "Make LS-Dyna XY Plots"
   textOptMenu v3LsDynaXYpFile "From File" lsdyna_vars(xypfile) \
            ::lsdyna_vars(xypfiles) 0 "aie_update_lsdyna_xyp file"
   dropDownEntry v3LsDynaXYplot "Plot" v3LsDynaXYpList \
                     v3LsDynaXYpWhat FALSE MENULIKE
   radioGroup v3LsDynaXYpWin "Window Selection" 1 lsdyna_vars:xypwin new NULL
      radioItem v3LsDynaXYpWinNew "in A New Window" new
      radioItem v3LsDynaXYpWinOld "Replace Previous Plot" old
      radioItem v3LsDynaXYpWinCur "Add to Current Window" current
   radioGroup END
dataEntryDialog END

dataEntryDialog v3InterpFileDEZ "Interpolate to surface defined by points" 
   rFChooser v3InterpFileIn "Input Data File" ::v3p_interp_data_input 0 0 0 \
     NULL ::v3p_interp_data(dir_loc) NULL
   rFChooser v3InterpFileOut "Output Data File" ::v3p_interp_data_output 1 0 0 \
     NULL ::v3p_interp_data(dir_loc) NULL
   dropDownEntry v3InterpFileInterpB "Interpolate from " ::v3p_interp_select_interp_type ::v3p_interp_data(type) FALSE MENULIKE
   #textButton v3InterpFileVarB "Select Variables" "aie_v3p_interp_select vars"
   entryButton v3InterpFileVarB "Select Variables" NULL ::v3p_interp_data(selected_vars) \
                   "aie_v3p_interp_select vars" "Select Variables"   
   #textButton v3InterpFileMatB "Select Materials" "aie_v3p_interp_select mats"
   entryButton v3InterpFileMatB "Select Materials" NULL ::v3p_interp_data(selected_mats) \
                   "aie_v3p_interp_select mats" "Select Materials"   
   #dropDownEntry v3InterpFileFormatB "Output Format" ::v3p_interp_select_format ::v3p_interp_data(format) FALSE MENULIKE

    dialogSpace 1
   
    exclusiveGroup InterpFormat "Output Format:" " " 1 DROPDOWN interpolation_format
      exclusiveGroupItem InterpFormat1 "ASCII"
      exclusiveGroupItem END
      exclusiveGroupItem InterpFormat2 "ANSYS"
         frame v3InterpAnsysCmmsF "Ansys Format Commands"
            #dropDownEntry v3InterpAnsCommM "Command" ::v3p_interp_select_ansys_command ::v3p_interp_data(ansys_command) FALSE MENULIKE
            dropDownEntry createAnsCom "Command" ::v3p_interp_select_ansys_command ::v3p_interp_data(ansys_command) FALSE
            textEntry v3InterpAnsysLabel "Label" ::v3p_interp_data(ansys_label) TEXT
            textEntry v3InterpAnsysFactor "Conversion Factor" ::v3p_interp_data(conv_factor) NUM
            rFChooser v3InterpConnFile "Connectivity File" ::v3p_interp_data_conn 0 0 0 \
                NULL ::v3p_interp_data(dir_loc) NULL
        frame END
      exclusiveGroupItem END
   exclusiveGroup END
dataEntryDialog END

