# Do not edit this file or it may not load correctly
# if you try to open it with the RSG Dialog Builder.

# Note: thisDir is defined by the Activator class when
#       this file gets exec'd

from rsg.rsgGui import *
from abaqusConstants import INTEGER, FLOAT
dialogBox = RsgDialog(title='Generate FE2 macroscale material', kernelModule='create_FE2_material', kernelFunction='create_FE2_material', includeApplyBtn=False, includeSeparator=True, okBtnText='OK', applyBtnText='Apply', execDir=thisDir)
RsgGroupBox(name='GroupBox_2', p='DialogBox', text='Monolith FE2 Version V1.02', layout='LAYOUT_FILL_X')
RsgIcon(p='GroupBox_2', fileName=r'Logo.png')
RsgComboBox(name='ComboBox_1', p='DialogBox', text='Part:', keyword='partname', default='', comboType='MDB', repository='parts', rootText='Model:', rootKeyword='modelname', layout='VERTICAL')
RsgTextField(p='DialogBox', fieldType='String', ncols=12, labelText='Materialname:', keyword='materialname', default='Material-1')
RsgComboBox(name='ComboBox_1', p='DialogBox', text='RVE-Number:                  ', keyword='rve_number', default='1', comboType='STANDARD', repository='', rootText='', rootKeyword='None', layout='')
RsgListItem(p='ComboBox_1', text='1')
RsgListItem(p='ComboBox_1', text='2')
RsgListItem(p='ComboBox_1', text='3')
RsgListItem(p='ComboBox_1', text='4')
RsgListItem(p='ComboBox_1', text='5')
RsgGroupBox(name='GroupBox_1', p='DialogBox', text='Mechanical Properties', layout='LAYOUT_FILL_X')
RsgComboBox(name='ComboBox_2', p='GroupBox_1', text='Number of Materials: ', keyword='n_materials', default='1', comboType='STANDARD', repository='', rootText='', rootKeyword='None', layout='')
RsgListItem(p='ComboBox_2', text='1')
RsgListItem(p='ComboBox_2', text='2')
RsgTextField(p='GroupBox_1', fieldType='String', ncols=12, labelText='Material-1:   ', keyword='material_1_abq', default='')
RsgTextField(p='GroupBox_1', fieldType='String', ncols=12, labelText='Material-2:   ', keyword='material_2_abq', default='')
RsgLabel(p='GroupBox_1', text='use  " ,"  as delimiter', useBoldFont=False)
RsgSeparator(p='GroupBox_1')
RsgLabel(p='GroupBox_1', text='if only one material is being', useBoldFont=False)
RsgLabel(p='GroupBox_1', text='used, leave Material-2 blank', useBoldFont=False)
dialogBox.show()
