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

dataEntryDialog createVidDEZ "Virtual Design" 
	exclusiveGroup VidEXG " " " " 5 ICON


		exclusiveGroupItem theDesign1 "ViD file operations" G_ViD_DefineDesign$icon_size2.gif

			exclusiveGroup VidInitEXG "ViDesign file operations" "vid00" 5 ICON

				exclusiveGroupItem VidLoad1_0 "New Virtual Design" G_ViD_New$icon_size2.gif

					textEntry paramName1_0 "ViDesign Name" the_database TEXT
					checkItem ViCreateCk "Create design on any updates" ViCreateOnAnyFlag NULL
					checkItem createVecTryShowB "Display if defined" createVecTryShow NULL
					radioGroup ViShowPntRG "ViPoints show" 3 vid_show_points_how 0 vid_pts_show
						radioItem ViShowRG.0 All all
						radioItem ViShowRG.1 Movable movable
						radioItem ViShowRG.2 None none
					radioGroup END
				exclusiveGroupItem END #1

#				exclusiveGroupItem VidLoad1_1 "Select" ZZZ_Construc24.gif

#					textEntry paramName1_1 "Design Name" the_database TEXT

#				exclusiveGroupItem END #1

				exclusiveGroupItem VidLoad1_2 "Parametrize existing geometry" G_ViD_Convert$icon_size2.gif

         	entityChooser EZConvertPick2 "Select topo point" EZList POINT 1 point "Topology point"

			exclusiveGroup EZConvertMethod "Create Parameters" " " 1 DROPDOWN

			exclusiveGroupItem  EZConvertMethodPar "With parameters"

            	textEntry EZConvertMethodPar1 "Prefix for Param" new_param_prefix TEXT
  			exclusiveGroup vidConvertGetABC " " "Use Increment (A,B,C) from ..." 1 RADIO

    	    	exclusiveGroupItem vidConvertMetRefP "Reference point"

        		entityChooser EZConvertRefP "Reference point" EZRefP POINT 1 point "Reference point"

				exclusiveGroupItem END

				exclusiveGroupItem vidConvertMetConn "Connected point"

				exclusiveGroupItem END

			exclusiveGroup END 				
 
#				checkItem EZConvertUseCk "Use current" EZConvertUseFlag NULL

				checkItem EZConvertCk "Clean points" EZConvertCleanFlag NULL
				checkItem EZConvertKeepCk "Keep ViD items" EZConvertKeepFlag NULL

			exclusiveGroupItem END

			exclusiveGroupItem  EZConvertMethodPnt "With points"						 			 
			exclusiveGroupItem END
			exclusiveGroup END
				exclusiveGroupItem END #1

				exclusiveGroupItem VidLoad1_3 "Load Design from File" G_ViD_Open$icon_size2.gif
					fileChooser VidCFile "File" ::file_name(vid_loaded) FALSE "ViD File, .vid, All Files, .*"
				exclusiveGroupItem END #1
				exclusiveGroupItem VidLoad1_4 "Save Design File" G_ViD_Save$icon_size2.gif

					fileChooser VidCFile4 "File" ::file_name(vid_loaded) TRUE "ViD File, .vid, All Files, .*"

				exclusiveGroupItem END #1

				exclusiveGroupItem VidLoad1_5 "Delete Current Design" G_ViD_Delete$icon_size2.gif
				exclusiveGroupItem END #1
			exclusiveGroup END #1
		exclusiveGroupItem END



		exclusiveGroupItem theDesign2 "Create Virtual Entity" G_ViD_CreateVEnts$icon_size2.gif

			exclusiveGroup VidEXG2 "Create new entity" "vid01" 5 ICON

				exclusiveGroupItem VidLoad2_0 "ViPoint" G_ViD_ViPoint$icon_size2.gif

				textEntry paramName2_0 "ViPoint name:" vec_name TEXT
#         		entityChooser crVecSelP "Select" vec_name POINTORXYZ 1 point 


				exclusiveGroup createVecMethod "Method" " " 1 DROPDOWN
					exclusiveGroupItem  createVecMedEGI "From Med points"
         				entityChooser createVecFromMedP "From Med" list_med_pts POINT ANY
					exclusiveGroupItem END	
					exclusiveGroupItem  createVec3Expr "3 expr."
            			textEntry createVec3ExprX "X expr." Vec3X TEXT
            			textEntry createVec3ExprY "Y expr." Vec3Y TEXT
            			textEntry createVec3ExprZ "Z expr." Vec3Z TEXT
					exclusiveGroupItem END
					exclusiveGroupItem  createVecBase3Expr "Base + 3 expr."
         				entityChooser createVecBaseP "Base point" EZRefP POINTORXYZ 1 point "base point"
            			textEntry createVecB3ExprX "DX expr." VecB3X TEXT
            			textEntry createVecB3ExprY "DY expr." VecB3Y TEXT
            			textEntry createVecB3ExprZ "DZ expr." VecB3Z TEXT
					exclusiveGroupItem END
					exclusiveGroupItem  createVecVecExprEGI "ViPoint expr."
            			textEntry createVecVecExpr "ViPoint expr." VecExpr TEXT
					exclusiveGroupItem END
					exclusiveGroupItem  createVecScrEGI "Screen"
         				entityChooser createVecScrP Location vec_screen POINTORXYZ 1
					exclusiveGroupItem END											
				exclusiveGroup END	
				exclusiveGroupItem END #2

				exclusiveGroupItem VidLoad2_1 "ViCurve" G_ViD_ViCurve$icon_size2.gif
				dropDownEntry createCurvePart "Part" PartList part_name FALSE
				textEntry paramName2_1 "ViCurve name:" curve_name TEXT
				exclusiveGroup createCrvMethod "Method" " " 1 DROPDOWN
					exclusiveGroupItem  createCrvEGI "Line"
         				entityChooser createCrvLineEC "ViPoints" CrvLineList POINTORXYZ 2 image.vidpoint "ViPoints"
					exclusiveGroupItem END
					exclusiveGroupItem  vidVaArcEGI "Arc by Angle"
         				entityChooser vidVaArcEC "End points" CrvLineList POINTORXYZ 2 image.vidpoint "ViPoints"
						exclusiveGroup vidPlaneEG " " "Direction" 3 RADIO
           					exclusiveGroupItem vidPlaneX "X"
           					exclusiveGroupItem END
           					exclusiveGroupItem vidPlaneY "Y"
           					exclusiveGroupItem END
           					exclusiveGroupItem vidPlaneZ "Z"
           					exclusiveGroupItem END
						exclusiveGroup END	

#         				entityChooser vidVaArcEC "End points" CrvLineList POINTORXYZ 2 image.vidpoint "ViPoints"
#						textEntry vidVaArc_1 "Direction" va_arc_dir TEXT
						textEntry vidVaArc_2 "Angle" va_arc_angle TEXT												
					exclusiveGroupItem END
					exclusiveGroupItem  vidCrvEGI "Curve from ViPoints"
         				entityChooser vidCrvEC "ViPoints" crv_n_pts POINTORXYZ ANY image.vidpoint "ViPoints"																	
					exclusiveGroupItem END
				exclusiveGroup END	
				exclusiveGroupItem END #2

				exclusiveGroupItem VidLoad2_2 "ViSurface" G_ViD_ViSurf$icon_size2.gif

				dropDownEntry createSurfPart "Part" PartList part_name FALSE

				textEntry paramName2_2 "ViSurf name:" surface_name TEXT

				exclusiveGroup createSrfMethod "Method" " " 1 DROPDOWN

					exclusiveGroupItem  createSrfEGI "From ViCurves"

         				entityChooser createSrfLineEC "ViCurves" SrfLineList POINTORXYZ ANY tag.curve.virtual "ViCurve"

					exclusiveGroupItem END

				exclusiveGroup END	

				exclusiveGroupItem END

				exclusiveGroupItem VidLoad2_3 "ViObject Label" G_ViD_ViObject$icon_size2.gif
					textEntry paramName2_3 "ViObject name:" object_name TEXT
         			entityChooser createObjEC "ViSurfs" ObjSrfList POINTORXYZ ANY tag.surface.virtual "ViSurface"
				exclusiveGroupItem END #2

				exclusiveGroupItem VidLoad2_4 "ViParameters from onscreen relations" G_ViD_CreateParam$icon_size2.gif
					textEntry paramName2_4 "ViParameter name" control_param TEXT
					checkItem createCntPar "Set as distance" createCntSetPar NULL
         			entityChooser createCntrlLineEC "ViPoints" CrvLineList POINTORXYZ 2 image.vidpoint "ViPoint"
				exclusiveGroupItem END #2

			exclusiveGroup END #2

		exclusiveGroupItem END
#Modify
		exclusiveGroupItem theDesign3 "Modify entity definition" G_ViD_Modify$icon_size2.gif

			exclusiveGroup VidEXG3 "Modify Entity" "dd" 5 ICON

				exclusiveGroupItem VidLoad3_0 "ViPoint" G_ViD_ModViPoint$icon_size2.gif
					entityChooser paramCh3_0 "ViPoint" pickParmEnt POINTORXYZ 1 image.vidpoint "ViPoint (modify)"
					textEntry paramName3_0 "Definition" vector_def TEXT
					checkItem parPntList "List all ViPoint definitions" ::va_set(show_vid_vector) "aie_vid_show_details vector"
				exclusiveGroup vidModVecMethod "Method" " " 1 DROPDOWN
					exclusiveGroupItem vidModVec_1 "V+vector(A,B,C)"
						entityChooser vidModVecCh_1 "ViPoint" pickModViP POINTORXYZ 1 image.vidpoint "base ViPoint"
  						exclusiveGroup vidModVecMet_1 " " "Method" 1 RADIO
    	    			exclusiveGroupItem vidModVecViP "A,B,C from ViPoint"
# too specific for 10.0. Using the same pickParmEnt instead of arbitrary vec_to_vip
#        				entityChooser vidModVecViPPick "ViPoint" vec_to_vip  POINTORXYZ 1 image.vidpoint "ViPoint"
						checkItem vidModParAndGUI "Add GUI control" addGUIFlag NULL
						exclusiveGroupItem END
					exclusiveGroupItem vidModVecExp "Define A,B,C"
            			textEntry modVec3ExprX "X expr (A)" Vec3X TEXT
            			textEntry modVec3ExprY "Y expr (B)" Vec3Y TEXT
            			textEntry modVec3ExprZ "Z expr (C)" Vec3Z TEXT
					exclusiveGroupItem END
						exclusiveGroup END 
					exclusiveGroupItem END
					exclusiveGroupItem vidModVec_2 "V1+(V2-V1)*A"
						entityChooser vidModVecCh_2 "2 ViPoints" pickParm2Pts POINTORXYZ 2 image.vidpoint "ViPoint"
            			textEntry modVecRatio "Parameter" VecModPar TEXT
					exclusiveGroupItem END
					exclusiveGroupItem vidModVec_0 "New definition"
						textButton VidVecExam "Show examples" "vid_info ViPoint"
					exclusiveGroupItem END
					exclusiveGroupItem vidModVec_3 "Screen Move ViPoint"
         				entityChooser EZConvertPick3 "Select & Move" pickScreenMod POINTORXYZ ANY image.vidpoint "ViPoint"
					exclusiveGroupItem END

					exclusiveGroupItem vidModVec_4 "Screen Increment ViPoint"

         				entityChooser EZConvertPick4 "Select" pickScreenIncr POINT ANY

            			textEntry vidModVecDX "DX expr." ModVecDX TEXT

            			textEntry vidModVecDY "DY expr." ModVecDY TEXT

            			textEntry vidModVecDZ "DZ expr." ModVecDZ TEXT

					exclusiveGroupItem END
				exclusiveGroup END #2

				exclusiveGroupItem END #3

				exclusiveGroupItem VidLoad3_1 "ViCurve" G_ViD_ModViCurve$icon_size2.gif

					entityChooser paramCh3_1 "ViCurve" pickVidCrv POINTORXYZ 1 tag.curve.virtual "ViCurve"
					textEntry paramName3_1 "Definition" curve_def TEXT
					checkItem parCrvList "List all ViCurve definitions" ::va_set(show_vid_curve) "aie_vid_show_details curve"
				exclusiveGroupItem END #3

				exclusiveGroupItem VidLoad3_2 "ViSurface" G_ViD_ModViSurf$icon_size2.gif

					entityChooser paramCh3_2 "ViSurface" pickVidSrf POINTORXYZ 1 tag.surface.virtual "ViSurface"
					textEntry paramName3_2 "Definition" surface_def TEXT
					checkItem parSrfList "List all ViSurface definitions" ::va_set(show_vid_surface) "aie_vid_show_details surface"

				exclusiveGroupItem END #3

				exclusiveGroupItem VidLoad3_3 "ViObject" G_ViD_ModViObject$icon_size2.gif

					entityChooser paramCh3_3 "ViObject" pickVidObj POINTORXYZ 1 tag.surface.virtual "ViSurface"
					textEntry paramName3_3 "Definition" object_def TEXT
					checkItem parObjList "List all ViObject definitions" ::va_set(show_vid_object) "aie_vid_show_details object"

				exclusiveGroupItem END #3

				exclusiveGroupItem VidLoad3_4 "ViParameter" G_ViD_ModParam$icon_size2.gif
					entityChooser paramCh3_4 "ViParam" pickVidCnt POINTORXYZ 1 "image.arrow no_confirm" "control"
					textEntry paramName3_4 "Definition" control_def TEXT
					checkItem parGUIList "List all ViParam definitions" ::va_set(show_vid_GUI) "aie_vid_show_details GUI"

				exclusiveGroupItem END #3

			exclusiveGroup END #3

		exclusiveGroupItem END

		exclusiveGroupItem theDesign4 "ReBuild from ViDesign" G_ViD_Regen$icon_size2.gif

		exclusiveGroupItem END

	exclusiveGroup END
dataEntryDialog END

