# $Revision: 573945 $ on $Date: 2012-07-10 05:27:21 -0400 (Tue, 10 Jul 2012) $
# The above revision line needs to be the first line for ttkrf files
# Copyright (c) 2006 Ansys Inc

dataEntryDialog createPartDEZ "Create Part" 
  dropDownEntry createPartName "Part" PartList name FALSE

  exclusiveGroup createPartSelect "Create Part" "Method" 6 ICON
    exclusiveGroupItem createPartSel "Create Part by Selection" CP_CreateSelect$icon_size2.gif
	frame createPartSelFrame "Create Part by Selection"
	entityChooser createPartPick "Entities" entityList ANY_ENTITY ANY allow_long_list
	checkItem createPartAdjust1 "Adjust Geometry Names" adjust_geo_names NULL

#	checkItem createPartPickGeo0d "Points / nodes" select_geo_0d NULL
#	checkItem createPartPickGeo1d "Curves / 1d elems" select_geo_1d NULL
#	checkItem createPartPickGeo2d "Surfaces / 2d elems" select_geo_2d NULL
#	checkItem createPartPickGeo3d "Volumes / 3d elems" select_geo_3d NULL
	frame END

    exclusiveGroupItem END
    exclusiveGroupItem createPartPos "Create Part near Position" CP_CreateXYZ$icon_size2.gif
	frame createPartPosFrame "Create Part near Position"
	textLabel createPartLocOnlyMesh "(Only mesh selected)"
	textEntry createPartLocation "Location" location TEXT

	checkItem createPartLocGeo0d "Nodes" select_geo_0d NULL
	checkItem createPartLocGeo1d "1d elems" select_geo_1d NULL
	checkItem createPartLocGeo2d "2d elems" select_geo_2d NULL
	checkItem createPartLocGeo3d "3d elems" select_geo_3d NULL
	frame END
    exclusiveGroupItem END
    exclusiveGroupItem createPartBox "Create Part in Region" CP_CreateRegion$icon_size2.gif
	frame createPartBoxFrame "Create Part in Region"
	textLabel createPartBoxOnlyMesh "(Only mesh selected)"
	textEntry createPartBoxminX "Min X" minx TEXT	
	textEntry createPartBoxminY "Min Y" miny TEXT	
	textEntry createPartBoxminZ "Min Z" minz TEXT	
	textEntry createPartBoxmaxX "Max X" maxx TEXT	
	textEntry createPartBoxmaxY "Max Y" maxy TEXT	
	textEntry createPartBoxmaxZ "Max Z" maxz TEXT	
	checkItem  createPartBoxMethod "Include partially enclosed" BoxFlag NULL

	checkItem createPartBoxGeo0d "Nodes" select_geo_0d NULL
	checkItem createPartBoxGeo1d "1d elems" select_geo_1d NULL
	checkItem createPartBoxGeo2d "2d elems" select_geo_2d NULL
	checkItem createPartBoxGeo3d "3d elems" select_geo_3d NULL
	frame END
    exclusiveGroupItem END
    exclusiveGroupItem createPartBlk "Blocking Material, Create Part" CP_BlockSelect$icon_size2.gif
	frame createPartBlkFrame "Blocking Material, Create Part with Blocks"
	    entityChooser createPartBlkPick "Blocks" blocks HEX_BLOCK ANY NULL "Select blocks to create part"
	frame END
    exclusiveGroupItem END
  exclusiveGroup END
dataEntryDialog END


dataEntryDialog modifyPartDEZ "Add to Part" nosave
  textEntry modifyPartName "Name" name READONLY
  exclusiveGroup modifyPartSelect "Add to Part" "Method" 6 ICON
    exclusiveGroupItem modifyPartSel "Add to Part by Selection" CP_AddSelect$icon_size2.gif
    frame modifyPartSelFrame "Add to Part by Selection"
	entityChooser modifyPartPick "Entities" entityList ANY_ENTITY ANY allow_long_list
	checkItem createPartAdjust2 "Adjust Geometry Names" adjust_geo_names NULL
#	checkItem modifyPartPickGeo0d "Points / nodes" select_geo_0d NULL
#	checkItem modifyPartPickGeo1d "Curves / 1d elems" select_geo_1d NULL
#	checkItem modifyPartPickGeo2d "Surfaces / 2d elems" select_geo_2d NULL
#	checkItem modifyPartPickGeo3d "Volumes / 3d elems" select_geo_3d NULL
    frame END
    exclusiveGroupItem END
#    exclusiveGroupItem modifyPartPos "Add to Part near Position" PartXYZ.gif
#	textEntry modifyPartLocation "Location" number TEXT
#    exclusiveGroupItem END
    exclusiveGroupItem modifyPartBox "Add to Part by Region" CP_AddRegion$icon_size2.gif
    frame modifyPartBoxFrame "Add to Part by Region"
	textLabel modifyPartBoxOnlyMesh "(Only mesh selected)"
	textEntry modifyPartBoxminX "Min X" minx TEXT	
	textEntry modifyPartBoxminY "Min Y" miny TEXT	
	textEntry modifyPartBoxminZ "Min Z" minz TEXT	
	textEntry modifyPartBoxmaxX "Max X" maxx TEXT	
	textEntry modifyPartBoxmaxY "Max Y" maxy TEXT	
	textEntry modifyPartBoxmaxZ "Max Z" maxz TEXT	
	checkItem  modifyPartBoxMethod "Include partially enclosed" BoxFlag NULL
	checkItem modifyPartBox0d "Nodes" select_geo_0d NULL
	checkItem modifyPartBox1d "1d elems" select_geo_1d NULL
	checkItem modifyPartBox2d "2d elems" select_geo_2d NULL
	checkItem modifyPartBox3d "3d elems" select_geo_3d NULL
    frame END
    exclusiveGroupItem END
    exclusiveGroupItem modifyPartBlk "Blocking Material, Add Blocks to Part" CP_BlockAddSelect$icon_size2.gif
	frame modifyPartBlkFrame "Blocking Material, Add Blocks to Part"
	    entityChooser modifyPartBlkPick "Blocks" blocks HEX_BLOCK ANY NULL "Select blocks to add to part"
	frame END
    exclusiveGroupItem END
  exclusiveGroup END
dataEntryDialog END
# 

# Rename entities (see popup_menus.ttkrf aie_rename_geometry <type>)

dataEntryDialog rename_geometryDEZ "Rename Geometry"

#	exclusiveGroupItem rename_geometryScrn "Rename Geometry" pnt_screen35.gif

#		checkItem rename_geometryChk "New Name(s)" rename_geometryChk NULL
		textEntry  rename_geometryName "New Name" rename_geometryName TEXT

	    exclusiveGroup rename_geometryMethod "Rename" "Type" 5 DROPDOWN rename_geometryType
		exclusiveGroupItem  rename_geometryMethod1 "POINT"
		entityChooser rename_geometryPointWdgt "POINT" rename_geometryList  POINT ANY
 		exclusiveGroupItem END
		exclusiveGroupItem  rename_geometryMethod2 "CURVE"
		entityChooser rename_geometryCurvePick "CURVE" rename_geometryList  CURVE ANY
 		exclusiveGroupItem END
		exclusiveGroupItem  rename_geometryMethod3 "SURFACE"
		entityChooser rename_geometrySurfacePick "SURFACE" rename_geometryList  SURF ANY
 		exclusiveGroupItem END
		exclusiveGroupItem  rename_geometryMethod4 "DENSITY"
		entityChooser rename_geometryDensityPick "DENSITY" rename_geometryList  DENSITY ANY
 		exclusiveGroupItem END
		exclusiveGroupItem  rename_geometryMethod5 "ENTITY"
		entityChooser rename_geometryEntityPick "ENTITY" rename_geometryList  ANY_ENTITY ANY
 		exclusiveGroupItem END
  exclusiveGroup END

dataEntryDialog END

dataEntryDialog createAssemDEZ "Create Assembly" 
  textEntry createAssemName "Assembly name" assembly TEXT

  exclusiveGroup createAssemSelect "Create Assembly" "Method" 6 ICON
    exclusiveGroupItem createAssemSel "Create Assembly by Part Selection" CP_CreateSelect$icon_size2.gif
	frame createAssemSelFrame "Create Assembly by Part Selection"
	entityChooser createAssemPartPick "Parts" parts PART ANY
	frame END
    exclusiveGroupItem END
#    exclusiveGroupItem createAssemReg "Create Assembly within Region" CP_CreateRegion$icon_size2.gif
#	frame createAssRegFrame "Create Assembly by Geometry Region"
#	textEntry createAssemRegMinX "Min X" minx TEXT
#	textEntry createAssemRegMinY "Min Y" miny TEXT
#	textEntry createAssemRegMinZ "Min Z" minz TEXT
#	textEntry createAssemRegMaxX "Max X" maxx TEXT
#	textEntry createAssemRegMaxY "Max Y" maxy TEXT
#	textEntry createAssemRegMaxZ "Max Z" maxz TEXT
#
#	checkItem createAssemEnclosed "Partially enclosed" enclosed NULL
#	frame END
#    exclusiveGroupItem END
    exclusiveGroupItem createAssemWC "Create Assembly by Wildcard" CP_WILD$icon_size2.gif
	frame createAssemWCFrame "Create Assembly by Wildcard"
	    textEntry createAssemWCard "Wildcard text to search" wildcard TEXT
	frame END
    exclusiveGroupItem END
  exclusiveGroup END
dataEntryDialog END

dataEntryDialog createSubAssemDEZ "Create Sub-Assembly"
    textEntry createSubAssemName "Sub-Assembly name" assembly TEXT
    exclusiveGroup createSubAssemSelect "Create Sub-Assembly" "Method" 6 ICON
        exclusiveGroupItem createSubAssemSel "Create Sub-Assembly by Part Selection" CP_CreateSelect$icon_size2.gif
	        frame createSubAssemSelFrame "Create Sub-Assembly by Part Selection"
	            entityChooser createSubAssemPartPick "Parts" parts PART ANY
	        frame END
        exclusiveGroupItem END
    exclusiveGroup END
dataEntryDialog END

