# $Revision: 650821 $ on $Date: 2013-06-12 07:05:34 -0400 (Wed, 12 Jun 2013) $
# The above revision line needs to be the first line for ttkrf files
# Copyright (c) 2006 Ansys Inc

# AI*Environment Prototype GUI Layout 2
# Constraints DEZ File
#
# E. Miller
# 5/21/02
#
#---------------------------------------------------------------------------------------------------
dataEntryDialog createContactDEZ "Define Surface to Surface Contact" nosave 
    exclusiveGroup contactMethod "Define Contact" "Method" 2 ICON
	exclusiveGroupItem contactM1 "Automatic Detection" C_ContactTol$icon_size2.gif
	    textEntry ContactProximityDistance "Contact Proximity Factor" pfac NUM
        entityChooser ContactParts "Parts" contactpartlist PART ANY
        checkItem ContactOneGroup "Create one contact group for all parts" onegroup NULL
	exclusiveGroupItem END

	exclusiveGroupItem contactM2 "Manual Definition" C_Contact$icon_size2.gif
	    textEntry ContactName "Name" name TEXT
	    entityChooser createContact "Contact Surfaces" contactList 2D_EL ANY
	    entityChooser createTarget "Target Surfaces" targetList 2D_EL ANY
	exclusiveGroupItem END

#	frame TargetLabel "Define Contact Surface Elements"
#		entityChooser createTarget "Pick nodes" targetList NODE ANY
#		entityChooser createContact "Pick surfaces" contactList SURF_2D_EL ANY
#	frame END
#	frame ContactLabel "Define Target Surface Elements"
#		entityChooser createContact "Pick nodes" contactList NODE ANY
#    exclusiveGroup createTargetGG "Define Target Surface Elements" "Method" 1 RADIO
#        exclusiveGroupItem autoDetect "Auto Detect"
#            textEntry ContactProximityDistance "Contact Proximity Factor" pfac NUM
#        exclusiveGroupItem END
#        exclusiveGroupItem manualDetect "User Defined"
#	        entityChooser createTarget "Pick surfaces" targetList SURF_2D_EL ANY
#        exclusiveGroupItem END
#    exclusiveGroup END
#	frame END
	exclusiveGroup END
	textEntry ContactFrictionStatic "Static Coefficient of Friction" mue NUM
        dialogSpace 1
	checkItem ContactSlaveFaces "Use faces of underlying elements for contact(slave) surface" sfaces FALSE
	checkItem ContactMasterFaces "Use faces of underlying elements for target(master) surface" mfaces FALSE
        dialogSpace 1
	exclusiveGroup setupContactEXG "LS-Dyna Contact Options" "Basic Type" 1 DROPDOWN ContactType
		textEntry ContactFrictionDynamic "Dynamic Coefficient of Friction" mued NUM
   		exclusiveGroupItem setupContact1 "AUTOMATIC"
			dropDownEntry ContactAuto "Automatic Contact Option" autoList contact_auto FALSE
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact2 "CONSTRAINT_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact3 "CONSTRAINT_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact5 "ERODING_NODES_TO_SURFACE"
		exclusiveGroupItem END
#   		exclusiveGroupItem setupContact6 "ERODING_SINGLE_SURFACE"
#		exclusiveGroupItem END
   		exclusiveGroupItem setupContact7 "ERODING_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact8 "FORCE_TRANSDUCER_CONTSRAINT"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact9 "FORCE_TRANSDUCER_PENALTY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact10 "FORMING_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact11 "FORMING_ONE_WAY_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact12 "FORMING_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact13 "NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact14 "NODES_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact15 "ONE_WAY_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact16 "ONE_WAY_SURFACE_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact17 "RIGID_NODES_TO_RIGID_BODY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact18 "RIGID_BODY_ONE_WAY_TO_RIGID_BODY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact19 "RIGID_BODY_TWO_WAY_TO_RIGID_BODY"
		exclusiveGroupItem END
#   		exclusiveGroupItem setupContact21 "SINGLE_SURFACE"
#		exclusiveGroupItem END
   		exclusiveGroupItem setupContact22 "SLIDING_ONLY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact23 "SLIDING_ONLY_PENALTY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact26 "SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact27 "SURFACE_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact28 "TIEBREAK"
			dropDownEntry ContactTie "Tiebreak Contact Option" tieList contact_tie FALSE
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact29 "TIED_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact31 "TIED_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupContact32 "TIED_SURFACE_TO_SURFACE_FAILURE"
		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END

dataEntryDialog createExistingContactDEZ "Modify Surface-to-Surface Contact Parameters" nosave 
	textEntry createExistingContactName "Name" name READONLY
#	textEntry createExistingContactFromPart "Contact Parts" contactPartNames READONLY
#	textEntry createExistingContactToPart "Target Parts" targetPartNames READONLY
	textEntry createExistingContactFrictionStatic "Static Coefficient of Friction" mue NUM
	checkItem ExistingContactSlaveFaces "Use faces of underlying elements for contact(slave) surface" sfaces FALSE
	checkItem ExistingContactMasterFaces "Use faces of underlying elements for target(master) surface" mfaces FALSE
	exclusiveGroup setupExistingContactEXG "LS-Dyna Contact Options" "Basic Type" 1 DROPDOWN ContactType
		textEntry createExistingContactFrictionDynamic "Dynamic Coefficient of Friction" mued NUM
   		exclusiveGroupItem setupExistingContact1 "AUTOMATIC"
			dropDownEntry ExistingContactAuto "Automatic Contact Option" autoList contact_auto FALSE
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact2 "CONSTRAINT_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact3 "CONSTRAINT_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact5 "ERODING_NODES_TO_SURFACE"
		exclusiveGroupItem END
#   		exclusiveGroupItem setupExistingContact6 "ERODING_SINGLE_SURFACE"
#		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact7 "ERODING_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact8 "FORCE_TRANSDUCER_CONTSRAINT"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact9 "FORCE_TRANSDUCER_PENALTY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact10 "FORMING_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact11 "FORMING_ONE_WAY_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact12 "FORMING_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact13 "NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact14 "NODES_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact15 "ONE_WAY_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact16 "ONE_WAY_SURFACE_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact17 "RIGID_NODES_TO_RIGID_BODY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact18 "RIGID_BODY_ONE_WAY_TO_RIGID_BODY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact19 "RIGID_BODY_TWO_WAY_TO_RIGID_BODY"
		exclusiveGroupItem END
#   		exclusiveGroupItem setupExistingContact21 "SINGLE_SURFACE"
#		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact22 "SLIDING_ONLY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact23 "SLIDING_ONLY_PENALTY"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact26 "SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact27 "SURFACE_TO_SURFACE_INTERFERENCE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact28 "TIEBREAK"
			dropDownEntry ExistingContactTie "Tiebreak Contact Option" tieList contact_tie FALSE
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact29 "TIED_NODES_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact31 "TIED_SURFACE_TO_SURFACE"
		exclusiveGroupItem END
   		exclusiveGroupItem setupExistingContact32 "TIED_SURFACE_TO_SURFACE_FAILURE"
		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END
#---------------------------------------------------------------------------------------------------
# Wizard for Contacts later...
#	wizard ContactManager "Contact Manager"
##		textEntry note1 "A contact pair consists of a target surface and a contact surface." note1 READONLY
#		wizardPage ContactManagerTarget "Define Target Surface(Deformable)"
##			wizardColumn Target1
#			greyGroup TargetPick "Selection by"
#				greyGroupItem TargetPick1 "Nodes"
#					entityChooser createTarget "Pick nodes" objList NODE ANY
#				greyGroupItem END
#				greyGroupItem TargetPick2 "Part"
##					dropDownEntry TargetComponent "Select part" TargetList target_component FALSE
#				greyGroupItem END
#			greyGroup END
#			wizardColumn END
#		wizardPage END
#		wizardPage ContactManagerContact "Define Contact Surface"
#			wizardColumn Contact1
#			greyGroup ContactPick "Selection by"
#				greyGroupItem ContactPick1 "Nodes"
#					entityChooser createContact "Pick nodes" objList NODE ANY
#				greyGroupItem END
#				greyGroupItem ContactPick2 "Part"
##					dropDownEntry ContactComponent "Select part" ContactList contact_component FALSE
#				greyGroupItem END
#			greyGroup END
##			wizardColumn END
#		wizardPage END
#	wizard END
#---------------------------------------------------------------------------------------------------
dataEntryDialog createSingleContactDEZ "Define Single Surface Contact" nosave 
    textEntry SingleContactName "Name" name TEXT
    entityChooser createSingleContact "Contact Surfaces" singleContactList ELEM ANY
		dialogSpace 1
	textEntry SingleContactFrictionStatic "Static Coefficient of Friction" mue NUM
	textEntry SingleContactFrictionDynamic "Dynamic Coefficient of Friction" mued NUM
	exclusiveGroup setupSingleContactEXG "LS-Dyna Single Contact Option" "Type" 1 DROPDOWN ContactType
		exclusiveGroupItem setupSingleContact1_5 "AUTOMATIC_SINGLE_SURFACE"
		exclusiveGroupItem END
		exclusiveGroupItem setupSingleContact21 "SINGLE_SURFACE"
		exclusiveGroupItem END
		exclusiveGroupItem setupSingleContact6 "ERODING_SINGLE_SURFACE"
		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END

dataEntryDialog createExistingSingleContactDEZ "Modify Single Surface Contact" nosave 
    textEntry ExistingSingleContactName "Name" name READONLY
		dialogSpace 1
	textEntry ExistingSingleContactFrictionStatic "Static Coefficient of Friction" mue NUM
	textEntry ExistingSingleContactFrictionDynamic "Dynamic Coefficient of Friction" mued NUM
	exclusiveGroup setupExistingSingleContactEXG "LS-Dyna Single Contact Option" "Type" 1 DROPDOWN ContactType
		exclusiveGroupItem setupExistingSingleContact1_5 "AUTOMATIC_SINGLE_SURFACE"
		exclusiveGroupItem END
		exclusiveGroupItem setupExistingSingleContact21 "SINGLE_SURFACE"
		exclusiveGroupItem END
		exclusiveGroupItem setupExistingSingleContact6 "ERODING_SINGLE_SURFACE"
		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END
#---------------------------------------------------------------------------------------------------
dataEntryDialog createVelocityDEZ "Define Initial Velocity" nosave 
	textEntry createVelocityName "Name" name TEXT
  	textEntry createVelocityNodeSetId "Node Set ID" lsdyna_nsid INT
	entityChooser createPointVelPick "Points" objList POINT_0D_EL ANY
        dialogSpace 1
	frame DirectionVelFR "Directional Velocity"
  	  textEntry VelocityVx "X" vx NUM
	  textEntry VelocityVy "Y" vy NUM
	  textEntry VelocityVz "Z" vz NUM
	frame END
        dialogSpace 1
	frame RotationalVelFR "Rotational Velocity "
	  textEntry VelocityVxr "X" vxr NUM
	  textEntry VelocityVyr "Y" vyr NUM
	  textEntry VelocityVzr "Z" vzr NUM
	frame END
dataEntryDialog END

dataEntryDialog createExistingVelocityDEZ "Modify Initial Velocity Parameters" nosave 
	textEntry createExistingVelocityName "Name" name READONLY
  	textEntry createExistingVelocityNodeSetId "Node Set ID" lsdyna_nsid INT
        dialogSpace 1
	frame ExistingDirectionVelFR "Directional Velocity"
	  textEntry ExistingVelocityVx "X" vx NUM
  	  textEntry ExistingVelocityVy "Y" vy NUM
	  textEntry ExistingVelocityVz "Z" vz NUM
	frame END
        dialogSpace 1
	frame ExistingRotationalVelFR "Rotational Velocity "
	  textEntry ExistingVelocityVxr "X" vxr NUM
	  textEntry ExistingVelocityVyr "Y" vyr NUM
	  textEntry ExistingVelocityVzr "Z" vzr NUM
	frame END
dataEntryDialog END
#---------------------------------------------------------------------------------------------------
dataEntryDialog createRigidwallDEZ "Define Planar Rigid Wall" nosave 
	textEntry createRigidwallName "Name" name TEXT
  	textEntry createRigidwallNodeSetId "Node Set ID" lsdyna_nsid INT
#        entityChooser createSurfWallPick "Surfaces" objList SURF_2D_EL ANY
        entityChooser createPointWallPick "Points" objList POINT_0D_EL ANY
  	textEntry RigidwallOffset "Offset" o NUM
        dialogSpace 1
	frame RigidwallNormal "Normal Vector Data"
	  frame RigidwallHead "Head Coordinates"
    	    textEntry RigidwallXh "X" xh NUM
  	    textEntry RigidwallYh "Y" yh NUM
  	    textEntry RigidwallZh "Z" zh NUM
	  frame END
          dialogSpace 1
	  frame RigidwallTail "Tail Coordinates"
  	    textEntry RigidwallXt "X" xt NUM
  	    textEntry RigidwallYt "Y" yt NUM
  	    textEntry RigidwallZt "Z" zt NUM
	  frame END
	frame END
        dialogSpace 1
	frame RigidwallFriction "Interface Friction Data"
  	textEntry RigidwallValue "Type/Coulomb Coeff Value" fr NUM
  	textEntry RigidwallVelocity "Critical Normal Velocity for Weld" wv NUM
	frame END
dataEntryDialog END

dataEntryDialog createExistingRigidwallDEZ "Modify Planar Rigid Wall" nosave 
	textEntry createExistingRigidwallName "Name" name READONLY
  	textEntry createExistingRigidwallNodeSetId "Node Set ID" lsdyna_nsid INT
        dialogSpace 1
  	textEntry ExistingRigidwallOffset "Offset" o NUM
        dialogSpace 1
	frame ExistingRigidwallNormal "Normal Vector Data"
	  frame ExistingRigidwallHead "Head Coordinates"
  	    textEntry ExistingRigidwallXh "X" xh NUM
  	    textEntry ExistingRigidwallYh "Y" yh NUM
  	    textEntry ExistingRigidwallZh "Z" zh NUM
	  frame END
          dialogSpace 1
	  frame ExistingRigidwallTail "Tail Coordinates"
  	    textEntry ExistingRigidwallXt "X" xt NUM
  	    textEntry ExistingRigidwallYt "Y" yt NUM
  	    textEntry ExistingRigidwallZt "Z" zt NUM
	  frame END
	frame END
        dialogSpace 1
	frame ExistingRigidwallFriction "Interface Friction Data"
  	textEntry ExistingRigidwallValue "Type/Coulomb Coeff Value" fr NUM
  	textEntry ExistingRigidwallVelocity "Critical Normal Velocity for Weld" wv NUM
	frame END
dataEntryDialog END
#---------------------------------------------------------------------------------------------------
dataEntryDialog createConstrainedNodesDEZ "Define Constrained Nodes" nosave 
	textEntry createConstrainedNodesName "Name" name TEXT
	textEntry createConstrainedNodeSetId "Node Set ID" lsdyna_nsid INT
	entityChooser createPointsConstrainedPick "Nodes" objList NODE ANY
	exclusiveGroup createConstrainedNodesType "Constrained Node Options" "Type" 1 DROPDOWN type
		exclusiveGroupItem lsdynaConstrainedNodeSet "Node set"
			dropDownEntry lsdynaConstrainedNodeSetDOF "DOF" NodeSetDOFList dof FALSE
			textEntry lsdynaConstrainedNodeSetTF "Failure time" tf NUM
		exclusiveGroupItem END
# Constrained Nodal Rigid Body mapped to RBE2's
#		exclusiveGroupItem lsdynaConstrainedRigidBody "Nodal Rigid Body"
#			textEntry lsdynaConstrainedRigidBodyLCS "Coordinate system id" cid1 INT
#			textEntry lsdynaConstrainedRigidBodyCenter "Node id of mass centre(optional)" pnode INT
#			dropDownEntry lsdynaConstrainedNodeSetDflag "Displacement release flag" DRflagList drflag FALSE
#			dropDownEntry lsdynaConstrainedNodeSetRflag "Rotation release flag" RRflagList rrflag FALSE
#		exclusiveGroupItem END
		exclusiveGroupItem lsdynaGeneralizedWeld "Generalized Weld"
			dropDownEntry lsdynaConstrainedWeldType "Weld type" WeldList weld FALSE
			textEntry lsdynaConstrainedWeldLCS "Coordinate system id" cid2 INT
			textEntry lsdynaConstrainedWeldpairs "Number of individual nodal pairs" npr INT
			textEntry lsdynaConstrainedWeldft "Failure time" tfail NUM
			textEntry lsdynaConstrainedWeldps "Effective plastic strain at failure" epsf NUM
		exclusiveGroupItem END
#		exclusiveGroupItem lsdynaTiedNodes "Tied Nodes Failure"
#		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END

dataEntryDialog createExistingConstrainedNodesDEZ "Modify Constrained Nodes" nosave 
	textEntry createExistingConstrainedNodesName "Name" name READONLY
	textEntry createExistingConstrainedNodeSetId "Node Set ID" lsdyna_nsid INT
	exclusiveGroup createExistingConstrainedNodesType "Constrained Node Options" "Type" 1 DROPDOWN type
		exclusiveGroupItem lsdynaExistingConstrainedNodeSet "Node set"
			dropDownEntry lsdynaExistingConstrainedNodeSetDOF "DOF" NodeSetDOFList dof FALSE
			textEntry lsdynaExistingConstrainedNodeSetTF "Failure time" tf NUM
		exclusiveGroupItem END
# Constrained Nodal Rigid Body mapped to RBE2's
#		exclusiveGroupItem lsdynaExistingConstrainedRigidBody "Nodal Rigid Body"
#			textEntry lsdynaExistingConstrainedRigidBodyLCS "Coordinate system id" cid1 INT
#			textEntry lsdynaExistingConstrainedRigidBodyCenter "Node id of mass centre(optional)" pnode INT
#			dropDownEntry lsdynaExistingConstrainedNodeSetDflag "Displacement release flag" DRflagList drflag FALSE
#			dropDownEntry lsdynaExistingConstrainedNodeSetRflag "Rotation release flag" RRflagList rrflag FALSE
#		exclusiveGroupItem END
		exclusiveGroupItem lsdynaExistingGeneralizedWeld "Generalized Weld"
			dropDownEntry lsdynaExistingConstrainedWeldType "Weld type" WeldList weld FALSE
			textEntry lsdynaExistingConstrainedWeldLCS "Coordinate system id" cid2 INT
			textEntry lsdynaExistingConstrainedWeldpairs "Number of individual nodal pairs" npr INT
			textEntry lsdynaExistingConstrainedWeldft "Failure time" tfail NUM
			textEntry lsdynaExistingConstrainedWeldps "Effective plastic strain at failure" epsf NUM
		exclusiveGroupItem END
#		exclusiveGroupItem lsdynaExistingTiedNodes "Tied Nodes Failure"
#		exclusiveGroupItem END
	exclusiveGroup END
dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createPointImpdispDEZ "Create Displacement on Point" nosave 
  textEntry createPointImpdispName "Name" name TEXT
  dropDownEntry createPointImpdispLS "SPC Set" spcSetList spcSet FALSE
  dropDownEntry createPointImpdispLCS "LCS" LCSList LCS TRUE
  dropDownEntry createPointImpdispType "SPC Type" SPCList SPCType TRUE
  textEntry lsdynaPointImpdispNodeSetId "Node Set ID" lsdyna_nsid INT
  dialogSpace 1

  entityChooser createPointImpdispPick "Points" objList POINT_0D_EL ANY
  dialogSpace 1

  frame createPointImpdispDirectionalFrame "Directional Displacement"

    greyGroup PointCheckUXGG " "
      greyGroupItem createPointImpdispCheckUX " "
        textEntry createPointImpdispUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup PointCheckUYGG " "
      greyGroupItem createPointImpdispCheckUY " "
        textEntry createPointImpdispUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup PointCheckUZGG " "
      greyGroupItem createPointImpdispCheckUZ " "
        textEntry createPointImpdispUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

  dialogSpace 1

  frame createPointImpdispRotationalFrame "Rotational Displacement"
    greyGroup PointCheckROTXGG " "
      greyGroupItem createPointImpdispCheckROTX " "
        textEntry createPointImpdispROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup PointCheckROTYGG " "
      greyGroupItem createPointImpdispCheckROTY " "
        textEntry createPointImpdispROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup PointCheckROTZGG " "
      greyGroupItem createPointImpdispCheckROTZ " "
        textEntry createPointImpdispROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

#  checkItem createPointImpdispCheckUX "UX" CheckUX NULL
#  textEntry createPointImpdispUX "UX" UX TEXT


dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createCurveImpdispDEZ "Create Displacement on Curve" nosave 
  textEntry createCurveImpdispName "Name" name TEXT
  dropDownEntry createCurveImpdispLS "SPC Set" spcSetList spcSet FALSE
  dropDownEntry createCurveImpdispLCS "LCS" LCSList LCS TRUE
  dropDownEntry createCurveImpdispType "SPC Type" SPCList SPCType TRUE
  textEntry lsdynaCurveImpdispNodeSetId "Node Set ID" lsdyna_nsid INT
  dialogSpace 1

  entityChooser createCurveImpdispPick "Curves" objList CURVE_1D_EL ANY
  dialogSpace 1
  
  frame createCurveImpdispDirectionalFrame "Directional Displacement"
    greyGroup CurveCheckUXGG " "
      greyGroupItem createCurveImpdispCheckUX " "
        textEntry createCurveImpdispUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup CurveCheckUYGG " "
      greyGroupItem createCurveImpdispCheckUY " "
        textEntry createCurveImpdispUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup CurveCheckUZGG " "
      greyGroupItem createCurveImpdispCheckUZ " "
        textEntry createCurveImpdispUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

  dialogSpace 1

  frame createCurveImpdispRotationalFrame "Rotational Displacement"
    greyGroup CurveCheckROTXGG " "
      greyGroupItem createCurveImpdispCheckROTX " "
        textEntry createCurveImpdispROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup CurveCheckROTYGG " "
      greyGroupItem createCurveImpdispCheckROTY " "
        textEntry createCurveImpdispROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup CurveCheckROTZGG " "
      greyGroupItem createCurveImpdispCheckROTZ " "
        textEntry createCurveImpdispROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createSurfImpdispDEZ "Create Displacement on Surface" nosave 
  textEntry createSurfImpdispName "Name" name TEXT
  dropDownEntry createSurfImpdispLS "SPC Set" spcSetList spcSet FALSE
  dropDownEntry createSurfImpdispLCS "LCS" LCSList LCS TRUE
  dropDownEntry createSurfImpdispType "SPC Type" SPCList SPCType TRUE
  textEntry lsdynaSurfImpdispNodeSetId "Node Set ID" lsdyna_nsid INT
  dialogSpace 1

  entityChooser createSurfImpdispPick "Surfaces" objList SURF_2D_EL ANY
  dialogSpace 1
  
  frame createSurfImpdispDirectionalFrame "Directional Displacement"
    greyGroup SurfCheckUXGG " "
      greyGroupItem createSurfImpdispCheckUX " "
        textEntry createSurfImpdispUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SurfCheckUYGG " "
      greyGroupItem createSurfImpdispCheckUY " "
        textEntry createSurfImpdispUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SurfCheckUZGG " "
      greyGroupItem createSurfImpdispCheckUZ " "
        textEntry createSurfImpdispUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

  dialogSpace 1

  frame createSurfImpdispRotationalFrame "Rotational Displacement"
    greyGroup SurfCheckROTXGG " "
      greyGroupItem createSurfImpdispCheckROTX " "
        textEntry createSurfImpdispROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SurfCheckROTYGG " "
      greyGroupItem createSurfImpdispCheckROTY " "
        textEntry createSurfImpdispROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SurfCheckROTZGG " "
      greyGroupItem createSurfImpdispCheckROTZ " "
        textEntry createSurfImpdispROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
  frame END


dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createSubsetImpdispDEZ "Create Displacement on Subset" nosave 
  textEntry createSubsetImpdispName "Name" name TEXT
  dropDownEntry createSubsetImpdispLS "SPC Set" spcSetList spcSet FALSE
  dropDownEntry createSubsetImpdispLCS "LCS" LCSList LCS TRUE
  dropDownEntry createSubsetImpdispType "SPC Type" SPCList SPCType TRUE
  textEntry lsdynaSubsetImpdispNodeSetId "Node Set ID" lsdyna_nsid INT
  dialogSpace 1

  entityChooser createSubsetImpdispPick "Subsets" objList SUBSET ANY
  dialogSpace 1
  
  frame createSubsetImpdispDirectionalFrame "Directional Displacement"
    greyGroup SubsetCheckUXGG " "
      greyGroupItem createSubsetImpdispCheckUX " "
        textEntry createSubsetImpdispUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SubsetCheckUYGG " "
      greyGroupItem createSubsetImpdispCheckUY " "
        textEntry createSubsetImpdispUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SubsetCheckUZGG " "
      greyGroupItem createSubsetImpdispCheckUZ " "
        textEntry createSubsetImpdispUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

  dialogSpace 1

  frame createSubsetImpdispRotationalFrame "Rotational Displacement"
    greyGroup SubsetCheckROTXGG " "
      greyGroupItem createSubsetImpdispCheckROTX " "
        textEntry createSubsetImpdispROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SubsetCheckROTYGG " "
      greyGroupItem createSubsetImpdispCheckROTY " "
        textEntry createSubsetImpdispROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup SubsetCheckROTZGG " "
      greyGroupItem createSubsetImpdispCheckROTZ " "
        textEntry createSubsetImpdispROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createExistingImpdispDEZ "Modify Displacement" nosave 
  textEntry createExistingImpdispName "Name" name READONLY
  dropDownEntry createExistingImpdispLS "SPC Set" spcSetList spcSet FALSE
  dropDownEntry createExistingImpdispLCS "LCS" LCSList LCS TRUE
  dropDownEntry createExistingImpdispType "SPC Type" SPCList SPCType TRUE
  textEntry lsdynaExistingImpdispNodeSetId "Node Set ID" lsdyna_nsid INT
  dialogSpace 1
  
  frame createExistingImpdispDirectionalFrame "Directional Displacement"
    greyGroup ExistingCheckUXGG " "
      greyGroupItem createExistingImpdispCheckUX " "
        textEntry createExistingImpdispUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup ExistingCheckUYGG " "
      greyGroupItem createExistingImpdispCheckUY " "
        textEntry createExistingImpdispUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup ExistingCheckUZGG " "
      greyGroupItem createExistingImpdispCheckUZ " "
        textEntry createExistingImpdispUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

  dialogSpace 1

  frame createExistingImpdispRotationalFrame "Rotational Displacement"
    greyGroup ExistingCheckROTXGG " "
      greyGroupItem createExistingImpdispCheckROTX " "
        textEntry createExistingImpdispROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END

    greyGroup ExistingCheckROTYGG " "
      greyGroupItem createExistingImpdispCheckROTY " "
        textEntry createExistingImpdispROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END

    greyGroup ExistingCheckROTZGG " "
      greyGroupItem createExistingImpdispCheckROTZ " "
        textEntry createExistingImpdispROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
  frame END

dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createSingledisplacementDEZ "Create Constraint / Displacement" nosave
    textEntry createSPCName "Name" name TEXT
    dropDownEntry createSPCLS "SPC Set" spcSetList spcSet FALSE
    dropDownEntry createSPCLCS "LCS" LCSList LCS TRUE
    dropDownEntry createSPCType "SPC Type" SPCList SPCType TRUE
    textEntry lsdynacreateSPCNodeSetId "Node Set ID" lsdyna_nsid INT
    dialogSpace 1
    exclusiveGroup createSPC "Entity Type" " " -3 ICON
        exclusiveGroupItem createSPCPoint "Create Constraint/Displacement on Point" C_PointDisp$icon_size2.gif
          entityChooser createSPCPointPick "Points" objList POINT_0D_EL ANY
        exclusiveGroupItem END
        exclusiveGroupItem createSPCCurve "Create Constraint/Displacement on Curve" C_CurveDisp$icon_size2.gif
          entityChooser createSPCCurvePick "Curves" objList CURVE_1D_EL ANY
        exclusiveGroupItem END
        exclusiveGroupItem createSPCSurface "Create Constraint/Displacement on Surface" C_SurfDisp$icon_size2.gif
          entityChooser createSPCSurfPick "Surfaces" objList SURF_2D_EL ANY
        exclusiveGroupItem END
        exclusiveGroupItem createSPCSubset "Create Constraint/Displacement on Subset" C_SubsetDisp$icon_size2.gif
          entityChooser createSPCSubsetPick "Subsets" objList SUBSET ANY
        exclusiveGroupItem END
        exclusiveGroupItem createSPCPart "Create Constraint/Displacement on Part" C_PartDisp$icon_size2.gif
          entityChooser createSPCPartPick "Parts" objList PART ANY
        exclusiveGroupItem END
    exclusiveGroup END
    dialogSpace 1
    frame createSPCDirectionalFrame "Directional Constraint/Displacement"
    greyGroup createSPCCheckUXGG " "
      greyGroupItem createSPCCheckUX " "
        textEntry createSPCUX "UX" UX TEXT
      greyGroupItem END
    greyGroup END
    greyGroup createSPCCheckUYGG " "
      greyGroupItem createSPCCheckUY " "
        textEntry createSPCUY "UY" UY TEXT
      greyGroupItem END
    greyGroup END
    greyGroup createSPCCheckUZGG " "
      greyGroupItem createSPCCheckUZ " "
        textEntry createSPCUZ "UZ" UZ TEXT
      greyGroupItem END
    greyGroup END
    frame END
    dialogSpace 1
    frame createSPCRotationalFrame "Rotational Constraint/Displacement"
    greyGroup createSPCCheckROTXGG " "
      greyGroupItem createSPCCheckROTX " "
        textEntry createSPCROTX "ROTX" ROTX TEXT
      greyGroupItem END
    greyGroup END
    greyGroup createSPCCheckROTYGG " "
      greyGroupItem createSPCCheckROTY " "
        textEntry createSPCROTY "ROTY" ROTY TEXT
      greyGroupItem END
    greyGroup END
    greyGroup createSPCCheckROTZGG " "
      greyGroupItem createSPCCheckROTZ " "
        textEntry createSPCROTZ "ROTZ" ROTZ TEXT
      greyGroupItem END
    greyGroup END
    frame END
dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createMultipledisplacementDEZ "Create Constraint Equation" nosave
    textEntry createMPCName "Name" name TEXT
    dropDownEntry createMPCLS "MPC Set" mpcSetList mpcSet FALSE
    dropDownEntry createMPCLCS "LCS" LCSList LCS TRUE
    textEntry lsdynacreateMPCNodeSetId "Node Set ID" lsdyna_nsid INT
    dialogSpace 1
    entityChooser createMPCDependentPick "Dep. Node" objList  NODE 1
    integerEntry createMPCDependentDOF "Dep. DOF" dep_dof 1 6 1
    textEntry createMPCDependentCoef "Dep. Coef." dep_coef TEXT
    dialogSpace 1
    entityChooser createMPCIndependentPick "Indep. Nodes" objList1  NODE ANY
    integerEntry createMPCIndependentDOF "Indep. DOF" indep_dof 1 6 1
    textEntry createMPCIndependentCoef "Indep. Coef." indep_coef TEXT
dataEntryDialog END

# ---------------------------------------------------------------
dataEntryDialog createExistingMpcdispDEZ "Modify Constraint Equation" nosave
    textEntry createExistingMpcName "Name" name READONLY
    dropDownEntry createExistingMpcLS "MPC Set" mpcSetList mpcSet FALSE
    dropDownEntry createExistingMpcLCS "LCS" LCSList LCS TRUE
    textEntry lsdynacreateExistingMpcNodeSetId "Node Set ID" lsdyna_nsid INT
    dialogSpace 1
    integerEntry createExistingMpcDependentDOF "Dep. DOF" dep_dof 1 6 1
    textEntry createExistingMpcDependentCoef "Dep. Coef." dep_coef TEXT
    dialogSpace 1
    integerEntry createExistingMpcIndependentDOF "Indep. DOF" indep_dof 1 6 1
    textEntry createExistingMpcIndependentCoef "Indep. Coef." indep_coef TEXT
dataEntryDialog END


