# *TOOL_MATERIALS.DEF
################################################################################
#   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 Tool Material parameter in a UG part file >
#       DB_ID_TYPE  < Type of the identifier >
#              d _ double
#              i _ integer
#              s _ string
#    }
#
###############################################################################
DB_ALIAS    matno
{
   DB_ID      LIBRF 
   DB_ID_TYPE s
   DIALOG_NAME "Serial"
   RSET_NAME "Library Reference"
}

DB_ALIAS    matnam
{
   DB_ID      MATNAM
   DB_ID_TYPE s
   DIALOG_NAME "Material Name"
   RSET_NAME "Material Name"
}
          
DB_ALIAS    matdesc 
{
   DB_ID      MATDESC
   DB_ID_TYPE s
   DIALOG_NAME "Material Description"
   RSET_NAME "Material Description"
}

LIBREF matno

CLASS TOOL_MATERIAL
{
    TYPE   TOOL_MATERIAL
    QUERY    "[1] == [1]"
    DIALOG  matno matnam matdesc 
    RSET    matno matnam matdesc
    UI_NAME "Tool Material"
}
