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

dataEntryDialog setModelOptionsDEZ "Model/Units"
	textEntry GOptions_5 "Topo Tolerance" ::geo_cad(toler) INT
	textButton restoreTopoDefault "Restore" "aie_default_topo_tolerance restore_geo_default_topo_tolerance"
	frame mszGlobalFrm "Triangulation"
		textEntry mszGlobaltttol "Tolerance" tritol NUM
		checkItem mszGlobalttol_abs "Unitless tolerance" tritolabs NULL  
	frame END
	dialogSpace 1
	frame modelunitsGeometryUnitsFrm "Length Units"
        radioGroup modelunitsGeometryUnits "Units" 1 units unitless NULL
            radioItem modelunitsGeometryNM  "Nanometers" "nm"
            radioItem modelunitsGeometryUM  "Micrometers" "um"
            radioItem modelunitsGeometryMM  "Millimeters" "mm"
            radioItem modelunitsGeometryCM  "Centimeters" "cm"
            radioItem modelunitsGeometryM   "Meters" "m"
            radioItem modelunitsGeometryKM  "Kilometers" "km"
            radioItem modelunitsGeometryUIN "Microinches" "uin"
            radioItem modelunitsGeometryMIL "Mils (thousands)" "mil"
            radioItem modelunitsGeometryIN  "Inches" "in"
            radioItem modelunitsGeometryFT  "Feet" "ft"
            radioItem modelunitsGeometryMI  "Miles" "mi"
            radioItem modelunitsGeometryUK  "Unitless" "unitless"
        radioGroup END
        #checkItem modelunitsGeometryUnitsScale "Scale to selected unit" scale_unit NULL
        frame modelunitsGeometryUnitsScaleFrm "Scale"
        greyGroup modelunitsGeometryUnitsScale "Scale to selected unit" scale_unit
	        greyGroupItem modelunitsGeometryUnitsScale2 " "
                checkItem modelunitsGeometryParamsScale "Also scale mesh sizes" scale_sizes NULL
	        greyGroupItem END
	    greyGroup END
	    frame END
    frame END
dataEntryDialog END

dataEntryDialog setGOptionsDEZ "Geometry Options"
	checkItem  GOptions_n "Name new geometry" ::vid_options(show_item_name) NULL	
	checkItem  GOptions_0 "Replace same name item" ::vid_options(replace) NULL	 	 	 
	dialogSpace 1
	radioGroup  GORGP "Inherit part name" 2 opt_inherit 1 aie_set_opt_inherit
		radioItem GO1 "Inherited" 1
		radioItem GO2 "Create new part" 0
		dropDownEntry GOptions_PartName "Default part name" PartList default_part_name FALSE	 
    radioGroup END
    dialogSpace 1
    #dropDownEntry GOptions_PartName "Default part name" PartList default_part_name FALSE
	checkItem  GOptions_b "Create auxiliary points" ::vid_options(auxiliary) NULL	  
	checkItem  GOptions_1 "Create surface topology" ::vid_options(new_srf_topo) NULL
	dialogSpace 1	 	
    frame GOptions_ImportParams "Import Parameters from Tetin file"
	    checkItem GOptions_global "Global mesh params" map_global NULL
	    checkItem GOptions_family "Part mesh params" map_family  NULL
	    checkItem GOptions_ppoint "Point parts" map_ppoint NULL
	    checkItem GOptions_pcurves "Curve parts" map_pcurves NULL
	    checkItem GOptions_mcurves "Curve mesh params" map_mcurves NULL
	    checkItem GOptions_psurfaces "Surface parts" map_psurfaces NULL
	    checkItem GOptions_msurfaces "Surface mesh params" map_msurfaces NULL
	    checkItem GOptions_thincuts "Thincuts" map_thincuts NULL
	    checkItem GOptions_density "Densities volume" map_densities NULL
	    checkItem GOptions_subsets "Subsets" map_subsets NULL
	    checkItem GOptions_mpoint "Material points" map_mpoint NULL
    frame END
	frame GOptions_pDataFrm "Part Table Data"
		textButton GOptions_pMsz "Mesh Setup" "aie_part_table_setcols meshsizes"
		textButton GOptions_pAttrib "Attributes" "aie_part_table_setcols attributes"
	frame END
dataEntryDialog END

dataEntryDialog mpegDEZ "Encode MPEG"
  frame mpegOutFileFm "Output MPEG file:"
     fileChooser mpegOutFile " " ::hardcopy(mpegfile) TRUE
  frame END
  frame mpegInputFm "Input PPM files"
     fileChooser mpegInputDir "Dir" ::mpeg_param(inputdir) DIR
     entryButton mpegInputPat "By pattern" NULL ::hardcopy(mpegpat) "list_mpeg_inputfiles" "Set list by pattern"
     textButton mpegInputEdit "Modify list of images" "edit_mpeg_inputfiles .mpeg_files_edit"
  frame END
dataEntryDialog END

dataEntryDialog gifaDEZ "Encode Animated GIF"
  frame gifaOutFileFm "Output GIF file:"
     fileChooser gifaOutFile " " ::hardcopy(gifafile) TRUE
  frame END
  frame gifaInputFm "Input GIF files"
     fileChooser gifaInputDir "Dir" ::gifa_param(inputdir) DIR
     entryButton gifaInputPat "By pattern" NULL ::hardcopy(gifapat) "list_gifa_inputfiles" "Set list by pattern"
     textButton gifaInputEdit "Modify list of iamges" "edit_gifa_inputfiles .gifa_files_edit"
  frame END
dataEntryDialog END


dataEntryDialog hardcopyDEZ "Save Picture"
  frame hardcpyPrefixFm "Output prefix"
     fileChooser hardcpyPrefix " " outfile TRUE
     checkItem  hardcpyNew "Generate new file names" generate_new NULL
  frame END
  exclusiveGroup hardcpyFormat NULL "Format" 1 DROPDOWN format
     exclusiveGroupItem hardcpyPS "PostScript"
        radioGroup hardcpyPSType "PS Type" 2 ps_type 1 NULL
           radioItem hardcpyPSTypePS "PS" "PS"
           radioItem hardcpyPSTypeEPS "EPS" "EPS"
        radioGroup END
        radioGroup hardcpyPSMode "PS Mode" 3 ps_color 1 NULL
           radioItem hardcpyPSModeColr "Color" "color"
           radioItem hardcpyPSModeGrey "Gray" "gray"
           radioItem hardcpyPSModeMono "Mono" "mono"
        radioGroup END
        checkItem  hardcpyPSFrame "Include Frame" ps_frame NULL
        frame hardcpyPSTitleFm "Title(top)"
           textEntry hardcpyPSTitle " " ps_title TEXT
        frame END
        frame hardcpyPSLabelFm "Label(bottom)"
           textEntry hardcpyPSLabel " " ps_label TEXT
        frame END
        checkItem  hardcpyPSPrint "Send to printer" send_to_printer NULL
     exclusiveGroupItem END
     exclusiveGroupItem hardcpyScrPS "PS from screen"
        checkItem  hardcpyInv0 "Invert black and white" invert NULL
        checkItem  hardcpyLS0 "Landscape mode" landscape NULL
        textEntry hardcpyScale0 "Scale Factor" scale INT
     exclusiveGroupItem END
     exclusiveGroupItem hardcpyPPM "PPM"
	    checkItem  hardcpyInv1 "Invert black and white" invert NULL
	    checkItem  hardcpyLS1 "Landscape mode" landscape NULL
	    textEntry hardcpyScale1 "Scale Factor" scale INT
     exclusiveGroupItem END

     exclusiveGroupItem hardcpyX11 "X11"
	    checkItem  hardcpyInv2 "Invert black and white" invert NULL
	    checkItem  hardcpyLS2 "Landscape mode" landscape NULL
	    textEntry hardcpyScale2 "Scale Factor" scale INT
     exclusiveGroupItem END

     exclusiveGroupItem hardcpyTIFF "TIFF"
	    checkItem  hardcpyInv3 "Invert black and white" invert NULL
	    checkItem  hardcpyLS3 "Landscape mode" landscape NULL
	    textEntry hardcpyScale3 "Scale Factor" scale INT
     exclusiveGroupItem END

     exclusiveGroupItem hardcpyGIF "GIF"
	    checkItem  hardcpyInv4 "Invert black and white" invert NULL
	    checkItem  hardcpyLS4 "Landscape mode" landscape NULL
	    textEntry hardcpyScale4 "Scale Factor" scale INT
     exclusiveGroupItem END

     exclusiveGroupItem hardcpyJPEG "JPEG"
	    textEntry hardcpyJPEGQual "Quality" jpeg_quality INT
	    checkItem  hardcpyInv5 "Invert black and white" invert NULL
	    checkItem  hardcpyLS5 "Landscape mode" landscape NULL
	    textEntry hardcpyScale5 "Scale Factor" scale INT
     exclusiveGroupItem END

     exclusiveGroupItem hardcpyVRML "VRML"
	    checkItem  hardcpyInv6 "Invert black and white" invert NULL
	    checkItem  hardcpyLS6 "Landscape mode" landscape NULL
	    textEntry hardcpyScale6 "Scale Factor" scale INT
     exclusiveGroupItem END
  exclusiveGroup END

dataEntryDialog END

dataEntryDialog setGeneralDEZ "Settings - General" nosave
    textEntry setGenCpu "Number of Processors" n_processors INT
    textEntry setGenEdit "Text Editor" editor TEXT
    checkItem setGenInternal "Use internal editor for Replay Control" replay_internal_editor NULL
    textEntry setTempDir "Temporary directory" temporary_directory  TEXT
    checkItem setGenESaveMesh "Save Emergency Tetin on Crash" med_save_emergency_tetin NULL
    checkItem setGenESaveTetin "Save Emergency Mesh on Crash" med_save_emergency_mesh NULL
    checkItem setGenESaveBlk "Save Emergency Blocking on Crash" med_save_emergency_blocking NULL
    checkItem setGenDelTmp "Clean up Temporary Files" clean_up_tmp_files NULL
    checkItem setGenjourn "Record Journal File" record_journal NULL
    checkItem setGenSavePrj "Keep existing File names" keep_existing_file_names NULL
    checkItem setClearUndo "Clear undo after saving Project or Geometry" clear_undo NULL
    checkItem setGenFixUncoveredFaces "Automatically check/fix surface orientations after Open Mesh" auto_fix_uncovered_faces NULL
    checkItem setSaveViews "Automatically Save Views to Project" auto_save_views NULL
    checkItem setEnableIdle "Enable Idle" enable_idle NULL
dataEntryDialog END

dataEntryDialog setMouseBindingDEZ "Settings - Mouse Bindings/Spaceball"
    frame setMouseBindingFrame "Mouse Bindings"
        dropDownEntry setMsBindB1 "Left Button" MouseBindingOpts ::tdv_binding(<ButtonPress-1>)  FALSE MENULIKE
        dropDownEntry setMsBindB2 "Middle Button" MouseBindingOpts ::tdv_binding(<ButtonPress-2>) FALSE MENULIKE
        dropDownEntry setMsBindB3 "Right Button"  MouseBindingOpts ::tdv_binding(<ButtonPress-3>) FALSE MENULIKE
        dropDownEntry setMsBindShiftB1 "Shift+Left Button" MouseBindingOpts ::tdv_binding(<Shift-ButtonPress-1>) FALSE MENULIKE
        dropDownEntry setMsBindShiftB2 "Shift+Middle Button" MouseBindingOpts ::tdv_binding(<Shift-ButtonPress-2>) FALSE MENULIKE
        dropDownEntry setMsBindShiftB3 "Shift+Right Button" MouseBindingOpts ::tdv_binding(<Shift-ButtonPress-3>) FALSE MENULIKE
        dropDownEntry setMsBindCtrlB1 "Ctrl+Left Button" MouseBindingOpts ::tdv_binding(<Control-ButtonPress-1>) FALSE MENULIKE
        dropDownEntry setMsBindCtrlB2 "Ctrl+Middle Button" MouseBindingOpts ::tdv_binding(<Control-ButtonPress-2>) FALSE MENULIKE
        dropDownEntry setMsBindCtrlB3 "Ctrl+Right Button" MouseBindingOpts ::tdv_binding(<Control-ButtonPress-3>) FALSE MENULIKE
        textEntry     setMsBindWheel "Wheel Sensitivity" ::tdv_mouse_bindings(wheel) NUM
        checkItem setMsBindWheelDisable "Mouse wheel for cutplane" ::cut_info(mouse_wheel) NULL
        dropDownEntry setMsScaleDir  "Zoom in as Moving" MouseScaleDirOpts ::tdv_binding(scale_dir) FALSE MENULIKE
    frame END
    frame setSpaceballFrame "Spaceball"
        checkItem setSpaceballDisable "Start Spaceball at startup" start_spaceball NULL
    frame END

# dropDownEntry setMsBindWheel "Mouse Wheel" MouseWheelOpts ::tdv_binding(<MouseWheel>) FALSE MENULIKE
# textOptMenu setMsBindWheel "Mouse Wheel" tdv_binding(<MouseWheel>) \
#          "Zoom wheelzoom None {}" 0 "aie_update_mouse_bindings <MouseWheel> 5"
dataEntryDialog END

dataEntryDialog setLightingDEZ "Settings - Lighting"
 # textEntry setLightingAmbi "Ambient" lit_ambient NUM
 # textEntry setLightingDiff "Diffuse" lit_diffuse NUM
 # textEntry setLightingSpec "Specular" lit_specular NUM
 # textEntry setLightingShin "Shininess" lit_shininess NUM
   scaleBar setLightingAmbi "Ambient" ::tdv_lighting(ambient) 0 1 0.001 "aie_set_lighting ambient {}" 0 160 1
   scaleBar setLightingDiff "Diffuse" ::tdv_lighting(diffuse) 0 1 0.001 "aie_set_lighting diffuse {}" 0 160 1
   scaleBar setLightingSpec "Specular" ::tdv_lighting(specular) 0 1 0.001 "aie_set_lighting specular {}" 0 160 1
   scaleBar setLightingShin "Shininess" ::tdv_lighting(shininess) 1 10 1 "aie_set_lighting shininess {}" 0 160 1
   textEntry setLightingDir  "Direction" ::tdv_lighting(dir) NUM
   checkItem useDualFaceLights "Use Two Opposite Lights" ::tdv_use_dual_lighting NULL
   textButton restoreLightingDefaults "Restore defaults" "aie_reset_default_lighting"
dataEntryDialog END


dataEntryDialog setBackgroundStyleDEZ "Setting - Background"
   dropDownEntry setBackgroundStyle "Background Style" BackgroundOpts background_style FALSE MENULIKE
   colorOptMenu  setBackgroundColor "Background Color" tdv_bgcolor NULL
   colorOptMenu  setBackgroundColor2 "Background Color2" tdv_bgcolor2 NULL
   checkItem setShowAnsysLogo "Show ANSYS Logo" ::tdv_show_ansys_logo NULL
dataEntryDialog END


dataEntryDialog setDisplayDEZ "Settings - Display" nosave
ifndef AI_ENV_IN_WIN
    exclusiveGroup setDispGraphicsEG "Graphics" GROOVERELIEF 2 RADIO
       exclusiveGroupItem setDispNative  "Native"
endif
ifdef AI_ENV_IN_WIN
       frame NativeDispFrm "Graphics"
endif
          checkItem useNativeDispList "Use Native Display List" use_displist NULL
          checkItem useOglFeedback "Use OpenGL Feedback" ::tdv_use_opengl_feedback NULL
         #checkItem useOglDLType   "Use New OpenGL Lib" ::tdv_use_opengl_lighting NULL
         #checkItem DiableView "Disable View Filter" display_view_filter NULL
          checkItem DisableOverlay "Disable Overlays" disable_on_overlay NULL
          checkItem EnableSmoothMove "Enable Smooth Movement" enable_smooth_move NULL   
ifdef AI_ENV_IN_WIN
		frame END
endif
ifndef AI_ENV_IN_WIN          
       exclusiveGroupItem END
       exclusiveGroupItem setDispX11 "X11"
          checkItem setDispX11hidden "X hidden surface" xhidden_full NULL
       exclusiveGroupItem END
    exclusiveGroup END
endif
    frame setSimpGeom "Simplify Geometries"
    #checkItem autoSimplfGeom "Auto Simplify" ::tdv_auto_simplify_geom NULL  
    #textEntry setSimpLevel "Simplification level (pixels)" geom_simp INT
    greyGroup autoSimplfGeomGG "Auto Simplify" auto_simplify_geom
	    greyGroupItem autoSimplfGeom " "
            textEntry setSimpLevel "Simplification level (pixels)" geom_simp INT
	    greyGroupItem END
	greyGroup END
    frame END
    dialogSpace 1
    radioGroup setIconSize "Select Icon Size" 3 icon_size 1 NULL
	radioItem setIconSizeNormal "Normal" "Normal"
	radioItem setIconSizeLarge "Large" "Large"
	radioItem setIconSizeHuge "Huge" "Huge"
    radioGroup END
    dialogSpace 1
    textEntry setDispHmShrink "View Fit Percentage" fit_percent INT
    #checkItem setDispLocal "Use Local Display List in Hexa" use_dlremote NULL
    #checkItem setDispSize "Show Size Params using Ref Size" show_factor NULL
    #checkItem setDispTris "Show Triangles when Selecting Surfaces" show_tris NULL
    #textEntry setDispBubble "Bubble Help Delay (ms)" bubble_time INT
    textEntry setDispWarn "Warn if Elements Displayed" uns_warn_user_if_display INT
    textEntry setDispPrec "Float Display Precision" med_float INT
    #textEntry setDispAcc "Quadratic Accuracy" ::tdv_quadratic_accuracy INT
    textEntry setDispAcc "Quadratic Accuracy" tdv_quadratic INT    
    #textEntry setDispIndex "Node/Elem Index Base" med_index INT
    checkItem setExtNum "Show External Node/Element Numbers" external_num NULL
    checkItem setDispOrigin "Show Origin Marker" ::options(display_origin) aie_toggle_display_origin
    checkItem setDispTrias "Show XYZ Axes" ::vid_options(tdv_axes) aie_toggle_tdv_axes  
    checkItem fastBoxSelection "Fast Box Selection" rubbox_overlay NULL 
    frame setTreeDispOptsMesh "Tree Mesh Display"
        checkItem setTreeShowPoint "Show Points" tree_disp_node NULL
        checkItem setTreeShowLine "Show Lines" tree_disp_line NULL
        frame setTreeDispOptsShells "Shells"
            checkItem setTreeShowTri "Show Triangles" tree_disp_tri NULL
            checkItem setTreeShowQuad "Show Quads" tree_disp_quad NULL
        frame END 
        frame setTreeDispOptsVolumes "Volumes"
            checkItem setTreeShowHexa "Show Hexahedra" tree_disp_hexa NULL
            checkItem setTreeShowTetra "Show Tetrahedra" tree_disp_tetra NULL
            checkItem setTreeShowPrism "Show Prisms" tree_disp_penta NULL
            checkItem setTreeShowPyramid "Show Pyramids" tree_disp_pyra NULL
        frame END
    frame END
dataEntryDialog END

dataEntryDialog setSelectDEZ "Settings - Selection" nosave
    #radioGroup setEditSelect "Select Mode" 1 select_mode 1 NULL
	#radioItem setEditSelFull "Fully Enclosed" "all"
	#radioItem setEditSelPart "Partially Enclosed" "some"
    #radioGroup END
    checkItem setEditAutoPick "Auto Pick Mode" pick_mode NULL
    checkItem setAllowPlaneSel "Allow Plane Selection" ::allow_plane_selection NULL
ifdef AI_ENV_BETA
    checkItem setDisplayMeshSel "Display Mesh Selection" ::display_mesh_selection NULL
endif
    checkItem setAllowPreviewName "Allow Preview Name" ::allow_preview_name NULL
    textEntry setEditAspect "Minimum Aspect Ratio" moving_element_aspect NUM
    checkItem setEditWait "Wait for Edit Confirmation" edit_wait NULL
    textEntry setEditDelay "Cut Delay Threshold" uns_cut_delay_count INT
    textEntry setEditFlood "Flood Select Angle" flood_select_angle INT
dataEntryDialog END

dataEntryDialog setMemoryDEZ "Settings - Memory"
    textEntry setMemList "Max Display List Size (MB)" max_list_size INT
    textEntry setMemTetbin "Max Binary Tetin Size (MB)" max_binary_tetin INT
    textEntry setMemTetin "Max Geometry Memory (MB)" max_cad_map_size INT
    textEntry setMemMesh "Max Mesh Memory (MB)" max_mesh_map_size INT
    textEntry setMemUndo "Max Memory for Undo (MB)" max_undo_memory INT
    checkItem setUndoRedoLog "Enable Undo/Redo logging" undo_logging NULL
    checkItem setEditLargeUndo "Enable Undo/Redo for Large Operations" undo_whole_mesh NULL
dataEntryDialog END

dataEntryDialog setRemoteDEZ "Settings - Remote" nosave
    textEntry setRemHost "Remote Host" remote_host TEXT
    textEntry setRemUser "Remote User" remote_user TEXT
    fileChooser setRemDir "Remote Directory" remote_path FALSE
    fileChooser setRemIcem "Remote ICEM_ACN" remote_acn FALSE
    dialogSpace 1
    radioGroup setRemShell "Remote Shell" 2 remote_sh 1 NULL
	radioItem setRemShellCsh "csh" "csh"
	radioItem setRemShellSh "ksh/sh" "sh"
    radioGroup END
dataEntryDialog END

dataEntryDialog setSpeedDEZ "Settings - Speed" nosave
    checkItem setSpeedGeom "Fast Dynamics - Geometry" geom_fast_dyna NULL
    checkItem setSpeedMesh "Fast Dynamics - Mesh" med_fast_dyna NULL
    textEntry setSpeedmax "Threshold (ms)" tdv_dynamics_speed INT
#    textEntry setSimpLevel "Geometry simplification level (pixels)" geom_simp INT
dataEntryDialog END

dataEntryDialog setWorkbenchInputDEZ "Workbench User Defined Input/Output Parameters" nosave
	frame setWBInputParams "User Defined Input/Output Parameters"
	    greyGroup setWBInputCreate "Create Input Parameter" wb_input_create
	        greyGroupItem setWBInputCreate2 "Input"
                textEntry setWBInputName "Parameter name" wb_input_param_name TEXT
                textEntry setWBInputValue "Parameter value" wb_input_param_value NUM
            greyGroupItem END
        greyGroup END
	    greyGroup setWBOutputCreate "Create Output Parameter" wb_output_create
	        greyGroupItem setWBOutputCreate2 "Output"
                textEntry setWBOutputName "Parameter name" wb_output_param_name TEXT
                textEntry setWBOutputValue "IC Function" wb_output_param_value NUM
            greyGroupItem END
        greyGroup END
	    greyGroup setWBInputDelete "Delete Input/Output Parameter" wb_input_delete
	        greyGroupItem setWBInputDelete2 " "
                dropDownEntry selWBInputDelete3 "Parameter name" wb_inputList wb_input_del_name FALSE
	        greyGroupItem END
        greyGroup END
	frame END
dataEntryDialog END

dataEntryDialog setWorkbenchOutputDEZ "Workbench Output Parameters" nosave
	frame setWBOutputParams "Set Workbench Output Parameters"
	    frame setWBOutputParamsMesh "Mesh"
	    greyGroup setWBOutputMetric1 "Output Quality metrics" wb_output_quality
	        greyGroupItem setWBOutputMetric2 " "
                dropDownEntry selWBOutputMetric3 "Quality metric" wb_qualityList wb_output_metric FALSE
                dialogSpace 1
                multiSelect selWBOutputMetricMS "Mesh types to check" EXCLUSIVE
	                multiSelectRows
	                    "TRI_3"
	                    "TETRA_4"
	                multiSelectRows END
                    multiSelectColumns
	                    "Yes"
	                    "No"
                    multiSelectColumns END
                multiSelect END
	        greyGroupItem END
	        checkItem setWBOutputMetricDelete "Delete all Quality metrics output parameters" wb_output_delete_quality NULL
        greyGroup END
        dialogSpace 1
        greyGroup setWBOutputEleNum1 "Output Number of Elements" wb_output_num_elems
	        greyGroupItem setWBOutputEleNum2 " "
	            frame setWBOutputEleNum "Element types"
                        checkItem setWBOutputEleNumPoint "Number of Points" wb_output_node NULL
                        checkItem setWBOutputEleNumLine "Number of Lines" wb_output_line NULL
                        checkItem setWBOutputEleNumTri "Number of Triangles" wb_output_tri NULL
                        checkItem setWBOutputEleNumQuad "Number of Quads" wb_output_quad NULL
                        checkItem setWBOutputEleNumHexa "Number of Hexahedra" wb_output_hexa NULL
                        checkItem setWBOutputEleNumTetra "Number of Tetrahedra" wb_output_tetra NULL
                        checkItem setWBOutputEleNumPrism "Number of Prisms" wb_output_penta NULL
                        checkItem setWBOutputEleNumPyramid "Number of Pyramids" wb_output_pyra NULL
                frame END
	        greyGroupItem END
	    checkItem setWBOutputEleNumDelete "Delete all Number of Elements output parameters" wb_output_delete_num_elements NULL
        greyGroup END
        
        dialogSpace 1
	    greyGroup setWBOutputCheckMesh1 "Output Check Mesh" wb_output_check_mesh
	        greyGroupItem setWBOutputCheckMesh2 " "
	        frame setWBOutputCheckMesh3 "Check Mesh: Errors"
 			    checkItem setWBOutputCheckDupElems "Duplicate element" wb_output_check_duplicate NULL
 		        checkItem setWBOutputCheckUncFaces "Uncovered faces" wb_output_check_uncovered NULL
 			    checkItem setWBOutputCheckMissFaces "Missing internal faces" wb_output_check_missing NULL
 			    checkItem setWBOutputCheckPeriodic "Periodic problems" wb_output_check_periodic "aie_wb2_check_periodic"
			    checkItem setWBOutputCheckVolOrient "Volume orientations" wb_output_check_volume NULL
			    checkItem setWBOutputCheckSurOrient "Surface orientations" wb_output_check_surface NULL
			    checkItem setWBOutputCheckHangElems "Hanging elements" wb_output_check_hanging NULL
			    checkItem setWBOutputCheckPeneElems "Penetrating elements" wb_output_check_penetrating NULL
			    checkItem setWBOutputCheckDiscElems "Disconnected bar elements" wb_output_check_disconnect NULL
			frame END
            frame setWBOutputCheckMesh4 "Check Mesh: Possible Problems"
 			    checkItem setWBOutputCheckMultiEdges "Multiple edges" wb_output_check_multi_edges NULL
 			    checkItem setWBOutputCheckTriBoxes "Triangle boxes" wb_output_check_tri_boxes NULL
 			    checkItem setWBOutputCheck2single "2 single edges" wb_output_check_2_single NULL
 			    checkItem setWBOutputCheckSingleMulti "Single-multiple edges" wb_output_check_single_multi NULL
 			    checkItem setWBOutputCheckStandAlone "Stand-alone surface mesh" wb_output_check_stand_alone NULL
 			    checkItem setWBOutputCheckSingleEdges "Single edges" wb_output_check_single_edges NULL
			    checkItem setWBOutputCheckDelaunayVio "Delaunay violation" wb_output_check_delaunay_vio NULL
			    checkItem setWBOutputCheckOverlappElems "Overlapping elements" wb_output_check_overlapp_elems NULL
			    checkItem setWBOutputCheckNonManifold "Non-manifold vertices" wb_output_check_non_manifold NULL
 			    checkItem setWBOutputCheckUnconnVerts "Unconnected vertices" wb_output_check_unconn_verts NULL
		    frame END
            greyGroupItem END
	        checkItem setWBOutputCheckMeshDelete "Delete all Check Mesh output parameters" wb_output_delete_check_mesh NULL
        greyGroup END
        frame END

        frame setWBOutputParamsBlocking "Blocking"
	    greyGroup setWBOutputCriterion1 "Output Pre-Mesh quality" wb_output_block_quality
	        greyGroupItem setWBOutputCriterion2 " "
                dropDownEntry selWBOutputCriterion3 "Pre-Mesh criterion" wb_criterionList wb_output_criterion FALSE
	        greyGroupItem END
	        checkItem setWBOutputCriterionDelete "Delete all Pre-Mesh Quality output parameters" wb_output_delete_criterion NULL
        greyGroup END
        dialogSpace 1
        greyGroup setWBOutputBlockNum1 "Output Number of Blocks" wb_output_num_blocks
	        greyGroupItem setWBOutputBlockNum2 " "
	            frame setWBOutputBlockNum "Block types"
	                    checkItem setWBOutputBlockNumAll "Number of All Blocks" wb_output_all NULL
                        checkItem setWBOutputBlockNumMapped "Number of Mapped Blocks" wb_output_mapped NULL
                        checkItem setWBOutputBlockNumFree "Number of Free Blocks" wb_output_free NULL
                        checkItem setWBOutputBlockNumSwept "Number of Swept Blocks" wb_output_swept NULL
                frame END
	        greyGroupItem END
	    checkItem setWBOutputBlockNumDelete "Delete all Number of Blocks output parameters" wb_output_delete_num_blocks NULL
        greyGroup END
        frame END
	frame END
dataEntryDialog END

dataEntryDialog meshReportDEZ "Mesh Quality Report"
	fileChooser fcMeshQualReportName "Mesh report file name" meshQualReportName TRUE "All Files, .*"
    dialogSpace 1
	textEntry teMeshReportTitle "Title"  meshReportTitle TEXT
	textEntry teMeshReportAuth  "Author" meshReportAuth TEXT
	dialogSpace 1
	checkItem checkMeshReportWriteSumm "Write summary" meshReportWriteSumm NULL
	radioGroup checkMeshReportWriteMeshTypes "Mesh types" 1 meshReportMeshTypes 1 NULL
	    radioItem checkMeshReportWrite1 "All" "all"
	    radioItem checkMeshReportWrite2 "Select" "sel"
        multiSelect checkMeshReportMS "Mesh types" EXCLUSIVE
	        multiSelectRows
	            "TRI_3"
	            "TETRA_4"
	        multiSelectRows END
    	    multiSelectColumns
	            "Yes"
	            "No"
	        multiSelectColumns END
        multiSelect END
    radioGroup END
	frame checkMeshReportWriteQualLabel "Quality" 
	    greyGroup checkMeshReportWriteQual "Write quality" meshReportWriteQual
	        greyGroupItem checkMeshReportWriteQualAllText " "
                checkItem checkMeshReportWriteQualAll "All existing quality types" meshReportQualAllTypes NULL
	        greyGroupItem END
        greyGroup END
	frame END
	dialogSpace 1
	checkItem checkMeshReportWriteDiag "Write diagnostics" meshReportWriteDiag NULL	
dataEntryDialog END

dataEntryDialog setProductDEZ "ANSYS ICEM CFD Tools"
    frame setProductTools "Tools" 
        checkItem setProduct1 "Geometry" geom_on_mode NULL
        checkItem setProduct2 "Mesh" mesh_on_mode NULL
        checkItem setProduct4 "Blocking" hexa_on_mode NULL
        checkItem setProduct3 "Edit Mesh" meshedit_on_mode NULL
        checkItem setProduct5 "Mechanical Preprocessing" preprocessing_on_mode NULL
        checkItem setProduct6 "Solver Output" output_on_mode NULL
        checkItem setBetamode "Beta Options" beta_on_mode NULL
    frame END
    radioGroup setGuiStyleSelect "GUI Style" 1 gui_style_on_mode 1 NULL
	    radioItem setGuiStyle1 "Workbench" "wb"
	    radioItem setGuiStyle2 "ICEM CFD" "icem"
    radioGroup END
    dialogSpace 1
dataEntryDialog END

dataEntryDialog setPrismMeshOptsDEZ "Prism Meshing Options"
#    checkItem meshPrismFixtMarch "Fix marching direction" init_dir_from_prev NULL
#    textEntry meshPrismQuality "Min prism quality" min_prism_quality NUM
#    textEntry meshPrismOrtho "Ortho weight" ortho_weight NUM
#    textEntry meshPrismFillet "Fillet ratio" fillet NUM
#    textEntry meshPrismMaxAngle "Max prism angle" max_prism_angle NUM
#    textEntry meshPrismHtOverBase "Max height over base" max_aspect_ratio  NUM
#    textEntry meshPrismHtLimit "Prism height limit factor" prism_height_limit NUM
#    textEntry meshPrismRatioMultiplier "Ratio multiplier" ratio_multiplier NUM
#    frame meshPrismExtraOpts "Extra Options"
#		textEntry meshPrismExtraOptName "Name" prism_extra_name TEXT		
#		textEntry meshPrismExtraOptVal "Value" prism_extra_value NUM	
#    frame END
dataEntryDialog END

dataEntryDialog setQualityInfoDEZ "Settings - Quality" nosave
    columnMultiSelect qualityInfoCMS "Check Quality"
    	cmsColumn "Criteria 1"
	    cmsItem "Quality"	
	    cmsItem "Determinant"
	    cmsItem "Aspect ratio"
	    cmsItem "Mid node"
	    cmsItem "Mid node Angle"	
	    cmsItem "Tetra Special"
	    cmsItem "Max warp"
	    cmsItem "Max warpgls"
	    cmsItem "Skew"
	    cmsItem "Orientation"
	    cmsItem "Max ortho"
	    cmsItem "Max orthogls"
	    cmsItem "Min ortho"
	    cmsItem "Taper"
	    cmsItem "Max dihedral angle"
	    cmsItem "Custom quality"
	    cmsItem "Surface dev"
	    cmsItem "Quadratic dev"
	    cmsItem "Workbench Shape"
	    cmsItem "Orthogonal Quality"
	cmsColumn END
    	cmsColumn "Criteria 2"
	    cmsItem "Max angle"
	    cmsItem "Min angle"
	    cmsItem "Max length"
	    cmsItem "Max side"
	    cmsItem "Min side"
	    cmsItem "Min side (Quad Optimized)"
	    cmsItem "Max ratio"
	    cmsItem "X size"
	    cmsItem "Y size"
	    cmsItem "Z size"
	    cmsItem "Volume"
	    cmsItem "Volume change"
	    cmsItem "Surface area"
	    cmsItem "Distortion"
	    cmsItem "Opp. Face Area Ratio"
	    cmsItem "Opp. Face Parallelism"
	    cmsItem "Ford"
	    cmsItem "Prism thickness"
	    cmsItem "Element stretch"
	    cmsItem "Volume/Area/Length"
	cmsColumn END
    columnMultiSelect END
    frame qualityHistoFm "Histogram Defaults"
        checkItem qualityShowHisto "Show"  histo_show_default NULL
        checkItem qualitySolidHisto "Solid"  histo_solid_default NULL
        checkItem qualityColorHisto "Color by Quality"  histo_color_by_quality_default NULL
    frame END
    dialogSpace 1
    exclusiveGroup qualityEval "Evaluation at" " " 0 DROPDOWN evaluate_diagnostic
	exclusiveGroupItem qualityCorner "Corner nodes"
	exclusiveGroupItem END
	exclusiveGroupItem qualityGauss2 "Gauss 2nd order"
	exclusiveGroupItem END
	exclusiveGroupItem qualityGauss3 "Gauss 3rd order"
	exclusiveGroupItem END
	exclusiveGroupItem qualityGauss4 "Gauss 4th order"
	exclusiveGroupItem END
	exclusiveGroupItem qualityGauss5 "Gauss 5th order"
	exclusiveGroupItem END
	exclusiveGroupItem qualityGauss6 "Gauss 6th order"
	exclusiveGroupItem END
    exclusiveGroup END
dataEntryDialog END

dataEntryDialog setDetailInfoDEZ "Settings - Edge Info" nosave
    checkItem infoEdgeSides "Calculate min/max mesh edge sides" calc_mesh_edge_sides NULL
dataEntryDialog END

dataEntryDialog setSolverDEZ "Solver Setup" nosave
ifndef AI_ENV_ANSYS_SOLVERS
ifdef AI_ENV_CFD
     dialogSpace 1
     dropDownEntry CFDSolver "Output Solver" cfd_solverList cfd_solver FALSE READONLY
endif
endif
    dialogSpace 1
    checkItem setSolveGlobal "Set As Default" solver_set_global FALSE
dataEntryDialog END

dataEntryDialog setSolverSettingsDEZ "Solver Setup Defaults" nosave
ifndef AI_ENV_ANSYS_SOLVERS
ifdef AI_ENV_CFD
    dialogSpace 1
    dropDownEntry CFDSettingsSolver "Output Solver" cfd_solverList cfd_solver FALSE READONLY
endif
endif
   dialogSpace 1
   dropDownEntry FEASettingsSolver "Common\nStructural Solver" fea_solverList fea_solver FALSE READONLY
dataEntryDialog END

dataEntryDialog shellDiagnosticsDEZ "Shell Diagnostics" nosave
    checkItem shellDiagnosticsSingle "Single edges" diagSingle NULL
    checkItem shellDiagnosticsMultiple "Multiple edges" diagMulti NULL
    checkItem shellDiagnosticsOver "Overlapping elements" diagOver NULL
    checkItem shellDiagnosticsNonMani "Non-mainfold elements" diagNonMani NULL
    checkItem shellDiagnosticsTriangle "Triangle boxes" diagTriangle NULL
    dialogSpace 1
    dropDownEntry shellDiagnosticsShow "Show" showList show_type FALSE
    dialogSpace 1
    checkItem shellDiagnosticsProblems "Show only problems" diagProblem NULL
dataEntryDialog END



