Update app.py
Browse files
app.py
CHANGED
|
@@ -1044,9 +1044,9 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0,pdf_content=0):
|
|
| 1044 |
print("SearchArray = ",SearchArray)
|
| 1045 |
global hatched_areas2_7
|
| 1046 |
if pdf_content:
|
| 1047 |
-
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,
|
| 1048 |
else:
|
| 1049 |
-
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,
|
| 1050 |
# global colorsused
|
| 1051 |
hatched_areas2_7=hatched_areas
|
| 1052 |
colorsused=list(SimilarAreaDictionary['Color'])
|
|
|
|
| 1044 |
print("SearchArray = ",SearchArray)
|
| 1045 |
global hatched_areas2_7
|
| 1046 |
if pdf_content:
|
| 1047 |
+
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,result[8],Thickness, pdfpath,result[0],pdf_content)
|
| 1048 |
else:
|
| 1049 |
+
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,result[8],Thickness, pdfpath,result[0])
|
| 1050 |
# global colorsused
|
| 1051 |
hatched_areas2_7=hatched_areas
|
| 1052 |
colorsused=list(SimilarAreaDictionary['Color'])
|