##########################################################################
#
#   PURPOSE:
#
#      This is the database file used for defining "Cut Method" in
#      Machining method.
#
#   REVISIONS:
#
#   00  23Mar99  Murthy R Mandaleeka         Initial Version
#   01  26JUL99  Subhash                     Changed order of attributes
#                                            presented
#   02  29OCT99  Murthy                      Changed RSET names
##########################################################################

DB_PREFIX  "DB("
DB_SUFFIX  ")"
ESS_PREFIX "ESS("
ESS_SUFFIX ")"

#############################################################################
#    The list of DB_ALIAS
#
#    DB_ALIAS  <alias>
#    {
#         DB_ID       < identifier of the cutter parameter in a UG part file >
#         DB_ID_TYPE  < Type of the identifier >
#              d _ double
#              i _ integer
#              s _ string
#    }
#
##############################################################################

DB_ALIAS    matcode
{
 DB_ID      MATCODE 
 DB_ID_TYPE s
 DIALOG_NAME "matcode" 
 RSET_NAME "Code"
}

DB_ALIAS    matname
{
 DB_ID      MATNAME
 DB_ID_TYPE s
 DIALOG_NAME "matname"
 RSET_NAME "Name"
}

DB_ALIAS    partmat
{
 DB_ID      PARTMAT
 DB_ID_TYPE s
 DIALOG_NAME "partmat"
 RSET_NAME "Description"
}

DB_ALIAS    hardness
{
 DB_ID      HARDNESS
 DB_ID_TYPE s
 DIALOG_NAME "hardness"
 RSET_NAME "Hardness"
}

DB_ALIAS    libref
{
 DB_ID      LIBRF
 DB_ID_TYPE s
 DIALOG_NAME "libref"
 RSET_NAME "Library Reference"
}

LIBREF libref

CLASS PART_MATERIAL
{
 TYPE   PART_MATERIAL
 QUERY  "[1] == [1]"
 DIALOG libref matcode matname hardness partmat
 RSET   libref matcode matname hardness partmat
 UI_NAME "Part Material"
}
