[qet] [4233] added block line conversion

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4233
Author:   rdsivd
Date:     2015-10-04 21:47:08 +0200 (Sun, 04 Oct 2015)
Log Message:
-----------
added block line conversion
and dxftoqet.cfg file

Modified Paths:
--------------
    branches/dxftoqet2/DXFtoQET.pro
    branches/dxftoqet2/dxf_create_elmt.cpp
    branches/dxftoqet2/dxf_create_elmt.h
    branches/dxftoqet2/dxftoqet_mainwindow.cpp
    branches/dxftoqet2/dxftoqet_mainwindow.h
    branches/dxftoqet2/dxftoqet_mainwindow.ui
    branches/dxftoqet2/src/dxf/dxf_ellipse.cpp
    branches/dxftoqet2/src/dxf/dxf_ellipse.h
    branches/dxftoqet2/src/dxf/dxf_point.h
    branches/dxftoqet2/src/dxf_base_types/dxf_base_line.h
    branches/dxftoqet2/src/dxf_data.h
    branches/dxftoqet2/src/dxf_split.cpp
    branches/dxftoqet2/src/dxf_split.h

Removed Paths:
-------------
    branches/dxftoqet2/icon/document-open.png

Modified: branches/dxftoqet2/DXFtoQET.pro
===================================================================
--- branches/dxftoqet2/DXFtoQET.pro	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/DXFtoQET.pro	2015-10-04 19:47:08 UTC (rev 4233)
@@ -83,4 +83,7 @@
 OTHER_FILES += \
     icon/document-open dxf-csv.png \
     icon/document-save-as elmt.png \
-    icon/document-save-as qet.png
+    icon/document-save-as qet.png \
+    icon/document-save-as qet.png \
+    icon/document-save-as elmt.png \
+    icon/document-save-as elmt.png

Modified: branches/dxftoqet2/dxf_create_elmt.cpp
===================================================================
--- branches/dxftoqet2/dxf_create_elmt.cpp	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/dxf_create_elmt.cpp	2015-10-04 19:47:08 UTC (rev 4233)
@@ -11,7 +11,10 @@
 extern struct DXF_entities_point DXF_input_entities_point[1000];
 extern struct DXF_entities_text DXF_input_entities_text[1000];
 extern struct DXF_entities_ellipse DXF_input_entities_ellipse[1000];
+extern struct DXF_entities_insert DXF_input_entities_insert[1000];
 
+extern struct DXF_block_line DXF_input_block_line[100][50];
+
 DXF_create_elmt::DXF_create_elmt(QWidget *parent) :
 	QMainWindow(parent)
 {
@@ -260,6 +263,11 @@
 	Count_entitie_ellipse=DXF_main_base[0].DXF_entities_ellipse_count;
 	Result.append(Make_ELLIPSE());
 
+	/* INSERT */
+
+	Count_entitie_insert=DXF_main_base[0].DXF_entities_insert_count;
+	Result.append(Make_INSERT());
+
 	/* Close elmt description */
 
 	Result.append(Create_ELMT.DescriptionEnd());
@@ -563,3 +571,73 @@
 
 	return Result_ellipse2;
  }
+
+  QString DXF_create_elmt::Make_INSERT()
+  {
+	  Result_insert="";
+
+	  Count_lines=0;
+
+	  while (Count_lines<=Count_entitie_insert)
+	  {
+
+		if (DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_2 == "")
+		{
+			Count_lines=Count_lines+1;
+
+		}
+		else
+		{
+
+			Insert_block_nr=Count_lines;
+			x_insert=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_10;
+			y_insert=DXF_input_entities_insert[Count_lines].DXF_entities_insert_code_20;
+
+
+
+			/* Block LINES */
+
+			Result_insert.append(Make_Block_LINES());
+
+			/* end of block */
+
+			Count_lines=Count_lines+1;
+
+		}
+
+
+
+	  }
+
+	  return Result_insert;
+  }
+
+   QString DXF_create_elmt::Make_Block_LINES()
+   {
+	   Result_Block_Lines="";
+	   Count_lines_block2=0;
+
+	   DXF_LINE dxb_line;
+
+	   while(Count_lines_block2<DXF_main_base[0].DXF_block_line_count[Insert_block_nr])
+	   {
+
+
+			  dxb_line.x1=x_insert+DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_10;
+			  dxb_line.x2=x_insert+DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_11;
+			  dxb_line.y1=-(y_insert+DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_20);
+			  dxb_line.y2=-(y_insert+DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_21);
+			  dxb_line.ltype=DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_6;
+			  dxb_line.layer=DXF_input_block_line[Insert_block_nr][Count_lines_block2].DXF_block_line_code_8;;
+
+
+			Result_Block_Lines.append(dxb_line.Create_LINE());
+
+
+			Count_lines_block2=Count_lines_block2+1;
+
+	   }
+
+
+	   return Result_Block_Lines;
+   }

Modified: branches/dxftoqet2/dxf_create_elmt.h
===================================================================
--- branches/dxftoqet2/dxf_create_elmt.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/dxf_create_elmt.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -33,7 +33,10 @@
 	QString Make_POINT();
 	QString Make_TEXT();
 	QString Make_ELLIPSE();
+	QString Make_INSERT();
 
+	QString Make_Block_LINES();
+
 	QString Result;
 	QString Result_line;
 	QString Result_arc;
@@ -46,8 +49,11 @@
 	QString Result_text;
 	QString Result_ellipse;
 	QString Result_ellipse2;
+	QString Result_insert;
 
+	QString Result_Block_Lines;
 
+
 	double DXF_LIMMAX_x;
 	double DXF_LIMMAX_y;
 	double DXF_LIMMIN_x;
@@ -66,10 +72,19 @@
 	int Count_entitie_point;
 	int Count_entitie_text;
 	int Count_entitie_ellipse;
+	int Count_entitie_insert;
 
 	int Count_lines;
+	int Count_lines_block;
+	int Count_lines_block2;
 	int Count_for;
 
+	int Insert_block_nr;
+
+	double x_insert;
+	double y_insert;
+
+
 	signals:
 
 	public slots:

Modified: branches/dxftoqet2/dxftoqet_mainwindow.cpp
===================================================================
--- branches/dxftoqet2/dxftoqet_mainwindow.cpp	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/dxftoqet_mainwindow.cpp	2015-10-04 19:47:08 UTC (rev 4233)
@@ -129,6 +129,7 @@
 {
 	ui->setupUi(this);
 
+	on_Open_config_file_clicked();
 
 }
 
@@ -174,7 +175,7 @@
 		DXF_main_base[0].dxf_filepath = dialog.selectedFiles().first();
 		DXF_main_base[0].dxf_dir = dialog.directory().absolutePath();
 		DXF_main_base[0].dxf_openfile=DXF_main_base[0].dxf_filepath.split("/").last();
-		DXF_main_base[0].dxf_savepath=DXF_main_base[0].dxf_dir;
+		DXF_main_base[0].dxf_savepath=Config_QET_User_Symbols;//"../.qet/elements"; //DXF_main_base[0].dxf_dir;
 
 		ui->dxf_file_path_save->setText(DXF_main_base[0].dxf_savepath);
 
@@ -188,6 +189,7 @@
 
 		log_file.append (DXF_main_base[0].dxf_openfile);
 		DXF_main_base[0].DXF_ELMT_Name_text_en=FileName;
+		DXF_main_base[0].DXF_ELMT_Name_text_fr=FileName;
 
 		ui->elmt_lang_en->setText(FileName);
 
@@ -211,6 +213,8 @@
 		QTextStream in(&file);
 		DXF_main_base[0].dxf_text_all = in.readAll();
 
+		file.close();
+
 		ui->dxf_file_loaded->setPlainText(DXF_main_base[0].dxf_text_all);
 		ui->dxf_file_loaded->show();
 		ui->dxf_file_loaded->repaint();
@@ -944,6 +948,9 @@
 
 	}
 	ui->dxf_log->setPlainText(log_file);
+
+	DXF_Block_table();
+
 }
 
 void DXFtoQET_MainWindow::on_cload_cvs_into_tables_clicked()
@@ -1239,3 +1246,271 @@
 
 
 }
+
+void DXFtoQET_MainWindow::DXF_Block_table()
+{
+
+	model3=new QStandardItemModel(100,46,this);
+	ui->Block_Items_2->setModel(model3);
+
+	List3.append("Block n°");
+	for (int xcol=1;xcol<46;xcol++)
+	{
+		List3.append(QString::number(xcol));
+
+	}
+
+	model3->setHorizontalHeaderLabels(List3);
+
+
+	int blockcount =0;
+
+	for (int row2=0; row2<99;row2++)
+	{
+
+			QModelIndex index = model3->index(row2,0,QModelIndex());
+			model3->setData(index,QString::number(blockcount));
+
+			blockcount=blockcount+1;
+
+			index = model3->index(row2,1,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_3dface_count[row2]));
+
+			index = model3->index(row2,2,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_3dsolid_count[row2]));
+
+			index = model3->index(row2,3,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_acad_proxy_entity_count[row2]));
+
+			index = model3->index(row2,4,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_arc_count[row2]));
+
+			index = model3->index(row2,5,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_attdef_count[row2]));
+
+			index = model3->index(row2,6,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_attrib_count[row2]));
+
+			index = model3->index(row2,7,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_body_count[row2]));
+
+			index = model3->index(row2,8,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_circle_count[row2]));
+
+			index = model3->index(row2,9,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_dimension_count[row2]));
+
+			index = model3->index(row2,10,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_ellipse_count[row2]));
+
+			index = model3->index(row2,11,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_hatch_count[row2]));
+
+			index = model3->index(row2,12,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_helix_count[row2]));
+
+			index = model3->index(row2,13,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_image_count[row2]));
+
+			index = model3->index(row2,14,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_insert_count[row2]));
+
+			index = model3->index(row2,15,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_leader_count[row2]));
+
+			index = model3->index(row2,16,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_light_count[row2]));
+
+			index = model3->index(row2,17,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_line_count[row2]));
+
+			index = model3->index(row2,18,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_lwpolyline_count[row2]));
+
+			index = model3->index(row2,19,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_mesh_count[row2]));
+
+			index = model3->index(row2,20,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_mleaderstyle_count[row2]));
+
+			index = model3->index(row2,21,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_mleader_count[row2]));
+
+			index = model3->index(row2,22,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_mline_count[row2]));
+
+			index = model3->index(row2,23,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_mtext_count[row2]));
+
+			index = model3->index(row2,24,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_ole2frame_count[row2]));
+
+			index = model3->index(row2,25,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_oleframe_count[row2]));
+
+			index = model3->index(row2,26,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_point_count[row2]));
+
+			index = model3->index(row2,27,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_polyline_count[row2]));
+
+			index = model3->index(row2,28,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_ray_count[row2]));
+
+			index = model3->index(row2,29,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_region_count[row2]));
+
+
+
+			index = model3->index(row2,30,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_section_count[row2]));
+
+			index = model3->index(row2,31,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_seqend_count[row2]));
+
+			index = model3->index(row2,32,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_shape_count[row2]));
+
+			index = model3->index(row2,33,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_solid_count[row2]));
+
+			index = model3->index(row2,34,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_spline_count[row2]));
+
+			index = model3->index(row2,35,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_sun_count[row2]));
+
+			index = model3->index(row2,36,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_surface_count[row2]));
+
+			index = model3->index(row2,37,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_table_count[row2]));
+
+			index = model3->index(row2,38,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_text_count[row2]));
+
+			index = model3->index(row2,39,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_tolerance_count[row2]));
+
+			index = model3->index(row2,40,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_trace_count[row2]));
+
+			index = model3->index(row2,41,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_underlay_count[row2]));
+
+			index = model3->index(row2,42,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_vertex_count[row2]));
+
+			index = model3->index(row2,43,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_viewport_count[row2]));
+
+			index = model3->index(row2,44,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_wipeout_count[row2]));
+
+			index = model3->index(row2,45,QModelIndex());
+			model3->setData(index,QString::number(DXF_main_base[0].DXF_block_xline_count[row2]));
+	}
+
+	ui->Block_Items_2->resizeColumnsToContents();
+
+	/*for (int row2=0; row2<100;row2++)
+	{
+		for (int col2=0;col2<46;col2++)
+		{
+
+			index = model3->index(row2,col2,QModelIndex());
+
+			if (model3->data(index)>0 and model3->data(index)<50)
+			{
+
+			}
+
+
+			// tableWidget->item(8, 0)->setBackground(Qt::red);
+
+
+		}
+
+
+
+
+	}*/
+
+	ui->Block_Items_2->show();
+
+
+
+
+}
+
+void DXFtoQET_MainWindow::on_savepath_2_clicked()
+{
+	Config_QET_User_Symbols = QFileDialog::getExistingDirectory(this, tr("Open Directory"),DXF_main_base[0].dxf_dir ,QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
+
+	ui->QET_user_symbole_path_save->setText(Config_QET_User_Symbols);
+
+	DXF_main_base[0].dxf_savepath=Config_QET_User_Symbols;
+
+
+}
+
+void DXFtoQET_MainWindow::on_Save_config_file_clicked()
+{
+	Config_save_to_file="";
+
+	Config_save_to_file.append(Config_QET_User_Symbols);
+	Config_save_to_file.append("\n");
+
+	QFile file( "..//DXFtoQET.cfg");
+
+	if (!file.open(QFile::WriteOnly | QFile::Text)) {
+		QMessageBox::warning(this, tr("Application"),
+							 tr("Cannot write file %1:\n%2.")
+							 .arg("DXFtoQET.cfg")
+							 .arg(file.errorString()));
+		return;
+	}
+
+	QTextStream out(&file);
+	out << Config_save_to_file;
+
+	file.close();
+
+	DXF_main_base[0].dxf_savepath=Config_QET_User_Symbols;
+	ui->dxf_file_path_save->setText(DXF_main_base[0].dxf_savepath);
+	ui->dxf_file_path_save->show();
+
+}
+
+void DXFtoQET_MainWindow::on_Open_config_file_clicked()
+{
+	QFile file( "..//DXFtoQET.cfg");
+
+	if (!file.open(QFile::ReadOnly | QFile::Text))
+	{
+		QMessageBox::warning(this, tr("Application"),
+							 tr("Cannot read file %1:\n%2.")
+							 .arg("DXFtoQET.cfg")
+							 .arg(file.errorString()));
+	}
+
+	QTextStream in(&file);
+
+	Config_in_read_all=in.readAll();
+
+	file.close();
+
+
+	Config_list=Config_in_read_all.split("\n");
+	Config_save_to_file=Config_list[0];
+	Config_QET_User_Symbols=Config_list[0];
+
+	DXF_main_base[0].dxf_savepath=Config_QET_User_Symbols;
+	ui->QET_user_symbole_path_save->setText(Config_QET_User_Symbols);
+	ui->dxf_file_path_save->setText(Config_list[0]);
+	ui->dxf_file_path_save->show();
+
+	ui->QET_user_symbole_path_save->show();
+
+}
+

Modified: branches/dxftoqet2/dxftoqet_mainwindow.h
===================================================================
--- branches/dxftoqet2/dxftoqet_mainwindow.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/dxftoqet_mainwindow.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -57,6 +57,10 @@
 
 	QString FileType;
 	QString FileName;
+	QString Config_QET_User_Symbols;
+	QString Config_save_to_file;
+	QString Config_in_read_all;
+	QStringList Config_list;
 
 	QString Result;
 	QString Result4;
@@ -67,9 +71,11 @@
 	QAbstractItemModel *model4;
 
 	QStringList List2;
+	QStringList List3;
 
 	void CSV_Load_QTable();
 	void CSV_Load_settings();
+	void DXF_Block_table();
 
 	protected:
 
@@ -104,6 +110,12 @@
 
 	void on_savepath_clicked();
 
+	void on_savepath_2_clicked();
+
+	void on_Save_config_file_clicked();
+
+	void on_Open_config_file_clicked();
+
 	private:
 	Ui::DXFtoQET_MainWindow *ui;
 };

Modified: branches/dxftoqet2/dxftoqet_mainwindow.ui
===================================================================
--- branches/dxftoqet2/dxftoqet_mainwindow.ui	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/dxftoqet_mainwindow.ui	2015-10-04 19:47:08 UTC (rev 4233)
@@ -470,7 +470,7 @@
             <enum>QTabWidget::Rounded</enum>
            </property>
            <property name="currentIndex">
-            <number>2</number>
+            <number>6</number>
            </property>
            <widget class="QWidget" name="tab_ELMT">
             <property name="sizePolicy">
@@ -757,7 +757,7 @@
               <string notr="true">BACKGROUND:rgb(225, 225, 225)</string>
              </property>
              <property name="currentIndex">
-              <number>3</number>
+              <number>2</number>
              </property>
              <widget class="QWidget" name="tab_dxf_sections">
               <attribute name="title">
@@ -1293,6 +1293,73 @@
               <attribute name="title">
                <string>Block</string>
               </attribute>
+              <widget class="QTableView" name="Block_Items_2">
+               <property name="geometry">
+                <rect>
+                 <x>10</x>
+                 <y>10</y>
+                 <width>641</width>
+                 <height>541</height>
+                </rect>
+               </property>
+              </widget>
+              <widget class="QPlainTextEdit" name="plainTextEdit_3">
+               <property name="geometry">
+                <rect>
+                 <x>650</x>
+                 <y>10</y>
+                 <width>201</width>
+                 <height>541</height>
+                </rect>
+               </property>
+               <property name="plainText">
+                <string>01 3dface();
+02 3dsolid();
+03 acad_proxy_entity();
+04 arc();
+05 attdef();
+06 attr();
+07 body();
+08 circle();
+09 dimension();
+10 ellipse();
+11 hatch();
+12 helix();
+13 image();
+14 insert();
+15 leader();
+16 light();
+17 line();
+18 lwpolyline();
+19 mesh();
+20 mline();
+21 mleaderstyle();
+22 mleader();
+23 mtext();
+24 oleframe();
+25 oleframe2();
+26 point();
+27 polyline();
+28 ray();
+29 region();
+30 section();
+31 seqend();
+32 shape();
+33 solid();
+34 spline();
+35 sun();
+36 surface();
+37 table();
+38 text();
+39 tolerance();
+40 trace();
+41 underlay();
+42 vertex();
+43 viewport();
+44 wipeout();
+45 xline();</string>
+               </property>
+              </widget>
              </widget>
              <widget class="QWidget" name="Entites_items">
               <attribute name="title">
@@ -1343,6 +1410,9 @@
                   <property name="text">
                    <string>POINT</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="5" column="2">
@@ -1598,6 +1668,9 @@
                   <property name="text">
                    <string>TEXT</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="13" column="3">
@@ -1855,6 +1928,9 @@
                   <property name="text">
                    <string>CIRCLE</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="7" column="2">
@@ -1978,6 +2054,9 @@
                   <property name="text">
                    <string>ELLIPSE</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="1" column="7">
@@ -2008,6 +2087,9 @@
                   <property name="text">
                    <string>ATTDEF</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="11" column="1">
@@ -2110,6 +2192,9 @@
                   <property name="text">
                    <string>LINE</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="3" column="3">
@@ -2140,6 +2225,9 @@
                   <property name="text">
                    <string>ARC</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="3" column="2">
@@ -2197,6 +2285,9 @@
                   <property name="text">
                    <string>ATTRIB</string>
                   </property>
+                  <property name="alignment">
+                   <set>Qt::AlignCenter</set>
+                  </property>
                  </widget>
                 </item>
                 <item row="0" column="4">
@@ -2593,6 +2684,101 @@
              </layout>
             </widget>
            </widget>
+           <widget class="QWidget" name="tab_config">
+            <property name="toolTipDuration">
+             <number>-4</number>
+            </property>
+            <attribute name="title">
+             <string>Config</string>
+            </attribute>
+            <widget class="QPushButton" name="Save_config_file">
+             <property name="geometry">
+              <rect>
+               <x>558</x>
+               <y>10</y>
+               <width>151</width>
+               <height>27</height>
+              </rect>
+             </property>
+             <property name="text">
+              <string>Save config file</string>
+             </property>
+            </widget>
+            <widget class="QPushButton" name="Open_config_file">
+             <property name="geometry">
+              <rect>
+               <x>390</x>
+               <y>10</y>
+               <width>151</width>
+               <height>27</height>
+              </rect>
+             </property>
+             <property name="text">
+              <string>Open config file</string>
+             </property>
+            </widget>
+            <widget class="QWidget" name="">
+             <property name="geometry">
+              <rect>
+               <x>40</x>
+               <y>50</y>
+               <width>751</width>
+               <height>29</height>
+              </rect>
+             </property>
+             <layout class="QHBoxLayout" name="horizontalLayout_11">
+              <item>
+               <widget class="QLabel" name="dxf_line_counter_4">
+                <property name="text">
+                 <string>Path user symbols QET : </string>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <spacer name="horizontalSpacer_12">
+                <property name="orientation">
+                 <enum>Qt::Horizontal</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>40</width>
+                  <height>20</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
+              <item>
+               <widget class="QLineEdit" name="QET_user_symbole_path_save">
+                <property name="minimumSize">
+                 <size>
+                  <width>450</width>
+                  <height>0</height>
+                 </size>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QPushButton" name="savepath_2">
+                <property name="minimumSize">
+                 <size>
+                  <width>0</width>
+                  <height>0</height>
+                 </size>
+                </property>
+                <property name="maximumSize">
+                 <size>
+                  <width>20</width>
+                  <height>16777215</height>
+                 </size>
+                </property>
+                <property name="text">
+                 <string>...</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
+            </widget>
+           </widget>
           </widget>
          </item>
         </layout>
@@ -2628,7 +2814,7 @@
      <x>0</x>
      <y>0</y>
      <width>1222</width>
-     <height>23</height>
+     <height>25</height>
     </rect>
    </property>
    <property name="nativeMenuBar">
@@ -2646,13 +2832,19 @@
   </widget>
   <widget class="QStatusBar" name="statusBar"/>
   <widget class="QToolBar" name="toolBar">
+   <property name="sizePolicy">
+    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+     <horstretch>0</horstretch>
+     <verstretch>0</verstretch>
+    </sizepolicy>
+   </property>
    <property name="windowTitle">
     <string>toolBar</string>
    </property>
    <property name="iconSize">
     <size>
-     <width>32</width>
-     <height>32</height>
+     <width>35</width>
+     <height>46</height>
     </size>
    </property>
    <attribute name="toolBarArea">
@@ -2670,34 +2862,25 @@
    <property name="enabled">
     <bool>true</bool>
    </property>
-   <property name="icon">
-    <iconset>
-     <normaloff>icon/document-open dxf-csv.png</normaloff>
-     <normalon>icon/document-open dxf-csv.png</normalon>icon/document-open dxf-csv.png</iconset>
-   </property>
    <property name="text">
     <string>&amp;Open</string>
    </property>
    <property name="toolTip">
     <string>Open dxf or CSV file</string>
    </property>
+   <property name="iconVisibleInMenu">
+    <bool>true</bool>
+   </property>
   </action>
   <action name="actionSave_as_elmt">
-   <property name="icon">
-    <iconset>
-     <normaloff>icon/document-save-as elmt.png</normaloff>
-     <normalon>icon/document-save-as elmt.png</normalon>icon/document-save-as elmt.png</iconset>
-   </property>
    <property name="text">
     <string>&amp;Save as elmt</string>
    </property>
+   <property name="iconVisibleInMenu">
+    <bool>true</bool>
+   </property>
   </action>
   <action name="actionSave_as_qet">
-   <property name="icon">
-    <iconset>
-     <normaloff>icon/document-save-as qet.png</normaloff>
-     <normalon>icon/document-save-as qet.png</normalon>icon/document-save-as qet.png</iconset>
-   </property>
    <property name="text">
     <string>Save as &amp;qet</string>
    </property>

Deleted: branches/dxftoqet2/icon/document-open.png
===================================================================
(Binary files differ)

Modified: branches/dxftoqet2/src/dxf/dxf_ellipse.cpp
===================================================================
--- branches/dxftoqet2/src/dxf/dxf_ellipse.cpp	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf/dxf_ellipse.cpp	2015-10-04 19:47:08 UTC (rev 4233)
@@ -12,59 +12,29 @@
 
 	Result_ellipse="";
 
+	pow_major_x= (-major_radius_x);
+	pow_major_y= (+major_radius_y);
 
+	rotation=180*((major_radius_y/major_radius_x)/3.141592654);
 
-	//a=0;
-	//b=0;
-	//i2=0;
-	//j2=0;
-	//Pstart=0;
-	//Pend2=0;
-	//hoek2=0;
 
-	//center_x=0;
-	//center_y=0;
-	//major_radius_x=0;
-	//major_radius_y=0;
-	//ratio_of_minor=0;
-	//end2=0;
-	//start=0;
+	width=(qSqrt(qPow(pow_major_x,2) - qPow(pow_major_y,2)));
 
+	height=(width*ratio_of_minor);
 
-	width=2*major_radius_x;
-	height=2*major_radius_x*ratio_of_minor;
-
-	a=width/2;
-	b=height/2;
-
-	i2=1;
-	j2=0.1;
-	Pstart=0;
-	Pend2=0;
-
 	Pstart=(180*(start/3.141592654));
 
 	Pend2=(180*(end2/3.141592654));
 
+
 	hoek2=Pstart-Pend2;
-	begin=Pstart-hoek2;
 
-	x_center=((center_x-(width/2) ));
-	y_center=((center_y-(height/2) ));
-
-	breedte=width;
-	hoogte=height;
-
-	BeginHoek=begin;
-	Hoek2=hoek2;
-
-
-	db_ellipse.QET_x=x_center;
-	db_ellipse.QET_y=y_center;
-	db_ellipse.QET_start=BeginHoek;
-	db_ellipse.QET_angle=Hoek2;
-	db_ellipse.QET_width=breedte;
-	db_ellipse.QET_height=hoogte;
+	db_ellipse.QET_x=center_x;
+	db_ellipse.QET_y=center_y;
+	db_ellipse.QET_start=Pstart+rotation;
+	db_ellipse.QET_angle=-hoek2;
+	db_ellipse.QET_width=width;
+	db_ellipse.QET_height=height;
 	db_ellipse.QET_antialias="false";
 
 	DXF_Ltype_control db_line_ltype_control;

Modified: branches/dxftoqet2/src/dxf/dxf_ellipse.h
===================================================================
--- branches/dxftoqet2/src/dxf/dxf_ellipse.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf/dxf_ellipse.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -4,6 +4,7 @@
 #include <QMainWindow>
 #include "dxf_base_types/dxf_base_ellipse.h"
 #include "dxf_control/dxf_ltype_control.h"
+#include <QtMath>
 
 class dxf_ellipse : public QMainWindow
 {
@@ -29,67 +30,37 @@
 	float Hoek2;
 
 
-	float center_x;
-	float center_y;
-	float major_radius_x;
-	float major_radius_y;
-	float ratio_of_minor;
-	float start;
+	float center_x;//10
+	float center_y;//20
+	float major_radius_x;//11
+	float major_radius_y;//21
+	float ratio_of_minor;//40
+	float start;//41
 
-	float end2;
+	float end2;//42
 
-	float begin1;
-	float einde1;
-
-	float begin;
-	float einde;
-
-
-
 	float width;
 	float height;
 
-
 	float hoek2;
 
-
-	float a;
-	float b;
-	float i2;
-	float j2;
 	float Pstart;
 	float Pend2;
 
-	float startcos;
-	float startsin;
-	float endcos;
-	float endsin;
-	float powwidth;
-	float powheight;
-	float sqrtwidth;
-	float sqrtheight;
+	float pow_major_x;
+	float pow_major_y;
+	float rotation;
 
-	/*float N;
-	float O;
-	float J;
-	float K;
-	float L;
-	float M;
-	float R;
-	float S;
-	float T;
-	float U;
-	float V;
-	float W;*/
 
+
+
 	QString ltype;
 	QString layer;
 
 	QString Create_ELLIPSE();
 
-	double RadiansToDegrees (double Radians);
-	double DegreesToRadians (double Degrees);
 
+
 	signals:
 
 	public slots:

Modified: branches/dxftoqet2/src/dxf/dxf_point.h
===================================================================
--- branches/dxftoqet2/src/dxf/dxf_point.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf/dxf_point.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -24,7 +24,7 @@
 	QString handle;			//5
 	QString softID;			//330
 
-	int16_t color;			//62
+	//int16_t color;			//62
 
 	QString orientation;	//qet
 

Modified: branches/dxftoqet2/src/dxf_base_types/dxf_base_line.h
===================================================================
--- branches/dxftoqet2/src/dxf_base_types/dxf_base_line.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf_base_types/dxf_base_line.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -22,7 +22,7 @@
 	QString handle;			//5
 	QString softID;			//330
 
-	int16_t color;			//62
+	//int16_t color;			//62
 
 	//QET xml var
 	double QETlenght1;

Modified: branches/dxftoqet2/src/dxf_data.h
===================================================================
--- branches/dxftoqet2/src/dxf_data.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf_data.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -118,7 +118,7 @@
 		int16_t dxf_table_block_record_code_281;
 
 		QString dxf_table_block_record_code_330;
-		QString dxf_table_block_record_code_331;
+		QString dxf_table_block_record_code_331[20];
 
 		QString dxf_table_block_record_code_340;
 		QString dxf_table_block_record_code_360;
@@ -595,7 +595,7 @@
 		int DXF_block_text_count[100];
 		int DXF_block_tolerance_count[100];
 		int DXF_block_trace_count[100];
-		int DXF_block_underlay[100];
+		int DXF_block_underlay_count[100];
 		int DXF_block_vertex_count[100];
 		int DXF_block_viewport_count[100];
 		int DXF_block_wipeout_count[100];
@@ -665,82 +665,773 @@
 
 	struct DXF_block_3dface
 	{
+		QString DXF_block_3dface_code_5;
+		QString DXF_block_3dface_code_6;
+		QString DXF_block_3dface_code_8;
 
+		double DXF_block_3dface_code_10;
+		double DXF_block_3dface_code_11;
+		double DXF_block_3dface_code_12;
+		double DXF_block_3dface_code_13;
+		double DXF_block_3dface_code_14[5];
+
+
+		double DXF_block_3dface_code_20;
+		double DXF_block_3dface_code_21;
+		double DXF_block_3dface_code_22;
+		double DXF_block_3dface_code_23;
+		double DXF_block_3dface_code_24[5];
+
+		double DXF_block_3dface_code_30;
+		double DXF_block_3dface_code_31;
+		double DXF_block_3dface_code_32;
+
+
+		int16_t DXF_block_3dface_code_62;
+
+		int16_t DXF_block_3dface_code_70;
+		int16_t DXF_block_3dface_code_71;
+
+		int32_t DXF_block_3dface_code_90;
+		int32_t DXF_block_3dface_code_91;
+		int32_t DXF_block_3dface_code_92;
+
+		QString DXF_block_3dface_code_100[2];
+
+
+		int16_t DXF_block_3dface_code_280;
+		int16_t DXF_block_3dface_code_281;
+		int16_t DXF_block_3dface_code_282;
+		int16_t DXF_block_3dface_code_283;
+
+		QString DXF_block_3dface_code_310;
+		QString DXF_block_3dface_code_330;
+		QString DXF_block_3dface_code_340;
+		QString DXF_block_3dface_code_360;
 	};
 
 	struct DXF_block_3dsolid
 	{
+		QString DXF_block_3dsolid_code_5;
+		QString DXF_block_3dsolid_code_6;
+		QString DXF_block_3dsolid_code_8;
 
+		double DXF_block_3dsolid_code_10;
+		double DXF_block_3dsolid_code_11;
+		double DXF_block_3dsolid_code_12;
+		double DXF_block_3dsolid_code_13;
+		double DXF_block_3dsolid_code_14[5];
+
+
+		double DXF_block_3dsolid_code_20;
+		double DXF_block_3dsolid_code_21;
+		double DXF_block_3dsolid_code_22;
+		double DXF_block_3dsolid_code_23;
+		double DXF_block_3dsolid_code_24[5];
+
+		double DXF_block_3dsolid_code_30;
+		double DXF_block_3dsolid_code_31;
+		double DXF_block_3dsolid_code_32;
+
+
+		int16_t DXF_block_3dsolid_code_62;
+
+		int16_t DXF_block_3dsolid_code_70;
+		int16_t DXF_block_3dsolid_code_71;
+
+		int32_t DXF_block_3dsolid_code_90;
+		int32_t DXF_block_3dsolid_code_91;
+		int32_t DXF_block_3dsolid_code_92;
+
+		QString DXF_block_3dsolid_code_100[2];
+
+
+		int16_t DXF_block_3dsolid_code_280;
+		int16_t DXF_block_3dsolid_code_281;
+		int16_t DXF_block_3dsolid_code_282;
+		int16_t DXF_block_3dsolid_code_283;
+
+		QString DXF_block_3dsolid_code_310;
+		QString DXF_block_3dsolid_code_330;
+		QString DXF_block_3dsolid_code_340;
+		QString DXF_block_3dsolid_code_360;
 	};
 
 	struct DXF_block_acad_proxy_entity
 	{
+		QString DXF_block_acad_proxy_entity_code_5;
+		QString DXF_block_acad_proxy_entity_code_6;
+		QString DXF_block_acad_proxy_entity_code_8;
 
+		double DXF_block_acad_proxy_entity_code_10;
+		double DXF_block_acad_proxy_entity_code_11;
+		double DXF_block_acad_proxy_entity_code_12;
+		double DXF_block_acad_proxy_entity_code_13;
+		double DXF_block_acad_proxy_entity_code_14[5];
+
+
+		double DXF_block_acad_proxy_entity_code_20;
+		double DXF_block_acad_proxy_entity_code_21;
+		double DXF_block_acad_proxy_entity_code_22;
+		double DXF_block_acad_proxy_entity_code_23;
+		double DXF_block_acad_proxy_entity_code_24[5];
+
+		double DXF_block_acad_proxy_entity_code_30;
+		double DXF_block_acad_proxy_entity_code_31;
+		double DXF_block_acad_proxy_entity_code_32;
+
+
+		int16_t DXF_block_acad_proxy_entity_code_62;
+
+		int16_t DXF_block_acad_proxy_entity_code_70;
+		int16_t DXF_block_acad_proxy_entity_code_71;
+
+		int32_t DXF_block_acad_proxy_entity_code_90;
+		int32_t DXF_block_acad_proxy_entity_code_91;
+		int32_t DXF_block_acad_proxy_entity_code_92;
+
+		QString DXF_block_acad_proxy_entity_code_100[2];
+
+
+		int16_t DXF_block_acad_proxy_entity_code_280;
+		int16_t DXF_block_acad_proxy_entity_code_281;
+		int16_t DXF_block_acad_proxy_entity_code_282;
+		int16_t DXF_block_acad_proxy_entity_code_283;
+
+		QString DXF_block_acad_proxy_entity_code_310;
+		QString DXF_block_acad_proxy_entity_code_330;
+		QString DXF_block_acad_proxy_entity_code_340;
+		QString DXF_block_acad_proxy_entity_code_360;
 	};
 
 	struct DXF_block_arc
 	{
+		QString DXF_block_arc_code_5;
+		QString DXF_block_arc_code_6;
+		QString DXF_block_arc_code_8;
 
+		double DXF_block_arc_code_10;
+		double DXF_block_arc_code_11;
+		double DXF_block_arc_code_12;
+		double DXF_block_arc_code_13;
+		double DXF_block_arc_code_14[5];
+
+
+		double DXF_block_arc_code_20;
+		double DXF_block_arc_code_21;
+		double DXF_block_arc_code_22;
+		double DXF_block_arc_code_23;
+		double DXF_block_arc_code_24[5];
+
+		double DXF_block_arc_code_30;
+		double DXF_block_arc_code_31;
+		double DXF_block_arc_code_32;
+
+
+		int16_t DXF_block_arc_code_62;
+
+		int16_t DXF_block_arc_code_70;
+		int16_t DXF_block_arc_code_71;
+
+		int32_t DXF_block_arc_code_90;
+		int32_t DXF_block_arc_code_91;
+		int32_t DXF_block_arc_code_92;
+
+		QString DXF_block_arc_code_100[2];
+
+
+		int16_t DXF_block_arc_code_280;
+		int16_t DXF_block_arc_code_281;
+		int16_t DXF_block_arc_code_282;
+		int16_t DXF_block_arc_code_283;
+
+		QString DXF_block_arc_code_310;
+		QString DXF_block_arc_code_330;
+		QString DXF_block_arc_code_340;
+		QString DXF_block_arc_code_360;
 	};
 
 	struct DXF_block_attdef
 	{
+		QString DXF_block_attdef_code_1;
+		QString DXF_block_attdef_code_2;
+		QString DXF_block_attdef_code_3;
+		QString DXF_block_attdef_code_5;
+		QString DXF_block_attdef_code_6;
+		QString DXF_block_attdef_code_8;
 
+		double DXF_block_attdef_code_10;
+		double DXF_block_attdef_code_11;
+		double DXF_block_attdef_code_12;
+		double DXF_block_attdef_code_13;
+		double DXF_block_attdef_code_14[5];
+
+
+		double DXF_block_attdef_code_20;
+		double DXF_block_attdef_code_21;
+		double DXF_block_attdef_code_22;
+		double DXF_block_attdef_code_23;
+		double DXF_block_attdef_code_24[5];
+
+		double DXF_block_attdef_code_30;
+		double DXF_block_attdef_code_31;
+		double DXF_block_attdef_code_32;
+
+		double DXF_block_attdef_code_40;
+		double DXF_block_attdef_code_53;
+
+		int16_t DXF_block_attdef_code_62;
+
+		int16_t DXF_block_attdef_code_70;
+		int16_t DXF_block_attdef_code_71;
+		int16_t DXF_block_attdef_code_72;
+		int16_t DXF_block_attdef_code_74;
+
+		int32_t DXF_block_attdef_code_90;
+
+		int32_t DXF_block_attdef_code_91;
+		int32_t DXF_block_attdef_code_92;
+
+		QString DXF_block_attdef_code_100[5];
+
+
+		int16_t DXF_block_attdef_code_280;
+		int16_t DXF_block_attdef_code_281;
+		int16_t DXF_block_attdef_code_282;
+		int16_t DXF_block_attdef_code_283;
+
+		QString DXF_block_attdef_code_310;
+		QString DXF_block_attdef_code_330;
+		QString DXF_block_attdef_code_340;
+		QString DXF_block_attdef_code_360;
 	};
 
 	struct DXF_block_attrib
 	{
+		QString DXF_block_attrib_code_5;
+		QString DXF_block_attrib_code_6;
+		QString DXF_block_attrib_code_8;
 
+		double DXF_block_attrib_code_10;
+		double DXF_block_attrib_code_11;
+		double DXF_block_attrib_code_12;
+		double DXF_block_attrib_code_13;
+		double DXF_block_attrib_code_14[5];
+
+
+		double DXF_block_attrib_code_20;
+		double DXF_block_attrib_code_21;
+		double DXF_block_attrib_code_22;
+		double DXF_block_attrib_code_23;
+		double DXF_block_attrib_code_24[5];
+
+		double DXF_block_attrib_code_30;
+		double DXF_block_attrib_code_31;
+		double DXF_block_attrib_code_32;
+
+
+		int16_t DXF_block_attrib_code_62;
+
+		int16_t DXF_block_attrib_code_70;
+		int16_t DXF_block_attrib_code_71;
+
+		int32_t DXF_block_attrib_code_90;
+		int32_t DXF_block_attrib_code_91;
+		int32_t DXF_block_attrib_code_92;
+
+		QString DXF_block_attrib_code_100[2];
+
+
+		int16_t DXF_block_attrib_code_280;
+		int16_t DXF_block_attrib_code_281;
+		int16_t DXF_block_attrib_code_282;
+		int16_t DXF_block_attrib_code_283;
+
+		QString DXF_block_attrib_code_310;
+		QString DXF_block_attrib_code_330;
+		QString DXF_block_attrib_code_340;
+		QString DXF_block_attrib_code_360;
 	};
 
 	struct DXF_block_body
 	{
+		QString DXF_block_body_code_5;
+		QString DXF_block_body_code_6;
+		QString DXF_block_body_code_8;
 
+		double DXF_block_body_code_10;
+		double DXF_block_body_code_11;
+		double DXF_block_body_code_12;
+		double DXF_block_body_code_13;
+		double DXF_block_body_code_14[5];
+
+
+		double DXF_block_body_code_20;
+		double DXF_block_body_code_21;
+		double DXF_block_body_code_22;
+		double DXF_block_body_code_23;
+		double DXF_block_body_code_24[5];
+
+		double DXF_block_body_code_30;
+		double DXF_block_body_code_31;
+		double DXF_block_body_code_32;
+
+
+		int16_t DXF_block_body_code_62;
+
+		int16_t DXF_block_body_code_70;
+		int16_t DXF_block_body_code_71;
+
+		int32_t DXF_block_body_code_90;
+		int32_t DXF_block_body_code_91;
+		int32_t DXF_block_body_code_92;
+
+		QString DXF_block_body_code_100[2];
+
+
+		int16_t DXF_block_body_code_280;
+		int16_t DXF_block_body_code_281;
+		int16_t DXF_block_body_code_282;
+		int16_t DXF_block_body_code_283;
+
+		QString DXF_block_body_code_310;
+		QString DXF_block_body_code_330;
+		QString DXF_block_body_code_340;
+		QString DXF_block_body_code_360;
 	};
 
 	struct DXF_block_circle
 	{
+		QString DXF_block_circle_code_1;
+		QString DXF_block_circle_code_2;
+		QString DXF_block_circle_code_3;
+		QString DXF_block_circle_code_5;
+		QString DXF_block_circle_code_6;
+		QString DXF_block_circle_code_8;
 
+		double DXF_block_circle_code_10;
+		double DXF_block_circle_code_11;
+		double DXF_block_circle_code_12;
+		double DXF_block_circle_code_13;
+		double DXF_block_circle_code_14[5];
+
+
+		double DXF_block_circle_code_20;
+		double DXF_block_circle_code_21;
+		double DXF_block_circle_code_22;
+		double DXF_block_circle_code_23;
+		double DXF_block_circle_code_24[5];
+
+		double DXF_block_circle_code_30;
+		double DXF_block_circle_code_31;
+		double DXF_block_circle_code_32;
+
+		double DXF_block_circle_code_40;
+		double DXF_block_circle_code_48;
+
+		int16_t DXF_block_circle_code_62;
+
+		int16_t DXF_block_circle_code_70;
+		int16_t DXF_block_circle_code_71;
+		int16_t DXF_block_circle_code_72;
+		int16_t DXF_block_circle_code_74;
+
+		int32_t DXF_block_circle_code_90;
+		int32_t DXF_block_circle_code_91;
+		int32_t DXF_block_circle_code_92;
+
+		QString DXF_block_circle_code_100[2];
+		QString DXF_block_circle_code_102[2];
+
+
+		int16_t DXF_block_circle_code_280;
+		int16_t DXF_block_circle_code_281;
+		int16_t DXF_block_circle_code_282;
+		int16_t DXF_block_circle_code_283;
+
+		QString DXF_block_circle_code_310;
+		QString DXF_block_circle_code_330[2];
+		QString DXF_block_circle_code_340;
+		QString DXF_block_circle_code_360;
+
+		int16_t DXF_block_circle_code_370;
+
 	};
 
 	struct DXF_block_dimension
 	{
+		QString DXF_block_dimension_code_5;
+		QString DXF_block_dimension_code_6;
+		QString DXF_block_dimension_code_8;
 
+		double DXF_block_dimension_code_10;
+		double DXF_block_dimension_code_11;
+		double DXF_block_dimension_code_12;
+		double DXF_block_dimension_code_13;
+		double DXF_block_dimension_code_14[5];
+
+
+		double DXF_block_dimension_code_20;
+		double DXF_block_dimension_code_21;
+		double DXF_block_dimension_code_22;
+		double DXF_block_dimension_code_23;
+		double DXF_block_dimension_code_24[5];
+
+		double DXF_block_dimension_code_30;
+		double DXF_block_dimension_code_31;
+		double DXF_block_dimension_code_32;
+
+
+		int16_t DXF_block_dimension_code_62;
+
+		int16_t DXF_block_dimension_code_70;
+		int16_t DXF_block_dimension_code_71;
+
+		int32_t DXF_block_dimension_code_90;
+		int32_t DXF_block_dimension_code_91;
+		int32_t DXF_block_dimension_code_92;
+
+		QString DXF_block_dimension_code_100[2];
+
+
+		int16_t DXF_block_dimension_code_280;
+		int16_t DXF_block_dimension_code_281;
+		int16_t DXF_block_dimension_code_282;
+		int16_t DXF_block_dimension_code_283;
+
+		QString DXF_block_dimension_code_310;
+		QString DXF_block_dimension_code_330;
+		QString DXF_block_dimension_code_340;
+		QString DXF_block_dimension_code_360;
 	};
 
 	struct DXF_block_ellipse
 	{
+		QString DXF_block_ellipse_code_5;
+		QString DXF_block_ellipse_code_6;
+		QString DXF_block_ellipse_code_8;
 
+		double DXF_block_ellipse_code_10;
+		double DXF_block_ellipse_code_11;
+		double DXF_block_ellipse_code_12;
+		double DXF_block_ellipse_code_13;
+		double DXF_block_ellipse_code_14[5];
+
+
+		double DXF_block_ellipse_code_20;
+		double DXF_block_ellipse_code_21;
+		double DXF_block_ellipse_code_22;
+		double DXF_block_ellipse_code_23;
+		double DXF_block_ellipse_code_24[5];
+
+		double DXF_block_ellipse_code_30;
+		double DXF_block_ellipse_code_31;
+		double DXF_block_ellipse_code_32;
+
+
+		int16_t DXF_block_ellipse_code_62;
+
+		int16_t DXF_block_ellipse_code_70;
+		int16_t DXF_block_ellipse_code_71;
+
+		int32_t DXF_block_ellipse_code_90;
+		int32_t DXF_block_ellipse_code_91;
+		int32_t DXF_block_ellipse_code_92;
+
+		QString DXF_block_ellipse_code_100[2];
+
+
+		int16_t DXF_block_ellipse_code_280;
+		int16_t DXF_block_ellipse_code_281;
+		int16_t DXF_block_ellipse_code_282;
+		int16_t DXF_block_ellipse_code_283;
+
+		QString DXF_block_ellipse_code_310;
+		QString DXF_block_ellipse_code_330;
+		QString DXF_block_ellipse_code_340;
+		QString DXF_block_ellipse_code_360;
 	};
 
 	struct DXF_block_hatch
 	{
+		QString DXF_block_hatch_code_5;
+		QString DXF_block_hatch_code_6;
+		QString DXF_block_hatch_code_8;
 
+		double DXF_block_hatch_code_10;
+		double DXF_block_hatch_code_11;
+		double DXF_block_hatch_code_12;
+		double DXF_block_hatch_code_13;
+		double DXF_block_hatch_code_14[5];
+
+
+		double DXF_block_hatch_code_20;
+		double DXF_block_hatch_code_21;
+		double DXF_block_hatch_code_22;
+		double DXF_block_hatch_code_23;
+		double DXF_block_hatch_code_24[5];
+
+		double DXF_block_hatch_code_30;
+		double DXF_block_hatch_code_31;
+		double DXF_block_hatch_code_32;
+
+
+		int16_t DXF_block_hatch_code_62;
+
+		int16_t DXF_block_hatch_code_70;
+		int16_t DXF_block_hatch_code_71;
+
+		int32_t DXF_block_hatch_code_90;
+		int32_t DXF_block_hatch_code_91;
+		int32_t DXF_block_hatch_code_92;
+
+		QString DXF_block_hatch_code_100[2];
+
+
+		int16_t DXF_block_hatch_code_280;
+		int16_t DXF_block_hatch_code_281;
+		int16_t DXF_block_hatch_code_282;
+		int16_t DXF_block_hatch_code_283;
+
+		QString DXF_block_hatch_code_310;
+		QString DXF_block_hatch_code_330;
+		QString DXF_block_hatch_code_340;
+		QString DXF_block_hatch_code_360;
 	};
 
 	struct DXF_block_helix
 	{
+		QString DXF_block_helix_code_5;
+		QString DXF_block_helix_code_6;
+		QString DXF_block_helix_code_8;
 
+		double DXF_block_helix_code_10;
+		double DXF_block_helix_code_11;
+		double DXF_block_helix_code_12;
+		double DXF_block_helix_code_13;
+		double DXF_block_helix_code_14[5];
+
+
+		double DXF_block_helix_code_20;
+		double DXF_block_helix_code_21;
+		double DXF_block_helix_code_22;
+		double DXF_block_helix_code_23;
+		double DXF_block_helix_code_24[5];
+
+		double DXF_block_helix_code_30;
+		double DXF_block_helix_code_31;
+		double DXF_block_helix_code_32;
+
+
+		int16_t DXF_block_helix_code_62;
+
+		int16_t DXF_block_helix_code_70;
+		int16_t DXF_block_helix_code_71;
+
+		int32_t DXF_block_helix_code_90;
+		int32_t DXF_block_helix_code_91;
+		int32_t DXF_block_helix_code_92;
+
+		QString DXF_block_helix_code_100[2];
+
+
+		int16_t DXF_block_helix_code_280;
+		int16_t DXF_block_helix_code_281;
+		int16_t DXF_block_helix_code_282;
+		int16_t DXF_block_helix_code_283;
+
+		QString DXF_block_helix_code_310;
+		QString DXF_block_helix_code_330;
+		QString DXF_block_helix_code_340;
+		QString DXF_block_helix_code_360;
 	};
 
 	struct DXF_block_image
 	{
+		QString DXF_block_image_code_5;
+		QString DXF_block_image_code_6;
+		QString DXF_block_image_code_8;
 
+		double DXF_block_image_code_10;
+		double DXF_block_image_code_11;
+		double DXF_block_image_code_12;
+		double DXF_block_image_code_13;
+		double DXF_block_image_code_14[5];
+
+
+		double DXF_block_image_code_20;
+		double DXF_block_image_code_21;
+		double DXF_block_image_code_22;
+		double DXF_block_image_code_23;
+		double DXF_block_image_code_24[5];
+
+		double DXF_block_image_code_30;
+		double DXF_block_image_code_31;
+		double DXF_block_image_code_32;
+
+
+		int16_t DXF_block_image_code_62;
+
+		int16_t DXF_block_image_code_70;
+		int16_t DXF_block_image_code_71;
+
+		int32_t DXF_block_image_code_90;
+		int32_t DXF_block_image_code_91;
+		int32_t DXF_block_image_code_92;
+
+		QString DXF_block_image_code_100[2];
+
+
+		int16_t DXF_block_image_code_280;
+		int16_t DXF_block_image_code_281;
+		int16_t DXF_block_image_code_282;
+		int16_t DXF_block_image_code_283;
+
+		QString DXF_block_image_code_310;
+		QString DXF_block_image_code_330;
+		QString DXF_block_image_code_340;
+		QString DXF_block_image_code_360;
 	};
 
 	struct DXF_block_insert
 	{
+		QString DXF_block_insert_code_5;
+		QString DXF_block_insert_code_6;
+		QString DXF_block_insert_code_8;
 
+		double DXF_block_insert_code_10;
+		double DXF_block_insert_code_11;
+		double DXF_block_insert_code_12;
+		double DXF_block_insert_code_13;
+		double DXF_block_insert_code_14[5];
+
+
+		double DXF_block_insert_code_20;
+		double DXF_block_insert_code_21;
+		double DXF_block_insert_code_22;
+		double DXF_block_insert_code_23;
+		double DXF_block_insert_code_24[5];
+
+		double DXF_block_insert_code_30;
+		double DXF_block_insert_code_31;
+		double DXF_block_insert_code_32;
+
+
+		int16_t DXF_block_insert_code_62;
+
+		int16_t DXF_block_insert_code_70;
+		int16_t DXF_block_insert_code_71;
+
+		int32_t DXF_block_insert_code_90;
+		int32_t DXF_block_insert_code_91;
+		int32_t DXF_block_insert_code_92;
+
+		QString DXF_block_insert_code_100[2];
+
+
+		int16_t DXF_block_insert_code_280;
+		int16_t DXF_block_insert_code_281;
+		int16_t DXF_block_insert_code_282;
+		int16_t DXF_block_insert_code_283;
+
+		QString DXF_block_insert_code_310;
+		QString DXF_block_insert_code_330;
+		QString DXF_block_insert_code_340;
+		QString DXF_block_insert_code_360;
 	};
 
 	struct DXF_block_leader
 	{
+		QString DXF_block_leader_code_5;
+		QString DXF_block_leader_code_6;
+		QString DXF_block_leader_code_8;
 
+		double DXF_block_leader_code_10;
+		double DXF_block_leader_code_11;
+		double DXF_block_leader_code_12;
+		double DXF_block_leader_code_13;
+		double DXF_block_leader_code_14[5];
+
+
+		double DXF_block_leader_code_20;
+		double DXF_block_leader_code_21;
+		double DXF_block_leader_code_22;
+		double DXF_block_leader_code_23;
+		double DXF_block_leader_code_24[5];
+
+		double DXF_block_leader_code_30;
+		double DXF_block_leader_code_31;
+		double DXF_block_leader_code_32;
+
+
+		int16_t DXF_block_leader_code_62;
+
+		int16_t DXF_block_leader_code_70;
+		int16_t DXF_block_leader_code_71;
+
+		int32_t DXF_block_leader_code_90;
+		int32_t DXF_block_leader_code_91;
+		int32_t DXF_block_leader_code_92;
+
+		QString DXF_block_leader_code_100[2];
+
+
+		int16_t DXF_block_leader_code_280;
+		int16_t DXF_block_leader_code_281;
+		int16_t DXF_block_leader_code_282;
+		int16_t DXF_block_leader_code_283;
+
+		QString DXF_block_leader_code_310;
+		QString DXF_block_leader_code_330;
+		QString DXF_block_leader_code_340;
+		QString DXF_block_leader_code_360;
 	};
 
 	struct DXF_block_light
 	{
+		QString DXF_block_light_code_5;
+		QString DXF_block_light_code_6;
+		QString DXF_block_light_code_8;
 
+		double DXF_block_light_code_10;
+		double DXF_block_light_code_11;
+		double DXF_block_light_code_12;
+		double DXF_block_light_code_13;
+		double DXF_block_light_code_14[5];
+
+
+		double DXF_block_light_code_20;
+		double DXF_block_light_code_21;
+		double DXF_block_light_code_22;
+		double DXF_block_light_code_23;
+		double DXF_block_light_code_24[5];
+
+		double DXF_block_light_code_30;
+		double DXF_block_light_code_31;
+		double DXF_block_light_code_32;
+
+
+		int16_t DXF_block_light_code_62;
+
+		int16_t DXF_block_light_code_70;
+		int16_t DXF_block_light_code_71;
+
+		int32_t DXF_block_light_code_90;
+		int32_t DXF_block_light_code_91;
+		int32_t DXF_block_light_code_92;
+
+		QString DXF_block_light_code_100[2];
+
+
+		int16_t DXF_block_light_code_280;
+		int16_t DXF_block_light_code_281;
+		int16_t DXF_block_light_code_282;
+		int16_t DXF_block_light_code_283;
+
+		QString DXF_block_light_code_310;
+		QString DXF_block_light_code_330;
+		QString DXF_block_light_code_340;
+		QString DXF_block_light_code_360;
 	};
 
 	struct DXF_block_line
@@ -759,104 +1450,711 @@
 		double DXF_block_line_code_30;
 		double DXF_block_line_code_31;
 
+		double DXF_block_line_code_48;
+
 		int16_t DXF_block_line_code_62;
 
 		QString DXF_block_line_code_100[2];
+		QString DXF_block_line_code_102[2];
 
-		QString DXF_block_line_code_330;
+		QString DXF_block_line_code_330[5];
 
+		bool DXF_block_line_code_370;
+
 	};
 
 	struct DXF_block_lwpolyline
 	{
+		QString DXF_block_lwpolyline_code_1;
+		QString DXF_block_lwpolyline_code_2;
+		QString DXF_block_lwpolyline_code_3;
 		QString DXF_block_lwpolyline_code_5;
 		QString DXF_block_lwpolyline_code_6;
 		QString DXF_block_lwpolyline_code_8;
 
-		double DXF_block_lwpolyline_code_10;
+		double DXF_block_lwpolyline_code_10[4];
 		double DXF_block_lwpolyline_code_11;
 
-		double DXF_block_lwpolyline_code_20;
+		double DXF_block_lwpolyline_code_20[4];
 		double DXF_block_lwpolyline_code_21;
 
 		double DXF_block_lwpolyline_code_30;
 		double DXF_block_lwpolyline_code_31;
 
+		double DXF_block_lwpolyline_code_43;
+		double DXF_block_lwpolyline_code_48;
+
 		int16_t DXF_block_lwpolyline_code_62;
+		int16_t DXF_block_lwpolyline_code_70;
 
+		int32_t DXF_block_lwpolyline_code_90;
+
 		QString DXF_block_lwpolyline_code_100[2];
+		QString DXF_block_lwpolyline_code_102[2];
 
-		QString DXF_block_lwpolyline_code_330;
+		QString DXF_block_lwpolyline_code_330[2];
+		int16_t DXF_block_lwpolyline_code_370;
 	};
 
 	struct DXF_block_mesh
 	{
+		QString DXF_block_mesh_code_5;
+		QString DXF_block_mesh_code_6;
+		QString DXF_block_mesh_code_8;
 
+		double DXF_block_mesh_code_10;
+		double DXF_block_mesh_code_11;
+		double DXF_block_mesh_code_12;
+		double DXF_block_mesh_code_13;
+		double DXF_block_mesh_code_14[5];
+
+
+		double DXF_block_mesh_code_20;
+		double DXF_block_mesh_code_21;
+		double DXF_block_mesh_code_22;
+		double DXF_block_mesh_code_23;
+		double DXF_block_mesh_code_24[5];
+
+		double DXF_block_mesh_code_30;
+		double DXF_block_mesh_code_31;
+		double DXF_block_mesh_code_32;
+
+
+		int16_t DXF_block_mesh_code_62;
+
+		int16_t DXF_block_mesh_code_70;
+		int16_t DXF_block_mesh_code_71;
+
+		int32_t DXF_block_mesh_code_90;
+		int32_t DXF_block_mesh_code_91;
+		int32_t DXF_block_mesh_code_92;
+
+		QString DXF_block_mesh_code_100[2];
+
+
+		int16_t DXF_block_mesh_code_280;
+		int16_t DXF_block_mesh_code_281;
+		int16_t DXF_block_mesh_code_282;
+		int16_t DXF_block_mesh_code_283;
+
+		QString DXF_block_mesh_code_310;
+		QString DXF_block_mesh_code_330;
+		QString DXF_block_mesh_code_340;
+		QString DXF_block_mesh_code_360;
 	};
 
 	struct DXF_block_mline
 	{
+		QString DXF_block_mline_code_5;
+		QString DXF_block_mline_code_6;
+		QString DXF_block_mline_code_8;
 
+		double DXF_block_mline_code_10;
+		double DXF_block_mline_code_11;
+		double DXF_block_mline_code_12;
+		double DXF_block_mline_code_13;
+		double DXF_block_mline_code_14[5];
+
+
+		double DXF_block_mline_code_20;
+		double DXF_block_mline_code_21;
+		double DXF_block_mline_code_22;
+		double DXF_block_mline_code_23;
+		double DXF_block_mline_code_24[5];
+
+		double DXF_block_mline_code_30;
+		double DXF_block_mline_code_31;
+		double DXF_block_mline_code_32;
+
+
+		int16_t DXF_block_mline_code_62;
+
+		int16_t DXF_block_mline_code_70;
+		int16_t DXF_block_mline_code_71;
+
+		int32_t DXF_block_mline_code_90;
+		int32_t DXF_block_mline_code_91;
+		int32_t DXF_block_mline_code_92;
+
+		QString DXF_block_mline_code_100[2];
+
+
+		int16_t DXF_block_mline_code_280;
+		int16_t DXF_block_mline_code_281;
+		int16_t DXF_block_mline_code_282;
+		int16_t DXF_block_mline_code_283;
+
+		QString DXF_block_mline_code_310;
+		QString DXF_block_mline_code_330;
+		QString DXF_block_mline_code_340;
+		QString DXF_block_mline_code_360;
 	};
 
 	struct DXF_block_mleaderstyle
 	{
+		QString DXF_block_mleaderstyle_code_5;
+		QString DXF_block_mleaderstyle_code_6;
+		QString DXF_block_mleaderstyle_code_8;
 
+		double DXF_block_mleaderstyle_code_10;
+		double DXF_block_mleaderstyle_code_11;
+		double DXF_block_mleaderstyle_code_12;
+		double DXF_block_mleaderstyle_code_13;
+		double DXF_block_mleaderstyle_code_14[5];
+
+
+		double DXF_block_mleaderstyle_code_20;
+		double DXF_block_mleaderstyle_code_21;
+		double DXF_block_mleaderstyle_code_22;
+		double DXF_block_mleaderstyle_code_23;
+		double DXF_block_mleaderstyle_code_24[5];
+
+		double DXF_block_mleaderstyle_code_30;
+		double DXF_block_mleaderstyle_code_31;
+		double DXF_block_mleaderstyle_code_32;
+
+
+		int16_t DXF_block_mleaderstyle_code_62;
+
+		int16_t DXF_block_mleaderstyle_code_70;
+		int16_t DXF_block_mleaderstyle_code_71;
+
+		int32_t DXF_block_mleaderstyle_code_90;
+		int32_t DXF_block_mleaderstyle_code_91;
+		int32_t DXF_block_mleaderstyle_code_92;
+
+		QString DXF_block_mleaderstyle_code_100[2];
+
+
+		int16_t DXF_block_mleaderstyle_code_280;
+		int16_t DXF_block_mleaderstyle_code_281;
+		int16_t DXF_block_mleaderstyle_code_282;
+		int16_t DXF_block_mleaderstyle_code_283;
+
+		QString DXF_block_mleaderstyle_code_310;
+		QString DXF_block_mleaderstyle_code_330;
+		QString DXF_block_mleaderstyle_code_340;
+		QString DXF_block_mleaderstyle_code_360;
 	};
 
 	struct DXF_block_mleader
 	{
+		QString DXF_block_mleader_code_5;
+		QString DXF_block_mleader_code_6;
+		QString DXF_block_mleader_code_8;
 
+		double DXF_block_mleader_code_10;
+		double DXF_block_mleader_code_11;
+		double DXF_block_mleader_code_12;
+		double DXF_block_mleader_code_13;
+		double DXF_block_mleader_code_14[5];
+
+
+		double DXF_block_mleader_code_20;
+		double DXF_block_mleader_code_21;
+		double DXF_block_mleader_code_22;
+		double DXF_block_mleader_code_23;
+		double DXF_block_mleader_code_24[5];
+
+		double DXF_block_mleader_code_30;
+		double DXF_block_mleader_code_31;
+		double DXF_block_mleader_code_32;
+
+
+		int16_t DXF_block_mleader_code_62;
+
+		int16_t DXF_block_mleader_code_70;
+		int16_t DXF_block_mleader_code_71;
+
+		int32_t DXF_block_mleader_code_90;
+		int32_t DXF_block_mleader_code_91;
+		int32_t DXF_block_mleader_code_92;
+
+		QString DXF_block_mleader_code_100[2];
+
+
+		int16_t DXF_block_mleader_code_280;
+		int16_t DXF_block_mleader_code_281;
+		int16_t DXF_block_mleader_code_282;
+		int16_t DXF_block_mleader_code_283;
+
+		QString DXF_block_mleader_code_310;
+		QString DXF_block_mleader_code_330;
+		QString DXF_block_mleader_code_340;
+		QString DXF_block_mleader_code_360;
 	};
 
 	struct DXF_block_mtext
 	{
+		QString DXF_block_mtext_code_1;
+		QString DXF_block_mtext_code_2;
+		QString DXF_block_mtext_code_3;
+		QString DXF_block_mtext_code_5;
+		QString DXF_block_mtext_code_6;
+		QString DXF_block_mtext_code_8;
 
+		double DXF_block_mtext_code_10;
+		double DXF_block_mtext_code_11;
+		double DXF_block_mtext_code_12;
+		double DXF_block_mtext_code_13;
+		double DXF_block_mtext_code_14[5];
+
+
+		double DXF_block_mtext_code_20;
+		double DXF_block_mtext_code_21;
+		double DXF_block_mtext_code_22;
+		double DXF_block_mtext_code_23;
+		double DXF_block_mtext_code_24[5];
+
+		double DXF_block_mtext_code_30;
+		double DXF_block_mtext_code_31;
+		double DXF_block_mtext_code_32;
+
+
+		int16_t DXF_block_mtext_code_62;
+
+		int16_t DXF_block_mtext_code_70;
+		int16_t DXF_block_mtext_code_71;
+
+		int32_t DXF_block_mtext_code_90;
+		int32_t DXF_block_mtext_code_91;
+		int32_t DXF_block_mtext_code_92;
+
+		QString DXF_block_mtext_code_100[2];
+
+
+		int16_t DXF_block_mtext_code_280;
+		int16_t DXF_block_mtext_code_281;
+		int16_t DXF_block_mtext_code_282;
+		int16_t DXF_block_mtext_code_283;
+
+		QString DXF_block_mtext_code_310;
+		QString DXF_block_mtext_code_330;
+		QString DXF_block_mtext_code_340;
+		QString DXF_block_mtext_code_360;
 	};
 
 	struct DXF_block_oleframe
 	{
+		QString DXF_block_oleframe_code_5;
+		QString DXF_block_oleframe_code_6;
+		QString DXF_block_oleframe_code_8;
 
+		double DXF_block_oleframe_code_10;
+		double DXF_block_oleframe_code_11;
+		double DXF_block_oleframe_code_12;
+		double DXF_block_oleframe_code_13;
+		double DXF_block_oleframe_code_14[5];
+
+
+		double DXF_block_oleframe_code_20;
+		double DXF_block_oleframe_code_21;
+		double DXF_block_oleframe_code_22;
+		double DXF_block_oleframe_code_23;
+		double DXF_block_oleframe_code_24[5];
+
+		double DXF_block_oleframe_code_30;
+		double DXF_block_oleframe_code_31;
+		double DXF_block_oleframe_code_32;
+
+
+		int16_t DXF_block_oleframe_code_62;
+
+		int16_t DXF_block_oleframe_code_70;
+		int16_t DXF_block_oleframe_code_71;
+
+		int32_t DXF_block_oleframe_code_90;
+		int32_t DXF_block_oleframe_code_91;
+		int32_t DXF_block_oleframe_code_92;
+
+		QString DXF_block_oleframe_code_100[2];
+
+
+		int16_t DXF_block_oleframe_code_280;
+		int16_t DXF_block_oleframe_code_281;
+		int16_t DXF_block_oleframe_code_282;
+		int16_t DXF_block_oleframe_code_283;
+
+		QString DXF_block_oleframe_code_310;
+		QString DXF_block_oleframe_code_330;
+		QString DXF_block_oleframe_code_340;
+		QString DXF_block_oleframe_code_360;
 	};
 
 	struct DXF_block_ole2frame
 	{
+		QString DXF_block_ole2frame_code_5;
+		QString DXF_block_ole2frame_code_6;
+		QString DXF_block_ole2frame_code_8;
 
+		double DXF_block_ole2frame_code_10;
+		double DXF_block_ole2frame_code_11;
+		double DXF_block_ole2frame_code_12;
+		double DXF_block_ole2frame_code_13;
+		double DXF_block_ole2frame_code_14[5];
+
+
+		double DXF_block_ole2frame_code_20;
+		double DXF_block_ole2frame_code_21;
+		double DXF_block_ole2frame_code_22;
+		double DXF_block_ole2frame_code_23;
+		double DXF_block_ole2frame_code_24[5];
+
+		double DXF_block_ole2frame_code_30;
+		double DXF_block_ole2frame_code_31;
+		double DXF_block_ole2frame_code_32;
+
+
+		int16_t DXF_block_ole2frame_code_62;
+
+		int16_t DXF_block_ole2frame_code_70;
+		int16_t DXF_block_ole2frame_code_71;
+
+		int32_t DXF_block_ole2frame_code_90;
+		int32_t DXF_block_ole2frame_code_91;
+		int32_t DXF_block_ole2frame_code_92;
+
+		QString DXF_block_ole2frame_code_100[2];
+
+
+		int16_t DXF_block_ole2frame_code_280;
+		int16_t DXF_block_ole2frame_code_281;
+		int16_t DXF_block_ole2frame_code_282;
+		int16_t DXF_block_ole2frame_code_283;
+
+		QString DXF_block_ole2frame_code_310;
+		QString DXF_block_ole2frame_code_330;
+		QString DXF_block_ole2frame_code_340;
+		QString DXF_block_ole2frame_code_360;
 	};
 
 	struct DXF_block_point
 	{
+		QString DXF_block_point_code_5;
+		QString DXF_block_point_code_6;
+		QString DXF_block_point_code_8;
 
+		double DXF_block_point_code_10;
+		double DXF_block_point_code_11;
+		double DXF_block_point_code_12;
+		double DXF_block_point_code_13;
+		double DXF_block_point_code_14[5];
+
+
+		double DXF_block_point_code_20;
+		double DXF_block_point_code_21;
+		double DXF_block_point_code_22;
+		double DXF_block_point_code_23;
+		double DXF_block_point_code_24[5];
+
+		double DXF_block_point_code_30;
+		double DXF_block_point_code_31;
+		double DXF_block_point_code_32;
+
+
+		int16_t DXF_block_point_code_62;
+
+		int16_t DXF_block_point_code_70;
+		int16_t DXF_block_point_code_71;
+
+		int32_t DXF_block_point_code_90;
+		int32_t DXF_block_point_code_91;
+		int32_t DXF_block_point_code_92;
+
+		QString DXF_block_point_code_100[2];
+
+
+		int16_t DXF_block_point_code_280;
+		int16_t DXF_block_point_code_281;
+		int16_t DXF_block_point_code_282;
+		int16_t DXF_block_point_code_283;
+
+		QString DXF_block_point_code_310;
+		QString DXF_block_point_code_330;
+		QString DXF_block_point_code_340;
+		QString DXF_block_point_code_360;
 	};
 
 	struct DXF_block_polyline
 	{
+		QString DXF_block_polyline_code_5;
+		QString DXF_block_polyline_code_6;
+		QString DXF_block_polyline_code_8;
 
+		double DXF_block_polyline_code_10;
+		double DXF_block_polyline_code_11;
+		double DXF_block_polyline_code_12;
+		double DXF_block_polyline_code_13;
+		double DXF_block_polyline_code_14[5];
+
+
+		double DXF_block_polyline_code_20;
+		double DXF_block_polyline_code_21;
+		double DXF_block_polyline_code_22;
+		double DXF_block_polyline_code_23;
+		double DXF_block_polyline_code_24[5];
+
+		double DXF_block_polyline_code_30;
+		double DXF_block_polyline_code_31;
+		double DXF_block_polyline_code_32;
+
+
+		int16_t DXF_block_polyline_code_62;
+
+		int16_t DXF_block_polyline_code_70;
+		int16_t DXF_block_polyline_code_71;
+
+		int32_t DXF_block_polyline_code_90;
+		int32_t DXF_block_polyline_code_91;
+		int32_t DXF_block_polyline_code_92;
+
+		QString DXF_block_polyline_code_100[2];
+
+
+		int16_t DXF_block_polyline_code_280;
+		int16_t DXF_block_polyline_code_281;
+		int16_t DXF_block_polyline_code_282;
+		int16_t DXF_block_polyline_code_283;
+
+		QString DXF_block_polyline_code_310;
+		QString DXF_block_polyline_code_330;
+		QString DXF_block_polyline_code_340;
+		QString DXF_block_polyline_code_360;
 	};
 
 	struct DXF_block_ray
 	{
+		QString DXF_block_ray_code_5;
+		QString DXF_block_ray_code_6;
+		QString DXF_block_ray_code_8;
 
+		double DXF_block_ray_code_10;
+		double DXF_block_ray_code_11;
+		double DXF_block_ray_code_12;
+		double DXF_block_ray_code_13;
+		double DXF_block_ray_code_14[5];
+
+
+		double DXF_block_ray_code_20;
+		double DXF_block_ray_code_21;
+		double DXF_block_ray_code_22;
+		double DXF_block_ray_code_23;
+		double DXF_block_ray_code_24[5];
+
+		double DXF_block_ray_code_30;
+		double DXF_block_ray_code_31;
+		double DXF_block_ray_code_32;
+
+
+		int16_t DXF_block_ray_code_62;
+
+		int16_t DXF_block_ray_code_70;
+		int16_t DXF_block_ray_code_71;
+
+		int32_t DXF_block_ray_code_90;
+		int32_t DXF_block_ray_code_91;
+		int32_t DXF_block_ray_code_92;
+
+		QString DXF_block_ray_code_100[2];
+
+
+		int16_t DXF_block_ray_code_280;
+		int16_t DXF_block_ray_code_281;
+		int16_t DXF_block_ray_code_282;
+		int16_t DXF_block_ray_code_283;
+
+		QString DXF_block_ray_code_310;
+		QString DXF_block_ray_code_330;
+		QString DXF_block_ray_code_340;
+		QString DXF_block_ray_code_360;
 	};
 
 	struct DXF_block_region
 	{
+		QString DXF_block_region_code_5;
+		QString DXF_block_region_code_6;
+		QString DXF_block_region_code_8;
 
+		double DXF_block_region_code_10;
+		double DXF_block_region_code_11;
+		double DXF_block_region_code_12;
+		double DXF_block_region_code_13;
+		double DXF_block_region_code_14[5];
+
+
+		double DXF_block_region_code_20;
+		double DXF_block_region_code_21;
+		double DXF_block_region_code_22;
+		double DXF_block_region_code_23;
+		double DXF_block_region_code_24[5];
+
+		double DXF_block_region_code_30;
+		double DXF_block_region_code_31;
+		double DXF_block_region_code_32;
+
+
+		int16_t DXF_block_region_code_62;
+
+		int16_t DXF_block_region_code_70;
+		int16_t DXF_block_region_code_71;
+
+		int32_t DXF_block_region_code_90;
+		int32_t DXF_block_region_code_91;
+		int32_t DXF_block_region_code_92;
+
+		QString DXF_block_region_code_100[2];
+
+
+		int16_t DXF_block_region_code_280;
+		int16_t DXF_block_region_code_281;
+		int16_t DXF_block_region_code_282;
+		int16_t DXF_block_region_code_283;
+
+		QString DXF_block_region_code_310;
+		QString DXF_block_region_code_330;
+		QString DXF_block_region_code_340;
+		QString DXF_block_region_code_360;
 	};
 
 	struct DXF_block_section
 	{
+		QString DXF_block_section_code_5;
+		QString DXF_block_section_code_6;
+		QString DXF_block_section_code_8;
 
+		double DXF_block_section_code_10;
+		double DXF_block_section_code_11;
+		double DXF_block_section_code_12;
+		double DXF_block_section_code_13;
+		double DXF_block_section_code_14[5];
+
+
+		double DXF_block_section_code_20;
+		double DXF_block_section_code_21;
+		double DXF_block_section_code_22;
+		double DXF_block_section_code_23;
+		double DXF_block_section_code_24[5];
+
+		double DXF_block_section_code_30;
+		double DXF_block_section_code_31;
+		double DXF_block_section_code_32;
+
+
+		int16_t DXF_block_section_code_62;
+
+		int16_t DXF_block_section_code_70;
+		int16_t DXF_block_section_code_71;
+
+		int32_t DXF_block_section_code_90;
+		int32_t DXF_block_section_code_91;
+		int32_t DXF_block_section_code_92;
+
+		QString DXF_block_section_code_100[2];
+
+
+		int16_t DXF_block_section_code_280;
+		int16_t DXF_block_section_code_281;
+		int16_t DXF_block_section_code_282;
+		int16_t DXF_block_section_code_283;
+
+		QString DXF_block_section_code_310;
+		QString DXF_block_section_code_330;
+		QString DXF_block_section_code_340;
+		QString DXF_block_section_code_360;
 	};
 
 	struct DXF_block_seqend
 	{
+		QString DXF_block_seqend_code_5;
+		QString DXF_block_seqend_code_6;
+		QString DXF_block_seqend_code_8;
 
+		double DXF_block_seqend_code_10;
+		double DXF_block_seqend_code_11;
+		double DXF_block_seqend_code_12;
+		double DXF_block_seqend_code_13;
+		double DXF_block_seqend_code_14[5];
+
+
+		double DXF_block_seqend_code_20;
+		double DXF_block_seqend_code_21;
+		double DXF_block_seqend_code_22;
+		double DXF_block_seqend_code_23;
+		double DXF_block_seqend_code_24[5];
+
+		double DXF_block_seqend_code_30;
+		double DXF_block_seqend_code_31;
+		double DXF_block_seqend_code_32;
+
+
+		int16_t DXF_block_seqend_code_62;
+
+		int16_t DXF_block_seqend_code_70;
+		int16_t DXF_block_seqend_code_71;
+
+		int32_t DXF_block_seqend_code_90;
+		int32_t DXF_block_seqend_code_91;
+		int32_t DXF_block_seqend_code_92;
+
+		QString DXF_block_seqend_code_100[2];
+
+
+		int16_t DXF_block_seqend_code_280;
+		int16_t DXF_block_seqend_code_281;
+		int16_t DXF_block_seqend_code_282;
+		int16_t DXF_block_seqend_code_283;
+
+		QString DXF_block_seqend_code_310;
+		QString DXF_block_seqend_code_330;
+		QString DXF_block_seqend_code_340;
+		QString DXF_block_seqend_code_360;
 	};
 
 	struct DXF_block_shape
 	{
+		QString DXF_block_shape_code_5;
+		QString DXF_block_shape_code_6;
+		QString DXF_block_shape_code_8;
 
+		double DXF_block_shape_code_10;
+		double DXF_block_shape_code_11;
+		double DXF_block_shape_code_12;
+		double DXF_block_shape_code_13;
+		double DXF_block_shape_code_14[5];
+
+
+		double DXF_block_shape_code_20;
+		double DXF_block_shape_code_21;
+		double DXF_block_shape_code_22;
+		double DXF_block_shape_code_23;
+		double DXF_block_shape_code_24[5];
+
+		double DXF_block_shape_code_30;
+		double DXF_block_shape_code_31;
+		double DXF_block_shape_code_32;
+
+
+		int16_t DXF_block_shape_code_62;
+
+		int16_t DXF_block_shape_code_70;
+		int16_t DXF_block_shape_code_71;
+
+		int32_t DXF_block_shape_code_90;
+		int32_t DXF_block_shape_code_91;
+		int32_t DXF_block_shape_code_92;
+
+		QString DXF_block_shape_code_100[2];
+
+
+		int16_t DXF_block_shape_code_280;
+		int16_t DXF_block_shape_code_281;
+		int16_t DXF_block_shape_code_282;
+		int16_t DXF_block_shape_code_283;
+
+		QString DXF_block_shape_code_310;
+		QString DXF_block_shape_code_330;
+		QString DXF_block_shape_code_340;
+		QString DXF_block_shape_code_360;
 	};
 
 	struct DXF_block_solid
@@ -879,29 +2177,200 @@
 
 	struct DXF_block_spline
 	{
+		QString DXF_block_spline_code_5;
+		QString DXF_block_spline_code_6;
+		QString DXF_block_spline_code_8;
 
+		double DXF_block_spline_code_10;
+		double DXF_block_spline_code_11;
+		double DXF_block_spline_code_12;
+		double DXF_block_spline_code_13;
+		double DXF_block_spline_code_14[5];
+
+
+		double DXF_block_spline_code_20;
+		double DXF_block_spline_code_21;
+		double DXF_block_spline_code_22;
+		double DXF_block_spline_code_23;
+		double DXF_block_spline_code_24[5];
+
+		double DXF_block_spline_code_30;
+		double DXF_block_spline_code_31;
+		double DXF_block_spline_code_32;
+
+
+		int16_t DXF_block_spline_code_62;
+
+		int16_t DXF_block_spline_code_70;
+		int16_t DXF_block_spline_code_71;
+
+		int32_t DXF_block_spline_code_90;
+		int32_t DXF_block_spline_code_91;
+		int32_t DXF_block_spline_code_92;
+
+		QString DXF_block_spline_code_100[2];
+
+
+		int16_t DXF_block_spline_code_280;
+		int16_t DXF_block_spline_code_281;
+		int16_t DXF_block_spline_code_282;
+		int16_t DXF_block_spline_code_283;
+
+		QString DXF_block_spline_code_310;
+		QString DXF_block_spline_code_330;
+		QString DXF_block_spline_code_340;
+		QString DXF_block_spline_code_360;
 	};
 
 	struct DXF_block_sun
 	{
+		QString DXF_block_sun_code_5;
+		QString DXF_block_sun_code_6;
+		QString DXF_block_sun_code_8;
 
+		double DXF_block_sun_code_10;
+		double DXF_block_sun_code_11;
+		double DXF_block_sun_code_12;
+		double DXF_block_sun_code_13;
+		double DXF_block_sun_code_14[5];
+
+
+		double DXF_block_sun_code_20;
+		double DXF_block_sun_code_21;
+		double DXF_block_sun_code_22;
+		double DXF_block_sun_code_23;
+		double DXF_block_sun_code_24[5];
+
+		double DXF_block_sun_code_30;
+		double DXF_block_sun_code_31;
+		double DXF_block_sun_code_32;
+
+
+		int16_t DXF_block_sun_code_62;
+
+		int16_t DXF_block_sun_code_70;
+		int16_t DXF_block_sun_code_71;
+
+		int32_t DXF_block_sun_code_90;
+		int32_t DXF_block_sun_code_91;
+		int32_t DXF_block_sun_code_92;
+
+		QString DXF_block_sun_code_100[2];
+
+
+		int16_t DXF_block_sun_code_280;
+		int16_t DXF_block_sun_code_281;
+		int16_t DXF_block_sun_code_282;
+		int16_t DXF_block_sun_code_283;
+
+		QString DXF_block_sun_code_310;
+		QString DXF_block_sun_code_330;
+		QString DXF_block_sun_code_340;
+		QString DXF_block_sun_code_360;
 	};
 
 	struct DXF_block_surface
 	{
+		QString DXF_block_surface_code_5;
+		QString DXF_block_surface_code_6;
+		QString DXF_block_surface_code_8;
 
+		double DXF_block_surface_code_10;
+		double DXF_block_surface_code_11;
+		double DXF_block_surface_code_12;
+		double DXF_block_surface_code_13;
+		double DXF_block_surface_code_14[5];
+
+
+		double DXF_block_surface_code_20;
+		double DXF_block_surface_code_21;
+		double DXF_block_surface_code_22;
+		double DXF_block_surface_code_23;
+		double DXF_block_surface_code_24[5];
+
+		double DXF_block_surface_code_30;
+		double DXF_block_surface_code_31;
+		double DXF_block_surface_code_32;
+
+
+		int16_t DXF_block_surface_code_62;
+
+		int16_t DXF_block_surface_code_70;
+		int16_t DXF_block_surface_code_71;
+
+		int32_t DXF_block_surface_code_90;
+		int32_t DXF_block_surface_code_91;
+		int32_t DXF_block_surface_code_92;
+
+		QString DXF_block_surface_code_100[2];
+
+
+		int16_t DXF_block_surface_code_280;
+		int16_t DXF_block_surface_code_281;
+		int16_t DXF_block_surface_code_282;
+		int16_t DXF_block_surface_code_283;
+
+		QString DXF_block_surface_code_310;
+		QString DXF_block_surface_code_330;
+		QString DXF_block_surface_code_340;
+		QString DXF_block_surface_code_360;
 	};
 
 	struct DXF_block_table
 	{
+		QString DXF_block_text_code_5;
+		QString DXF_block_text_code_6;
+		QString DXF_block_text_code_8;
 
+		double DXF_block_text_code_10;
+		double DXF_block_text_code_11;
+		double DXF_block_text_code_12;
+		double DXF_block_text_code_13;
+		double DXF_block_text_code_14[5];
+
+
+		double DXF_block_text_code_20;
+		double DXF_block_text_code_21;
+		double DXF_block_text_code_22;
+		double DXF_block_text_code_23;
+		double DXF_block_text_code_24[5];
+
+		double DXF_block_text_code_30;
+		double DXF_block_text_code_31;
+		double DXF_block_text_code_32;
+
+
+		int16_t DXF_block_text_code_62;
+
+		int16_t DXF_block_text_code_70;
+		int16_t DXF_block_text_code_71;
+
+		int32_t DXF_block_text_code_90;
+		int32_t DXF_block_text_code_91;
+		int32_t DXF_block_text_code_92;
+
+		QString DXF_block_text_code_100[2];
+
+
+		int16_t DXF_block_text_code_280;
+		int16_t DXF_block_text_code_281;
+		int16_t DXF_block_text_code_282;
+		int16_t DXF_block_text_code_283;
+
+		QString DXF_block_text_code_310;
+		QString DXF_block_text_code_330;
+		QString DXF_block_text_code_340;
+		QString DXF_block_text_code_360;
 	};
 
 	struct DXF_block_text
 	{
 		QString DXF_block_text_code_1;
+		QString DXF_block_text_code_2;
+		QString DXF_block_text_code_3;
 		QString DXF_block_text_code_5;
 		QString DXF_block_text_code_6;
+		QString DXF_block_text_code_7;
 		QString DXF_block_text_code_8;
 
 		double DXF_block_text_code_10;
@@ -921,43 +2390,338 @@
 		int16_t DXF_block_text_code_72;
 
 		QString DXF_block_text_code_100[2];
+		QString DXF_block_text_code_102[2];
 
-		QString DXF_block_text_code_330;
+		QString DXF_block_text_code_330[2];
 	};
 
 	struct DXF_block_tolerance
 	{
+		QString DXF_block_tolerance_code_5;
+		QString DXF_block_tolerance_code_6;
+		QString DXF_block_tolerance_code_8;
 
+		double DXF_block_tolerance_code_10;
+		double DXF_block_tolerance_code_11;
+		double DXF_block_tolerance_code_12;
+		double DXF_block_tolerance_code_13;
+		double DXF_block_tolerance_code_14[5];
+
+
+		double DXF_block_tolerance_code_20;
+		double DXF_block_tolerance_code_21;
+		double DXF_block_tolerance_code_22;
+		double DXF_block_tolerance_code_23;
+		double DXF_block_tolerance_code_24[5];
+
+		double DXF_block_tolerance_code_30;
+		double DXF_block_tolerance_code_31;
+		double DXF_block_tolerance_code_32;
+
+
+		int16_t DXF_block_tolerance_code_62;
+
+		int16_t DXF_block_tolerance_code_70;
+		int16_t DXF_block_tolerance_code_71;
+
+		int32_t DXF_block_tolerance_code_90;
+		int32_t DXF_block_tolerance_code_91;
+		int32_t DXF_block_tolerance_code_92;
+
+		QString DXF_block_tolerance_code_100[2];
+
+
+		int16_t DXF_block_tolerance_code_280;
+		int16_t DXF_block_tolerance_code_281;
+		int16_t DXF_block_tolerance_code_282;
+		int16_t DXF_block_tolerance_code_283;
+
+		QString DXF_block_tolerance_code_310;
+		QString DXF_block_tolerance_code_330;
+		QString DXF_block_tolerance_code_340;
+		QString DXF_block_tolerance_code_360;
 	};
 
 	struct DXF_block_trace
 	{
+		QString DXF_block_trace_code_5;
+		QString DXF_block_trace_code_6;
+		QString DXF_block_trace_code_8;
 
+		double DXF_block_trace_code_10;
+		double DXF_block_trace_code_11;
+		double DXF_block_trace_code_12;
+		double DXF_block_trace_code_13;
+		double DXF_block_trace_code_14[5];
+
+
+		double DXF_block_trace_code_20;
+		double DXF_block_trace_code_21;
+		double DXF_block_trace_code_22;
+		double DXF_block_trace_code_23;
+		double DXF_block_trace_code_24[5];
+
+		double DXF_block_trace_code_30;
+		double DXF_block_trace_code_31;
+		double DXF_block_trace_code_32;
+
+
+		int16_t DXF_block_trace_code_62;
+
+		int16_t DXF_block_trace_code_70;
+		int16_t DXF_block_trace_code_71;
+
+		int32_t DXF_block_trace_code_90;
+		int32_t DXF_block_trace_code_91;
+		int32_t DXF_block_trace_code_92;
+
+		QString DXF_block_trace_code_100[2];
+
+
+		int16_t DXF_block_trace_code_280;
+		int16_t DXF_block_trace_code_281;
+		int16_t DXF_block_trace_code_282;
+		int16_t DXF_block_trace_code_283;
+
+		QString DXF_block_trace_code_310;
+		QString DXF_block_trace_code_330;
+		QString DXF_block_trace_code_340;
+		QString DXF_block_trace_code_360;
 	};
 
 	struct DXF_block_underlay
 	{
+		QString DXF_block_underlay_code_5;
+		QString DXF_block_underlay_code_6;
+		QString DXF_block_underlay_code_8;
 
+		double DXF_block_underlay_code_10;
+		double DXF_block_underlay_code_11;
+		double DXF_block_underlay_code_12;
+		double DXF_block_underlay_code_13;
+		double DXF_block_underlay_code_14[5];
+
+
+		double DXF_block_underlay_code_20;
+		double DXF_block_underlay_code_21;
+		double DXF_block_underlay_code_22;
+		double DXF_block_underlay_code_23;
+		double DXF_block_underlay_code_24[5];
+
+		double DXF_block_underlay_code_30;
+		double DXF_block_underlay_code_31;
+		double DXF_block_underlay_code_32;
+
+
+		int16_t DXF_block_underlay_code_62;
+
+		int16_t DXF_block_underlay_code_70;
+		int16_t DXF_block_underlay_code_71;
+
+		int32_t DXF_block_underlay_code_90;
+		int32_t DXF_block_underlay_code_91;
+		int32_t DXF_block_underlay_code_92;
+
+		QString DXF_block_underlay_code_100[2];
+
+
+		int16_t DXF_block_underlay_code_280;
+		int16_t DXF_block_underlay_code_281;
+		int16_t DXF_block_underlay_code_282;
+		int16_t DXF_block_underlay_code_283;
+
+		QString DXF_block_underlay_code_310;
+		QString DXF_block_underlay_code_330;
+		QString DXF_block_underlay_code_340;
+		QString DXF_block_underlay_code_360;
 	};
 
 	struct DXF_block_vertex
 	{
+		QString DXF_block_vertex_code_5;
+		QString DXF_block_vertex_code_6;
+		QString DXF_block_vertex_code_8;
 
+		double DXF_block_vertex_code_10;
+		double DXF_block_vertex_code_11;
+		double DXF_block_vertex_code_12;
+		double DXF_block_vertex_code_13;
+		double DXF_block_vertex_code_14[5];
+
+
+		double DXF_block_vertex_code_20;
+		double DXF_block_vertex_code_21;
+		double DXF_block_vertex_code_22;
+		double DXF_block_vertex_code_23;
+		double DXF_block_vertex_code_24[5];
+
+		double DXF_block_vertex_code_30;
+		double DXF_block_vertex_code_31;
+		double DXF_block_vertex_code_32;
+
+
+		int16_t DXF_block_vertex_code_62;
+
+		int16_t DXF_block_vertex_code_70;
+		int16_t DXF_block_vertex_code_71;
+
+		int32_t DXF_block_vertex_code_90;
+		int32_t DXF_block_vertex_code_91;
+		int32_t DXF_block_vertex_code_92;
+
+		QString DXF_block_vertex_code_100[2];
+
+
+		int16_t DXF_block_vertex_code_280;
+		int16_t DXF_block_vertex_code_281;
+		int16_t DXF_block_vertex_code_282;
+		int16_t DXF_block_vertex_code_283;
+
+		QString DXF_block_vertex_code_310;
+		QString DXF_block_vertex_code_330;
+		QString DXF_block_vertex_code_340;
+		QString DXF_block_vertex_code_360;
 	};
 
 	struct DXF_block_viewport
 	{
+		QString DXF_block_viewport_code_5;
+		QString DXF_block_viewport_code_6;
+		QString DXF_block_viewport_code_8;
 
+		double DXF_block_viewport_code_10;
+		double DXF_block_viewport_code_11;
+		double DXF_block_viewport_code_12;
+		double DXF_block_viewport_code_13;
+		double DXF_block_viewport_code_14[5];
+
+
+		double DXF_block_viewport_code_20;
+		double DXF_block_viewport_code_21;
+		double DXF_block_viewport_code_22;
+		double DXF_block_viewport_code_23;
+		double DXF_block_viewport_code_24[5];
+
+		double DXF_block_viewport_code_30;
+		double DXF_block_viewport_code_31;
+		double DXF_block_viewport_code_32;
+
+
+		int16_t DXF_block_viewport_code_62;
+
+		int16_t DXF_block_viewport_code_70;
+		int16_t DXF_block_viewport_code_71;
+
+		int32_t DXF_block_viewport_code_90;
+		int32_t DXF_block_viewport_code_91;
+		int32_t DXF_block_viewport_code_92;
+
+		QString DXF_block_viewport_code_100[2];
+
+
+		int16_t DXF_block_viewport_code_280;
+		int16_t DXF_block_viewport_code_281;
+		int16_t DXF_block_viewport_code_282;
+		int16_t DXF_block_viewport_code_283;
+
+		QString DXF_block_viewport_code_310;
+		QString DXF_block_viewport_code_330;
+		QString DXF_block_viewport_code_340;
+		QString DXF_block_viewport_code_360;
 	};
 
 	struct DXF_block_wipeout
 	{
+		QString DXF_block_wipeout_code_5;
+		QString DXF_block_wipeout_code_6;
+		QString DXF_block_wipeout_code_8;
 
+		double DXF_block_wipeout_code_10;
+		double DXF_block_wipeout_code_11;
+		double DXF_block_wipeout_code_12;
+		double DXF_block_wipeout_code_13;
+		double DXF_block_wipeout_code_14[5];
+
+
+		double DXF_block_wipeout_code_20;
+		double DXF_block_wipeout_code_21;
+		double DXF_block_wipeout_code_22;
+		double DXF_block_wipeout_code_23;
+		double DXF_block_wipeout_code_24[5];
+
+		double DXF_block_wipeout_code_30;
+		double DXF_block_wipeout_code_31;
+		double DXF_block_wipeout_code_32;
+
+
+		int16_t DXF_block_wipeout_code_62;
+
+		int16_t DXF_block_wipeout_code_70;
+		int16_t DXF_block_wipeout_code_71;
+
+		int32_t DXF_block_wipeout_code_90;
+		int32_t DXF_block_wipeout_code_91;
+		int32_t DXF_block_wipeout_code_92;
+
+		QString DXF_block_wipeout_code_100[2];
+
+
+		int16_t DXF_block_wipeout_code_280;
+		int16_t DXF_block_wipeout_code_281;
+		int16_t DXF_block_wipeout_code_282;
+		int16_t DXF_block_wipeout_code_283;
+
+		QString DXF_block_wipeout_code_310;
+		QString DXF_block_wipeout_code_330;
+		QString DXF_block_wipeout_code_340;
+		QString DXF_block_wipeout_code_360;
 	};
 
 	struct DXF_block_xline
 	{
+		QString DXF_block_xline_code_5;
+		QString DXF_block_xline_code_6;
+		QString DXF_block_xline_code_8;
 
+		double DXF_block_xline_code_10;
+		double DXF_block_xline_code_11;
+		double DXF_block_xline_code_12;
+		double DXF_block_xline_code_13;
+		double DXF_block_xline_code_14[5];
+
+
+		double DXF_block_xline_code_20;
+		double DXF_block_xline_code_21;
+		double DXF_block_xline_code_22;
+		double DXF_block_xline_code_23;
+		double DXF_block_xline_code_24[5];
+
+		double DXF_block_xline_code_30;
+		double DXF_block_xline_code_31;
+		double DXF_block_xline_code_32;
+
+
+		int16_t DXF_block_xline_code_62;
+
+		int16_t DXF_block_xline_code_70;
+		int16_t DXF_block_xline_code_71;
+
+		int32_t DXF_block_xline_code_90;
+		int32_t DXF_block_xline_code_91;
+		int32_t DXF_block_xline_code_92;
+
+		QString DXF_block_xline_code_100[2];
+
+
+		int16_t DXF_block_xline_code_280;
+		int16_t DXF_block_xline_code_281;
+		int16_t DXF_block_xline_code_282;
+		int16_t DXF_block_xline_code_283;
+
+		QString DXF_block_xline_code_310;
+		QString DXF_block_xline_code_330;
+		QString DXF_block_xline_code_340;
+		QString DXF_block_xline_code_360;
 	};
 
 	struct DXF_entities_3dface

Modified: branches/dxftoqet2/src/dxf_split.cpp
===================================================================
--- branches/dxftoqet2/src/dxf_split.cpp	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf_split.cpp	2015-10-04 19:47:08 UTC (rev 4233)
@@ -1496,6 +1496,7 @@
 															tables_count4=0;
 															count_table_block_record_100=0;
 															count_table_block_record_102=0;
+															count_table_block_record_331=0;
 
 															for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
 															{
@@ -1530,16 +1531,8 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
+
 																		}
 																		break;
 
@@ -1552,16 +1545,7 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
@@ -1574,16 +1558,7 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
@@ -1591,16 +1566,7 @@
 
 																		if (count_table_block_record_100>1)
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		else
 																		{
@@ -1613,16 +1579,7 @@
 
 																		if (count_table_block_record_102>1)
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		else
 																		{
@@ -1640,16 +1597,7 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
@@ -1662,16 +1610,7 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
@@ -1684,41 +1623,26 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
 																	case 331 :
 
-																		if(sw_table_block_record[331]==0)
+
+																		if (count_table_block_record_331>19)
 																		{
-																			DXF_input_table_block_record[tables_count3].dxf_table_block_record_code_331=line6;
-																			sw_table_block_record[331]=1;
+																			Log_1.append(found_table_block_record());
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			DXF_input_table_block_record[tables_count3].dxf_table_block_record_code_331[count_table_block_record_331]=line6;
+																			count_table_block_record_331=count_table_block_record_331+1;
 																		}
 																		break;
 
+
+
 																	case 340 :
 
 																		if(sw_table_block_record[340]==0)
@@ -1728,16 +1652,7 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
@@ -1750,30 +1665,12 @@
 																		}
 																		else
 																		{
-																			Log_1.append("Find in table BLOCK_RECORD code split\n");
-																			Log_1.append("Line :" );
-																			Log_1.append(QString::number( for_count1));
-																			Log_1.append(" ");
-																			Log_1.append("Code :" );
-																			Log_1.append(QString::number( line5));
-																			Log_1.append(" : ");
-																			Log_1.append(line6);
-																			Log_1.append(" ");
-																			Log_1.append("\n");
+																			Log_1.append(found_table_block_record());
 																		}
 																		break;
 
 																default:
-																	Log_1.append("Find in table section BLOCK_RECORD 1 \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line5));
-																	Log_1.append(" : ");
-																	Log_1.append(line6);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_table_block_record());
 																}
 
 
@@ -8225,14 +8122,63 @@
 							sw_end_block[sw_cleaner]=0;
 						}
 
-						Log_1.append("Start reading section BLOCKS \n");
+
+						Log_1.append("Start reading BLOCKS sections \n");
+
 						block_st1=0;
 						block_count1=0;
 
+						block_3dface_count=0;
+						block_3dsolid_count=0;
+						block_acad_proxy_entity_count=0;
+						block_arc_count=0;
+						block_attdef_count=0;
+						block_attrib_count=0;
+						block_body_count=0;
+						block_circle_count=0;
+						block_dimension_count=0;
+						block_ellipse_count=0;
+						block_hatch_count=0;
+						block_helix_count=0;
+						block_image_count=0;
+						block_insert_count=0;
+						block_leader_count=0;
+						block_light_count=0;
+						block_line_count=0;
+						block_lwpolyline_count=0;
+						block_mesh_count=0;
+						block_mline_count=0;
+						block_mleaderstyle_count=0;
+						block_mleader_count=0;
+						block_mtext_count=0;
+						block_oleframe_count=0;
+						block_ole2frame_count=0;
+						block_point_count=0;
+						block_polyline_count=0;
+						block_ray_count=0;
+						block_region_count=0;
+						block_seqend_count=0;
+						block_shape_count=0;
+						block_solid_count=0;
+						block_spline_count=0;
+						block_sun_count=0;
+						block_surface_count=0;
+						block_table_count=0;
+						block_text_count=0;
+						block_tolerance_count=0;
+						block_trace_count=0;
+						block_underlay_count=0;
+						block_vertex_count=0;
+						block_viewport_count=0;
+						block_wipeout_count=0;
+						block_xline_count=0;
+
+
+
 						count_block_100=0;
 						count_block_102=0;
 
-						while (block_st1==0 and block_count1<99)
+						while (block_st1==0 and block_count1<99) // count the number of blocks
 						{
 							for_count1=for_count1+2;
 
@@ -8243,11 +8189,6 @@
 							block_st2=0;
 							block_count2=0;
 
-							block_line_count=0;
-							block_lwpolyline_count=0;
-							block_text_count=0;
-							block_solid_count=0;
-
 							count_block_100=0;
 							count_block_102=0;
 
@@ -8270,10 +8211,8 @@
 
 									count_end_block_100=0;
 
-									block_line_count=0;
-									block_lwpolyline_count=0;
-									block_text_count=0;
 
+
 									switch (line3)
 									{
 										case 0:
@@ -8301,11 +8240,108 @@
 													{
 
 														case 0:
+
+															Log_1.append ("<| BLOCK section n°: ");
+															Log_1.append (block_count1);
+															Log_1.append ("|>\n");
+
 															for_count1=for_count1-2;
 															block_st3=1;
+															DXF_main_base[0].DXF_block_3dface_count[block_count1]=block_3dface_count;
+															DXF_main_base[0].DXF_block_3dsolid_count[block_count1]=block_3dsolid_count;
+															DXF_main_base[0].DXF_block_acad_proxy_entity_count[block_count1]=block_acad_proxy_entity_count;
+															DXF_main_base[0].DXF_block_arc_count[block_count1]=block_arc_count;
+															DXF_main_base[0].DXF_block_attdef_count[block_count1]=block_attdef_count;
+															DXF_main_base[0].DXF_block_attrib_count[block_count1]=block_attrib_count;
+															DXF_main_base[0].DXF_block_body_count[block_count1]=block_body_count;
+															DXF_main_base[0].DXF_block_circle_count[block_count1]=block_circle_count;
+															DXF_main_base[0].DXF_block_dimension_count[block_count1]=block_dimension_count;
+															DXF_main_base[0].DXF_block_ellipse_count[block_count1]=block_ellipse_count;
+															DXF_main_base[0].DXF_block_hatch_count[block_count1]=block_hatch_count;
+															DXF_main_base[0].DXF_block_helix_count[block_count1]=block_helix_count;
+															DXF_main_base[0].DXF_block_image_count[block_count1]=block_image_count;
+															DXF_main_base[0].DXF_block_insert_count[block_count1]=block_insert_count;
+															DXF_main_base[0].DXF_block_leader_count[block_count1]=block_leader_count;
+															DXF_main_base[0].DXF_block_light_count[block_count1]=block_light_count;
+															DXF_main_base[0].DXF_block_line_count[block_count1]=block_line_count;
+															DXF_main_base[0].DXF_block_lwpolyline_count[block_count1]=block_lwpolyline_count;
+															DXF_main_base[0].DXF_block_mesh_count[block_count1]=block_mesh_count;
+															DXF_main_base[0].DXF_block_mline_count[block_count1]=block_mline_count;
+															DXF_main_base[0].DXF_block_mleaderstyle_count[block_count1]=block_mleaderstyle_count;
+															DXF_main_base[0].DXF_block_mleader_count[block_count1]=block_mleader_count;
+															DXF_main_base[0].DXF_block_mtext_count[block_count1]=block_mtext_count;
+															DXF_main_base[0].DXF_block_oleframe_count[block_count1]=block_oleframe_count;
+															DXF_main_base[0].DXF_block_ole2frame_count[block_count1]=block_ole2frame_count;
+															DXF_main_base[0].DXF_block_point_count[block_count1]=block_point_count;
+															DXF_main_base[0].DXF_block_polyline_count[block_count1]=block_polyline_count;
+															DXF_main_base[0].DXF_block_ray_count[block_count1]=block_ray_count;
+															DXF_main_base[0].DXF_block_region_count[block_count1]=block_region_count;
+															DXF_main_base[0].DXF_block_section_count[block_count1]=block_section_count;
+															DXF_main_base[0].DXF_block_seqend_count[block_count1]=block_seqend_count;
+															DXF_main_base[0].DXF_block_shape_count[block_count1]=block_shape_count;
+															DXF_main_base[0].DXF_block_solid_count[block_count1]=block_solid_count;
+															DXF_main_base[0].DXF_block_spline_count[block_count1]=block_spline_count;
+															DXF_main_base[0].DXF_block_sun_count[block_count1]=block_sun_count;
+															DXF_main_base[0].DXF_block_surface_count[block_count1]=block_surface_count;
+															DXF_main_base[0].DXF_block_table_count[block_count1]=block_table_count;
+															DXF_main_base[0].DXF_block_text_count[block_count1]=block_text_count;
+															DXF_main_base[0].DXF_block_tolerance_count[block_count1]=block_tolerance_count;
+															DXF_main_base[0].DXF_block_trace_count[block_count1]=block_trace_count;
+															DXF_main_base[0].DXF_block_underlay_count[block_count1]=block_underlay_count;
+															DXF_main_base[0].DXF_block_vertex_count[block_count1]=block_vertex_count;
+															DXF_main_base[0].DXF_block_viewport_count[block_count1]=block_viewport_count;
+															DXF_main_base[0].DXF_block_wipeout_count[block_count1]=block_wipeout_count;
+															DXF_main_base[0].DXF_block_xline_count[block_count1]=block_xline_count;
+
 															block_count1=block_count1+1;
 
+															block_3dface_count=0;
+															block_3dsolid_count=0;
+															block_acad_proxy_entity_count=0;
+															block_arc_count=0;
+															block_attdef_count=0;
+															block_attrib_count=0;
+															block_body_count=0;
+															block_circle_count=0;
+															block_dimension_count=0;
+															block_ellipse_count=0;
+															block_hatch_count=0;
+															block_helix_count=0;
+															block_image_count=0;
+															block_insert_count=0;
+															block_leader_count=0;
+															block_light_count=0;
+															block_line_count=0;
+															block_lwpolyline_count=0;
+															block_mesh_count=0;
+															block_mline_count=0;
+															block_mleaderstyle_count=0;
+															block_mleader_count=0;
+															block_mtext_count=0;
+															block_oleframe_count=0;
+															block_ole2frame_count=0;
+															block_point_count=0;
+															block_polyline_count=0;
+															block_ray_count=0;
+															block_region_count=0;
+															block_seqend_count=0;
+															block_shape_count=0;
+															block_solid_count=0;
+															block_spline_count=0;
+															block_sun_count=0;
+															block_surface_count=0;
+															block_table_count=0;
+															block_text_count=0;
+															block_tolerance_count=0;
+															block_trace_count=0;
+															block_underlay_count=0;
+															block_vertex_count=0;
+															block_viewport_count=0;
+															block_wipeout_count=0;
+															block_xline_count=0;
 
+
+
 														case 5:
 
 															if(sw_end_block[5]==0)
@@ -8315,16 +8351,8 @@
 															}
 															else
 															{
-																Log_1.append("Find in END BLOCK code \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line5));
-																Log_1.append(" : ");
-																Log_1.append(line6);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_end_block_section());
+
 															}
 															break;
 
@@ -8337,16 +8365,7 @@
 															}
 															else
 															{
-																Log_1.append("Find in END BLOCK code \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line5));
-																Log_1.append(" : ");
-																Log_1.append(line6);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_end_block_section());
 															}
 															break;
 
@@ -8359,16 +8378,7 @@
 															}
 															else
 															{
-																Log_1.append("Find in END BLOCK code \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line5));
-																Log_1.append(" : ");
-																Log_1.append(line6);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_end_block_section());
 															}
 															break;
 
@@ -8376,16 +8386,7 @@
 
 															if (count_end_block_100>1)
 															{
-																Log_1.append("Find in END BLOCK code\n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line5));
-																Log_1.append(" : ");
-																Log_1.append(line6);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_end_block_section());
 															}
 															else
 															{
@@ -8403,30 +8404,12 @@
 															}
 															else
 															{
-																Log_1.append("Find in END BLOCK code \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line5));
-																Log_1.append(" : ");
-																Log_1.append(line6);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_end_block_section());
 															}
 															break;
 
 														default:
-															Log_1.append("Find in END BLOCK section \n");
-															Log_1.append("Line :" );
-															Log_1.append(QString::number( for_count1));
-															Log_1.append(" ");
-															Log_1.append("Code :" );
-															Log_1.append(QString::number( line5));
-															Log_1.append(" : ");
-															Log_1.append(line6);
-															Log_1.append(" ");
-															Log_1.append("\n");
+															Log_1.append(found_end_block_section());
 
 													}
 
@@ -8444,9 +8427,9 @@
 
 													block_st5=0;
 													block_count5=0;
-													block_line_count=0;
 
-													while (block_st5==0 and block_count5<999)
+
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8460,22 +8443,19 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code 3DFACE \n");
+																Log_1.append("End reading BLOCK code 3DFACE block n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_3dface_count);
+																Log_1.append("\n");
 
+																block_3dface_count=block_3dface_count+1;
 
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code 3DFACE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_3dface());
+
 														}
 
 
@@ -8489,7 +8469,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8503,22 +8483,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code 3DSOLID \n");
+																Log_1.append("End reading BLOCK code 3DSOLID n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_3dsolid_count);
+																Log_1.append("\n");
 
+																block_3dsolid_count=block_3dsolid_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code 3DSOLID \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_3dsolid());
+
 														}
 
 
@@ -8527,12 +8505,12 @@
 
 												if (line4=="ACAD_PROXY_ENTITY" and  line4.length()==17)
 												{
-													Log_1.append("Start reading BLOCK code ACAD_PROXY_ENTITY \n");
+													Log_1.append("Start reading BLOCK code ACAD_PROXY_ENTITY n° :");
 
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8546,22 +8524,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code ACAD_PROXY_ENTITY \n");
+																Log_1.append("End reading BLOCK code ACAD_PROXY_ENTITY n°: ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_acad_proxy_entity_count);
+																Log_1.append("\n");
 
+																block_acad_proxy_entity_count=block_acad_proxy_entity_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code ACAD_PROXY_ENTITY \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_acad_proxy_entity());
+
 														}
 
 
@@ -8575,9 +8551,19 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
 													{
+														sw_block_line[sw_cleaner]=0;
 
+													}
+
+													count_block_arc_14=0;
+													count_block_arc_24=0;
+													count_block_arc_100=0;
+
+													while (block_st5==0 and block_count5<49)
+													{
+
 														for_count1=for_count1+2;
 														line7=DXF_main_base[0].dxf_input[for_count1].toInt();
 														line8=DXF_main_base[0].dxf_input[for_count1+1];
@@ -8589,22 +8575,465 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code ARC \n");
+																Log_1.append("End reading BLOCK code ARC n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_arc_count);
+																Log_1.append("\n");
 
+																block_arc_count=block_arc_count+1;
 
+
+
 															break;
 
+															case 5:
+
+																if(sw_block_line[5]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_5=line8;
+																	sw_block_line[5]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 8:
+
+																if(sw_block_line[8]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_8=line8;
+																	sw_block_line[8]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 10:
+
+																if(sw_block_line[10]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_10=line8.toDouble();
+																	sw_block_line[10]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 11:
+
+																if(sw_block_line[11]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_11=line8.toDouble();
+																	sw_block_line[11]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_arc_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_arc[block_count1][block_line_count].DXF_block_arc_code_14[count_block_arc_14]=line8.toDouble();
+																	count_block_arc_14=count_block_arc_14+1;
+																}
+																break;
+
+															case 20:
+
+																if(sw_block_line[20]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_20=line8.toDouble();
+																	sw_block_line[20]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 21:
+
+																if(sw_block_line[21]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_21=line8.toDouble();
+																	sw_block_line[21]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_arc_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_arc[block_count1][block_line_count].DXF_block_arc_code_24[count_block_arc_24]=line8.toDouble();
+																	count_block_arc_24=count_block_arc_24+1;
+																}
+																break;
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 70:
+
+																if(sw_block_line[70]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_70=line8.toInt();
+																	sw_block_line[70]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															/*case 72:
+
+																if(sw_block_line[72]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_72=line8.toInt();
+																	sw_block_line[72]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;*/
+
+															case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 100:
+
+																if (count_block_arc_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_100[count_block_arc_100]=line8;
+																	count_block_arc_100=count_block_arc_100+1;
+																}
+																break;
+
+															case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 330:
+
+																if(sw_block_line[330]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_330=line8;
+																	sw_block_line[330]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_arc[block_count1][block_arc_count].DXF_block_arc_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_arc());
+
+																}
+
+																break;
+
 															default:
-																Log_1.append("Find in BLOCK code ARC \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_arc());
+
 														}
 
 
@@ -8618,9 +9047,19 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
 													{
+														sw_block_line[sw_cleaner]=0;
 
+													}
+
+													count_block_attdef_14=0;
+													count_block_attdef_24=0;
+													count_block_attdef_100=0;
+
+													while (block_st5==0 and block_count5<49)
+													{
+
 														for_count1=for_count1+2;
 														line7=DXF_main_base[0].dxf_input[for_count1].toInt();
 														line8=DXF_main_base[0].dxf_input[for_count1+1];
@@ -8632,22 +9071,571 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code ATTDEF \n");
+																Log_1.append("End reading BLOCK code ATTDEF n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_attdef_count);
+																Log_1.append("\n");
 
+																block_attdef_count=block_attdef_count+1;
 
+
 															break;
 
+															case 1:
+
+																if(sw_block_line[1]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_1=line8;
+																	sw_block_line[1]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 2:
+
+																if(sw_block_line[2]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_2=line8;
+																	sw_block_line[2]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 3:
+
+																if(sw_block_line[3]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_3=line8;
+																	sw_block_line[3]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+
+
+															case 5:
+
+																if(sw_block_line[5]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_5=line8;
+																	sw_block_line[5]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 8:
+
+																if(sw_block_line[8]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_8=line8;
+																	sw_block_line[8]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 10:
+
+																if(sw_block_line[10]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_10=line8.toDouble();
+																	sw_block_line[10]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 11:
+
+																if(sw_block_line[11]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_11=line8.toDouble();
+																	sw_block_line[11]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_attdef_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_attdef[block_count1][block_line_count].DXF_block_attdef_code_14[count_block_attdef_14]=line8.toDouble();
+																	count_block_attdef_14=count_block_attdef_14+1;
+																}
+																break;
+
+															case 20:
+
+																if(sw_block_line[20]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_20=line8.toDouble();
+																	sw_block_line[20]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 21:
+
+																if(sw_block_line[21]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_21=line8.toDouble();
+																	sw_block_line[21]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_attdef_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_attdef[block_count1][block_line_count].DXF_block_attdef_code_24[count_block_attdef_24]=line8.toDouble();
+																	count_block_attdef_24=count_block_attdef_24+1;
+																}
+																break;
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 40:
+
+																if(sw_block_line[40]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_40=line8.toDouble();
+																	sw_block_line[40]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 53:
+
+																if(sw_block_line[53]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_53=line8.toDouble();
+																	sw_block_line[53]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 62:
+
+																if(sw_block_line[62]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_62=line8.toInt();
+																	sw_block_line[62]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 70:
+
+																if(sw_block_line[70]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_70=line8.toInt();
+																	sw_block_line[70]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 72:
+
+																if(sw_block_line[72]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_72=line8.toInt();
+																	sw_block_line[72]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 74:
+
+																if(sw_block_line[74]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_74=line8.toInt();
+																	sw_block_line[74]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 100:
+
+																if (count_block_attdef_100>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_100[count_block_attdef_100]=line8;
+																	count_block_attdef_100=count_block_attdef_100+1;
+																}
+																break;
+
+															case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 330:
+
+																if(sw_block_line[330]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_330=line8;
+																	sw_block_line[330]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_attdef[block_count1][block_attdef_count].DXF_block_attdef_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_attdef());
+
+																}
+
+																break;
+
 															default:
-																Log_1.append("Find in BLOCK code ATTDEF \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_attdef());
+
 														}
 
 
@@ -8661,7 +9649,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8675,22 +9663,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code ATTRIB \n");
+																Log_1.append("End reading BLOCK code ATTRIB n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_attrib_count);
+																Log_1.append("\n");
 
+																block_attrib_count=block_attrib_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code ATTRIB \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_attr());
+
 														}
 
 
@@ -8704,7 +9690,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8718,22 +9704,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code BODY \n");
+																Log_1.append("End reading BLOCK code BODY n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_body_count);
+																Log_1.append("\n");
 
+																block_body_count=block_body_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code BODY \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_body());
+
 														}
 
 
@@ -8747,9 +9731,21 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
 													{
+														sw_block_line[sw_cleaner]=0;
 
+													}
+
+													count_block_circle_14=0;
+													count_block_circle_24=0;
+													count_block_circle_100=0;
+													count_block_circle_102=0;
+													count_block_circle_330=0;
+
+													while (block_st5==0 and block_count5<49)
+													{
+
 														for_count1=for_count1+2;
 														line7=DXF_main_base[0].dxf_input[for_count1].toInt();
 														line8=DXF_main_base[0].dxf_input[for_count1+1];
@@ -8761,22 +9757,600 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code CIRCLE \n");
+																Log_1.append("End reading BLOCK code CIRCLE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_circle_count);
+																Log_1.append("\n");
 
+																block_circle_count=block_circle_count+1;
 
-															break;
+																break;
 
+
+															case 1:
+
+																if(sw_block_line[1]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_1=line8;
+																	sw_block_line[1]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 3:
+
+																if(sw_block_line[3]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_3=line8;
+																	sw_block_line[3]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+
+
+															case 5:
+
+																if(sw_block_line[5]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_5=line8;
+																	sw_block_line[5]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 6:
+
+																if(sw_block_line[6]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_6=line8;
+																	sw_block_line[6]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 8:
+
+																if(sw_block_line[8]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_8=line8;
+																	sw_block_line[8]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 10:
+
+																if(sw_block_line[10]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_10=line8.toDouble();
+																	sw_block_line[10]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 11:
+
+																if(sw_block_line[11]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_11=line8.toDouble();
+																	sw_block_line[11]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_circle_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_circle[block_count1][block_line_count].DXF_block_circle_code_14[count_block_circle_14]=line8.toDouble();
+																	count_block_circle_14=count_block_circle_14+1;
+																}
+																break;
+
+															case 20:
+
+																if(sw_block_line[20]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_20=line8.toDouble();
+																	sw_block_line[20]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 21:
+
+																if(sw_block_line[21]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_21=line8.toDouble();
+																	sw_block_line[21]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_circle_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_circle[block_count1][block_line_count].DXF_block_circle_code_24[count_block_circle_24]=line8.toDouble();
+																	count_block_circle_24=count_block_circle_24+1;
+																}
+																break;
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 40:
+
+																if(sw_block_line[40]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_40=line8.toDouble();
+																	sw_block_line[40]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 48:
+
+																if(sw_block_line[48]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_48=line8.toDouble();
+																	sw_block_line[48]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+
+															case 62:
+
+																if(sw_block_line[62]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_62=line8.toInt();
+																	sw_block_line[62]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 70:
+
+																if(sw_block_line[70]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_70=line8.toInt();
+																	sw_block_line[70]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 72:
+
+																if(sw_block_line[72]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_72=line8.toInt();
+																	sw_block_line[72]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 74:
+
+																if(sw_block_line[74]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_74=line8.toInt();
+																	sw_block_line[74]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 100:
+
+																if (count_block_circle_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_100[count_block_circle_100]=line8;
+																	count_block_circle_100=count_block_circle_100+1;
+																}
+																break;
+
+															case 102:
+
+																if (count_block_circle_102>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_102[count_block_circle_102]=line8;
+																	count_block_circle_102=count_block_circle_102+1;
+																}
+																break;
+
+
+															case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+															case 330:
+
+																if (count_block_circle_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_330[count_block_circle_330]=line8;
+																	count_block_circle_330=count_block_circle_330+1;
+																}
+																break;
+
+
+
+															case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
+															case 370:
+
+																if(sw_block_line[370]==0)
+																{
+																	DXF_input_block_circle[block_count1][block_circle_count].DXF_block_circle_code_370=line8.toInt();
+																	sw_block_line[370]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_circle());
+
+																}
+
+																break;
+
 															default:
-																Log_1.append("Find in BLOCK code CIRCLE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_circle());
+
 														}
 
 
@@ -8790,7 +10364,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8804,22 +10378,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code DIMENSION \n");
+																Log_1.append("End reading BLOCK code DIMENSION n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_dimension_count);
+																Log_1.append("\n");
 
+																block_dimension_count=block_dimension_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code DIMENSION \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_dimension());
+
 														}
 
 
@@ -8833,7 +10405,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8847,22 +10419,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code ELLIPSE \n");
+																Log_1.append("End reading BLOCK code ELLIPSE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_ellipse_count);
+																Log_1.append("\n");
 
+																block_ellipse_count=block_ellipse_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code ELLIPSE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_ellipse());
+
 														}
 
 
@@ -8876,7 +10446,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8890,22 +10460,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code HATCH \n");
+																Log_1.append("End reading BLOCK code HATCH n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_hatch_count);
+																Log_1.append("\n");
 
+																block_hatch_count=block_hatch_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code HATCH \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_hatch());
+
 														}
 
 
@@ -8916,10 +10484,11 @@
 												{
 													Log_1.append("Start reading BLOCK code HELIX \n");
 
+													//block_helix_count=0;
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -8934,21 +10503,19 @@
 																block_count5=block_count5+1;
 
 																Log_1.append("End reading BLOCK code HELIX \n");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_helix_count);
+																Log_1.append("\n");
 
+																block_helix_count=block_helix_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code HELIX \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_helix());
+
 														}
 
 
@@ -8957,14 +10524,27 @@
 
 												if (line4=="IMAGE" and  line4.length()==5)
 												{
-													Log_1.append("Start reading BLOCK code IMAGE \n");
 
+													Log_1.append("<< Start reading BLOCK code IMAGE >> \n");
+
+													block_image_count=0;
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
 													{
+														sw_block_line[sw_cleaner]=0;
 
+													}
+
+													count_block_image_14=0;
+													count_block_image_24=0;
+													count_block_image_100=0;
+
+
+													while (block_st5==0 and block_count5<49)
+													{
+
 														for_count1=for_count1+2;
 														line7=DXF_main_base[0].dxf_input[for_count1].toInt();
 														line8=DXF_main_base[0].dxf_input[for_count1+1];
@@ -8972,26 +10552,470 @@
 														switch (line7)
 														{
 															case 0:
+
 																block_st5=1;
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code IMAGE \n");
+																Log_1.append("End reading BLOCK code IMAGE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_image_count);
+																Log_1.append("\n");
 
+																block_image_count=block_image_count+1;
 
+
+
 															break;
 
+															case 5:
+
+																if(sw_block_line[5]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_5=line8;
+																	sw_block_line[5]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 8:
+
+																if(sw_block_line[8]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_8=line8;
+																	sw_block_line[8]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 10:
+
+																if(sw_block_line[10]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_10=line8.toDouble();
+																	sw_block_line[10]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 11:
+
+																if(sw_block_line[11]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_11=line8.toDouble();
+																	sw_block_line[11]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_image_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_image[block_count1][block_line_count].DXF_block_image_code_14[count_block_image_14]=line8.toDouble();
+																	count_block_image_14=count_block_image_14+1;
+																}
+																break;
+
+															case 20:
+
+																if(sw_block_line[20]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_20=line8.toDouble();
+																	sw_block_line[20]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 21:
+
+																if(sw_block_line[21]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_21=line8.toDouble();
+																	sw_block_line[21]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_image_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_image[block_count1][block_line_count].DXF_block_image_code_24[count_block_image_24]=line8.toDouble();
+																	count_block_image_24=count_block_image_24+1;
+																}
+																break;
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 70:
+
+																if(sw_block_line[70]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_70=line8.toInt();
+																	sw_block_line[70]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															/*case 72:
+
+																if(sw_block_line[72]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_72=line8.toInt();
+																	sw_block_line[72]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;*/
+
+															case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 100:
+
+																if (count_block_image_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_100[count_block_image_100]=line8;
+																	count_block_image_100=count_block_image_100+1;
+																}
+																break;
+
+															case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 330:
+
+																if(sw_block_line[330]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_330=line8;
+																	sw_block_line[330]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_image[block_count1][block_image_count].DXF_block_image_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_image());
+
+																}
+
+																break;
+
 															default:
-																Log_1.append("Find in BLOCK code IMAGE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_image());
+
 														}
 
 
@@ -9005,7 +11029,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9019,22 +11043,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code INSERT \n");
+																Log_1.append("End reading BLOCK code INSERT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_insert_count);
+																Log_1.append("\n");
 
+																block_insert_count=block_insert_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code INSERT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_insert());
+
 														}
 
 
@@ -9048,7 +11070,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9062,22 +11084,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code LEADER \n");
+																Log_1.append("End reading BLOCK code LEADER n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_leader_count);
+																Log_1.append("\n");
 
+																block_leader_count=block_leader_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code LEADER \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_leader());
+
 														}
 
 
@@ -9091,7 +11111,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9105,22 +11125,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code LIGHT \n");
+																Log_1.append("End reading BLOCK code LIGHT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_light_count);
+																Log_1.append("\n");
 
+																block_light_count=block_light_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code LIGHT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_light());
+
 														}
 
 
@@ -9129,8 +11147,14 @@
 
 												if (line4=="LINE" and  line4.length()==4)
 												{
-													Log_1.append("Start reading BLOCK code LINE \n");
+													Log_1.append("Start reading BLOCK code LINE n° : ");
+													Log_1.append(block_count1);
+													Log_1.append ("item n°: ");
+													Log_1.append(block_line_count);
+													Log_1.append("\n");
 
+
+
 													block_st5=0;
 													block_count5=0;
 
@@ -9141,6 +11165,8 @@
 													}
 
 													count_block_line_100=0;
+													count_block_line_102=0;
+													count_block_line_330=0;
 
 													while (block_st5==0 and block_count5<49)
 													{
@@ -9153,14 +11179,19 @@
 														{
 															case 0:
 
-																DXF_main_base[0].DXF_block_line_count[block_count1]=block_line_count;
+
 																block_st5=1;
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
+
+																Log_1.append("End reading BLOCK code LINE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_line_count);
+																Log_1.append(" \n");
+
 																block_line_count=block_line_count+1;
 
-																Log_1.append("End reading BLOCK code LINE \n");
-
 																break;
 
 															case 5:
@@ -9172,16 +11203,8 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
+
 																}
 
 																break;
@@ -9195,16 +11218,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9218,16 +11232,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9241,16 +11246,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9264,16 +11260,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9287,16 +11274,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9310,16 +11288,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9333,16 +11302,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9356,20 +11316,25 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
 
+															case 48:
+
+																if(sw_block_line[48]==0)
+																{
+																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_48=line8.toDouble();
+																	sw_block_line[48]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_line());
+																}
+
+																break;
+
 															case 62:
 
 																if(sw_block_line[62]==0)
@@ -9379,16 +11344,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 
 																break;
@@ -9397,16 +11353,7 @@
 
 																if (count_block_line_100>1)
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_line());
 																}
 																else
 																{
@@ -9415,39 +11362,60 @@
 																}
 																break;
 
+															case 102:
+
+																if (count_block_line_102>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_102[count_block_line_102]=line8;
+																	count_block_line_102=count_block_line_102+1;
+																}
+																break;
+
+																if (count_block_line_330>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_330[count_block_line_330]=line8;
+																	count_block_line_330=count_block_line_330+1;
+																}
+																break;
+
 															case 330:
 
-																if(sw_block_line[330]==0)
+																if (count_block_line_330>1)
 																{
-																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_330=line8;
-																	sw_block_line[330]=1;
+																	Log_1.append(found_block_line());
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code LINE \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_330[count_block_line_330]=line8;
+																	count_block_line_330=count_block_line_330+1;
 																}
 																break;
 
+															case 370:
+
+																if(sw_block_line[370]==0)
+																{
+																	DXF_input_block_line[block_count1][block_line_count].DXF_block_line_code_370=line8.toInt();
+																	sw_block_line[370]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_line());
+																}
+
+																break;
+
+
 															default:
-																Log_1.append("Find in BLOCK code LINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_line());
 														}
 
 
@@ -9461,6 +11429,20 @@
 													block_st5=0;
 													block_count5=0;
 
+													for (sw_cleaner=0; sw_cleaner<1072;++sw_cleaner)
+													{
+														sw_block_line[sw_cleaner]=0;
+
+													}
+
+													count_block_lwpolyline_10=0;
+													count_block_lwpolyline_14=0;
+													count_block_lwpolyline_20=0;
+													count_block_lwpolyline_24=0;
+													count_block_lwpolyline_100=0;
+													count_block_lwpolyline_102=0;
+													count_block_lwpolyline_330=0;
+
 													while (block_st5==0 and block_count5<49)
 													{
 
@@ -9471,28 +11453,603 @@
 														switch (line7)
 														{
 															case 0:
-																DXF_main_base[0].DXF_block_lwpolyline_count[block_count1]=block_lwpolyline_count;
+
 																block_st5=1;
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
+
+																Log_1.append("End reading BLOCK code LWPOLYLINE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_lwpolyline_count);
+																Log_1.append("\n");
+
 																block_lwpolyline_count=block_lwpolyline_count+1;
 
-																Log_1.append("End reading BLOCK code LWPOLYLINE \n");
 
-
 															break;
 
+															case 1:
+
+																if(sw_block_line[1]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_1=line8;
+																	sw_block_line[1]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 3:
+
+																if(sw_block_line[3]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_3=line8;
+																	sw_block_line[3]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+
+
+															case 5:
+
+																if(sw_block_line[5]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_5=line8;
+																	sw_block_line[5]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 6:
+
+																if(sw_block_line[6]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_6=line8;
+																	sw_block_line[6]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 8:
+
+																if(sw_block_line[8]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_8=line8;
+																	sw_block_line[8]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 10:
+
+																if (count_block_lwpolyline_10>3)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_10[count_block_lwpolyline_10]=line8.toDouble();
+																	count_block_lwpolyline_10=count_block_lwpolyline_10+1;
+																}
+																break;
+
+
+
+															case 11:
+
+																if(sw_block_line[11]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_11=line8.toDouble();
+																	sw_block_line[11]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															/*case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_lwpolyline_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_line_count].DXF_block_lwpolyline_code_14[count_block_lwpolyline_14]=line8.toDouble();
+																	count_block_lwpolyline_14=count_block_lwpolyline_14+1;
+																}
+																break;*/
+
+															case 20:
+
+																if (count_block_lwpolyline_20>3)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_20[count_block_lwpolyline_20]=line8.toDouble();
+																	count_block_lwpolyline_20=count_block_lwpolyline_20+1;
+																}
+																break;
+
+
+															case 21:
+
+																if(sw_block_line[21]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_21=line8.toDouble();
+																	sw_block_line[21]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															/*case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_lwpolyline_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_line_count].DXF_block_lwpolyline_code_24[count_block_lwpolyline_24]=line8.toDouble();
+																	count_block_lwpolyline_24=count_block_lwpolyline_24+1;
+																}
+																break;*/
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															/*case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															case 43:
+
+																if(sw_block_line[43]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_43=line8.toDouble();
+																	sw_block_line[43]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 48:
+
+																if(sw_block_line[48]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_48=line8.toDouble();
+																	sw_block_line[48]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 62:
+
+																if(sw_block_line[62]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_62=line8.toInt();
+																	sw_block_line[62]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 70:
+
+																if(sw_block_line[70]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_70=line8.toInt();
+																	sw_block_line[70]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															/*case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 72:
+
+																if(sw_block_line[72]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_72=line8.toInt();
+																	sw_block_line[72]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 74:
+
+																if(sw_block_line[74]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_74=line8.toInt();
+																	sw_block_line[74]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															/*case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															case 100:
+
+																if (count_block_lwpolyline_100>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_100[count_block_lwpolyline_100]=line8;
+																	count_block_lwpolyline_100=count_block_lwpolyline_100+1;
+																}
+																break;
+
+															case 102:
+
+																if (count_block_lwpolyline_102>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_102[count_block_lwpolyline_102]=line8;
+																	count_block_lwpolyline_102=count_block_lwpolyline_102+1;
+																}
+																break;
+
+															/*case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															/*case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															case 330:
+
+																if (count_block_lwpolyline_330>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_330[count_block_lwpolyline_330]=line8;
+																	count_block_lwpolyline_330=count_block_lwpolyline_330+1;
+																}
+																break;
+
+
+
+															/*case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;*/
+
+															case 370:
+
+																if(sw_block_line[370]==0)
+																{
+																	DXF_input_block_lwpolyline[block_count1][block_lwpolyline_count].DXF_block_lwpolyline_code_370=line8.toInt();
+																	sw_block_line[370]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_lwpolyline());
+
+																}
+
+																break;
+
 															default:
-																Log_1.append("Find in BLOCK code LWPOLYLINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_lwpolyline());
+
 														}
 
 
@@ -9506,7 +12063,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9520,22 +12077,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code MESH \n");
+																Log_1.append("End reading BLOCK code MESH n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_mesh_count);
+																Log_1.append("\n");
 
+																block_mesh_count=block_mesh_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code MESH \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_mesh());
+
 														}
 
 
@@ -9549,7 +12104,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9563,22 +12118,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code MLINE \n");
+																Log_1.append("End reading BLOCK code MLINE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_mline_count);
+																Log_1.append("\n");
 
+																block_mline_count=block_mline_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code MLINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_mline());
+
 														}
 
 
@@ -9592,7 +12145,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9606,22 +12159,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code MLEADERSTYLE \n");
+																Log_1.append("End reading BLOCK code MLEADERSTYLE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_mleaderstyle_count);
+																Log_1.append("\n");
 
+																block_mleaderstyle_count=block_mleaderstyle_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code MLEADERSTYLE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_mleaderstyle());
+
 														}
 
 
@@ -9635,7 +12186,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9649,22 +12200,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code MLEADER \n");
+																Log_1.append("End reading BLOCK code MLEADER n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_mleader_count);
+																Log_1.append("\n");
 
+																block_mleader_count=block_mleader_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code MLEADER \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_mleader());
+
 														}
 
 
@@ -9678,7 +12227,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9692,22 +12241,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code MTEXT \n");
+																Log_1.append("End reading BLOCK code MTEXT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_mtext_count);
+																Log_1.append("\n");
 
+																block_mtext_count=block_mtext_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code MTEXT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_mtext());
+
 														}
 
 
@@ -9721,7 +12268,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9735,22 +12282,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code OLEFRAME \n");
+																Log_1.append("End reading BLOCK code OLEFRAME n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_oleframe_count);
+																Log_1.append("\n");
 
+																block_oleframe_count=block_oleframe_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code OLEFRAME \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_oleframe());
+
 														}
 
 
@@ -9764,7 +12309,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9778,22 +12323,19 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code OLE2FRAME \n");
+																Log_1.append("End reading BLOCK code OLE2FRAME n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_ole2frame_count);
+																Log_1.append("\n");
 
+																block_ole2frame_count=block_ole2frame_count+1;
 
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code OLE2FRAME \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_ole2frame());
+
 														}
 
 
@@ -9807,7 +12349,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9821,22 +12363,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code POINT \n");
+																Log_1.append("End reading BLOCK code POINT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_point_count);
+																Log_1.append("\n");
 
+																block_point_count=block_point_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code POINT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_point());
+
 														}
 
 
@@ -9850,7 +12390,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9864,22 +12404,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code POLYLINE \n");
+																Log_1.append("End reading BLOCK code POLYLINE n : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_polyline_count);
+																Log_1.append("\n");
 
+																block_point_count=block_point_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code POLYLINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_polyline());
+
 														}
 
 
@@ -9893,7 +12431,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9907,22 +12445,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code RAY \n");
+																Log_1.append("End reading BLOCK code RAY n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_ray_count);
+																Log_1.append("\n");
 
+																block_ray_count=block_ray_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code RAY \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_ray());
+
 														}
 
 
@@ -9936,7 +12472,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9950,22 +12486,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code REGION \n");
+																Log_1.append("End reading BLOCK code REGION n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_region_count);
+																Log_1.append("\n");
 
+																block_region_count=block_region_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code REGION \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_region());
+
 														}
 
 
@@ -9979,7 +12513,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -9993,22 +12527,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code SECTION \n");
+																Log_1.append("End reading BLOCK code SECTION n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_section_count);
+																Log_1.append("\n");
 
+																block_section_count=block_section_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code SECTION \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_section());
+
 														}
 
 
@@ -10022,7 +12554,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10036,22 +12568,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code SEQEND \n");
+																Log_1.append("End reading BLOCK code SEQEND n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_seqend_count);
+																Log_1.append("\n");
 
+																block_seqend_count=block_seqend_count+1;
 
+
 															break;
 
 															default:
 																Log_1.append("Find in BLOCK code SEQEND \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+
 														}
 
 
@@ -10065,7 +12595,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10079,22 +12609,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code SHAPE \n");
+																Log_1.append("End reading BLOCK code SHAPE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_shape_count);
+																Log_1.append("\n");
 
+																block_shape_count=block_shape_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code SHAPE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_shape());
+
 														}
 
 
@@ -10115,7 +12643,7 @@
 													}
 
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10128,11 +12656,17 @@
 																block_st5=1;
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
+
+
+																Log_1.append("End reading BLOCK code SOLID n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_solid_count);
+																Log_1.append("\n");
+
 																block_solid_count=block_solid_count+1;
 
-																Log_1.append("End reading BLOCK code SOLID \n");
 
-
 															break;
 															case 6:
 
@@ -10143,16 +12677,8 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
+
 																}
 
 																break;
@@ -10166,16 +12692,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10189,16 +12706,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10212,16 +12720,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10235,16 +12734,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10258,16 +12748,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10281,16 +12762,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10304,16 +12776,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10327,16 +12790,7 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
@@ -10350,31 +12804,13 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code SOLID \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_solid());
 																}
 
 																break;
 
 															default:
-																Log_1.append("Find in BLOCK code SOLID \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_solid());
 														}
 
 
@@ -10388,7 +12824,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10402,22 +12838,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code SPLINE \n");
+																Log_1.append("End reading BLOCK code SPLINE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_spline_count);
+																Log_1.append("\n");
 
+																block_spline_count=block_spline_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code SPLINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_spline());
+
 														}
 
 
@@ -10431,7 +12865,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10445,22 +12879,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code SUN \n");
+																Log_1.append("End reading BLOCK code SUN n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_sun_count);
+																Log_1.append("\n");
 
+																block_sun_count=block_sun_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code SUN \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_sun());
+
 														}
 
 
@@ -10474,7 +12906,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10489,21 +12921,19 @@
 																block_count5=block_count5+1;
 
 																Log_1.append("End reading BLOCK code SURFACE \n");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_surface_count);
+																Log_1.append("\n");
 
+																block_surface_count=block_surface_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code SURFACE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_surface());
+
 														}
 
 
@@ -10517,7 +12947,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10531,22 +12961,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code TABLE \n");
+																Log_1.append("End reading BLOCK code TABLE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_table_count);
+																Log_1.append("\n");
 
+																block_table_count=block_table_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code TABLE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_table());
+
 														}
 
 
@@ -10566,7 +12994,13 @@
 
 													}
 
+													count_block_text_14=0;
+													count_block_text_24=0;
+													count_block_text_100=0;
+													count_block_text_102=0;
+													count_block_text_330=0;
 
+
 													while (block_st5==0 and block_count5<49)
 													{
 
@@ -10579,15 +13013,21 @@
 														{
 															case 0:
 
-																DXF_main_base[0].DXF_block_text_count[block_count1]=block_text_count;
+
 																block_st5=1;
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
+
+
+																Log_1.append("End reading BLOCK code TEXT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_text_count);
+																Log_1.append("\n");
+
 																block_text_count=block_text_count+1;
 
-																Log_1.append("End reading BLOCK code TEXT \n");
 
-
 															break;
 
 															case 1:
@@ -10599,62 +13039,55 @@
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															case 3:
+
+																if(sw_block_line[3]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_3=line8;
+																	sw_block_line[3]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+
+
 															case 5:
 
 																if(sw_block_line[5]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_5=line8;
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_5=line8;
 																	sw_block_line[5]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
-															case 6:
+															case 7:
 
-																if(sw_block_line[6]==0)
+																if(sw_block_line[7]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_6=line8;
-																	sw_block_line[6]=1;
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_7=line8;
+																	sw_block_line[7]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
@@ -10663,21 +13096,13 @@
 
 																if(sw_block_line[8]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_8=line8;
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_8=line8;
 																	sw_block_line[8]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
@@ -10686,21 +13111,13 @@
 
 																if(sw_block_line[10]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_10=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_10=line8.toDouble();
 																	sw_block_line[10]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
@@ -10709,44 +13126,71 @@
 
 																if(sw_block_line[11]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_11=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_11=line8.toDouble();
 																	sw_block_line[11]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															/*case 12:
+
+																if(sw_block_line[12]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_12=line8.toDouble();
+																	sw_block_line[12]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 13:
+
+																if(sw_block_line[13]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_13=line8.toDouble();
+																	sw_block_line[13]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 14:
+
+																if (count_block_text_14>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_14[count_block_text_14]=line8.toDouble();
+																	count_block_text_14=count_block_text_14+1;
+																}
+																break;*/
+
 															case 20:
 
 																if(sw_block_line[20]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_20=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_20=line8.toDouble();
 																	sw_block_line[20]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
@@ -10755,106 +13199,387 @@
 
 																if(sw_block_line[21]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_21=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_21=line8.toDouble();
 																	sw_block_line[21]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															/*case 22:
+
+																if(sw_block_line[22]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_22=line8.toDouble();
+																	sw_block_line[22]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 23:
+
+																if(sw_block_line[23]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_23=line8.toDouble();
+																	sw_block_line[23]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 24:
+
+																if (count_block_text_24>4)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_24[count_block_text_24]=line8.toDouble();
+																	count_block_text_24=count_block_text_24+1;
+																}
+																break;*/
+
+															case 30:
+
+																if(sw_block_line[30]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_30=line8.toDouble();
+																	sw_block_line[30]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 31:
+
+																if(sw_block_line[31]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_31=line8.toDouble();
+																	sw_block_line[31]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															/*case 32:
+
+																if(sw_block_line[32]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_32=line8.toDouble();
+																	sw_block_line[32]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;*/
+
 															case 40:
 
 																if(sw_block_line[40]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_40=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_40=line8.toDouble();
 																	sw_block_line[40]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															case 62:
 
-															case 50:
+																if(sw_block_line[62]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_62=line8.toInt();
+																	sw_block_line[62]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
 
-																if(sw_block_line[50]==0)
+																}
+
+																break;
+
+															/*case 70:
+
+																if(sw_block_line[70]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_50=line8.toDouble();
-																	sw_block_line[50]=1;
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_70=line8.toInt();
+																	sw_block_line[70]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															case 71:
+
+																if(sw_block_line[71]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_71=line8.toInt();
+																	sw_block_line[71]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
 															case 72:
 
 																if(sw_block_line[72]==0)
 																{
-																	DXF_input_block_text[block_count1][block_line_count].DXF_block_text_code_72=line8.toDouble();
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_72=line8.toInt();
 																	sw_block_line[72]=1;
 																}
 																else
 																{
-																	Log_1.append("Find in BLOCK code TEXT \n");
-																	Log_1.append("Line :" );
-																	Log_1.append(QString::number( for_count1));
-																	Log_1.append(" ");
-																	Log_1.append("Code :" );
-																	Log_1.append(QString::number( line7));
-																	Log_1.append(" : ");
-																	Log_1.append(line8);
-																	Log_1.append(" ");
-																	Log_1.append("\n");
+																	Log_1.append(found_block_text());
+
 																}
 
 																break;
 
+															case 74:
+
+																if(sw_block_line[74]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_74=line8.toInt();
+																	sw_block_line[74]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;*/
+
+															/*case 90:
+
+																if(sw_block_line[90]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_90=line8.toInt();
+																	sw_block_line[90]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 91:
+
+																if(sw_block_line[91]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_91=line8.toInt();
+																	sw_block_line[91]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 92:
+
+																if(sw_block_line[92]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_92=line8.toInt();
+																	sw_block_line[92]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;*/
+
+															case 100:
+
+																if (count_block_text_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_100[count_block_text_100]=line8;
+																	count_block_text_100=count_block_text_100+1;
+																}
+																break;
+
+															case 102:
+
+																if (count_block_text_100>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_102[count_block_text_102]=line8;
+																	count_block_text_102=count_block_text_102+1;
+																}
+																break;
+
+															/*case 280:
+
+																if(sw_block_line[280]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_280=line8.toInt();
+																	sw_block_line[280]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 281:
+
+																if(sw_block_line[281]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_281=line8.toInt();
+																	sw_block_line[281]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 282:
+
+																if(sw_block_line[282]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_282=line8.toInt();
+																	sw_block_line[282]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 283:
+
+																if(sw_block_line[283]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_283=line8.toInt();
+																	sw_block_line[283]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 310:
+
+																if(sw_block_line[310]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_310=line8;
+																	sw_block_line[310]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;*/
+
+															case 330:
+
+																if (count_block_text_330>1)
+																{
+																	Log_1.append(found_block_line());
+																}
+																else
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_330[count_block_text_330]=line8;
+																	count_block_text_330=count_block_text_100+1;
+																}
+																break;
+
+															/*case 340:
+
+																if(sw_block_line[340]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_340=line8;
+																	sw_block_line[340]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;
+
+															case 360:
+
+																if(sw_block_line[360]==0)
+																{
+																	DXF_input_block_text[block_count1][block_text_count].DXF_block_text_code_360=line8;
+																	sw_block_line[360]=1;
+																}
+																else
+																{
+																	Log_1.append(found_block_text());
+
+																}
+
+																break;*/
+
 															default:
-																Log_1.append("Find in BLOCK code TEXT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_text());
+
 														}
 
 
@@ -10868,7 +13593,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10882,22 +13607,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code TOLERANCE \n");
+																Log_1.append("End reading BLOCK code TOLERANCE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_tolerance_count);
+																Log_1.append("\n");
 
+																block_tolerance_count=block_tolerance_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code TOLERANCE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_tolerance());
+
 														}
 
 
@@ -10911,7 +13634,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10925,22 +13648,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code TRACE \n");
+																Log_1.append("End reading BLOCK code TRACE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_trace_count);
+																Log_1.append("\n");
 
+																block_trace_count=block_trace_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code TRACE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_trace());
+
 														}
 
 
@@ -10954,7 +13675,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -10968,22 +13689,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code UNDERLAY \n");
+																Log_1.append("End reading BLOCK code UNDERLAY n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_underlay_count);
+																Log_1.append("\n");
 
+																block_underlay_count=block_underlay_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code UNDERLAY \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_underlay());
+
 														}
 
 
@@ -10997,7 +13716,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -11011,9 +13730,15 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code VERTEX \n");
+																Log_1.append("End reading BLOCK code VERTEX n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_vertex_count);
+																Log_1.append("\n");
 
+																block_vertex_count=block_vertex_count+1;
 
+
 															break;
 
 															default:
@@ -11040,7 +13765,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -11054,22 +13779,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code VIEWPORT \n");
+																Log_1.append("End reading BLOCK code VIEWPORT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_viewport_count);
+																Log_1.append("\n");
 
+																block_viewport_count=block_viewport_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code VIEWPORT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_viewport());
+
 														}
 
 
@@ -11083,7 +13806,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -11097,22 +13820,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code WIPEOUT \n");
+																Log_1.append("End reading BLOCK code WIPEOUT n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_wipeout_count);
+																Log_1.append("\n");
 
+																block_wipeout_count=block_wipeout_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code WIPEOUT \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_wipeout());
+
 														}
 
 
@@ -11126,7 +13847,7 @@
 													block_st5=0;
 													block_count5=0;
 
-													while (block_st5==0 and block_count5<999)
+													while (block_st5==0 and block_count5<49)
 													{
 
 														for_count1=for_count1+2;
@@ -11140,22 +13861,20 @@
 																for_count1=for_count1-2;
 																block_count5=block_count5+1;
 
-																Log_1.append("End reading BLOCK code XLINE \n");
+																Log_1.append("End reading BLOCK code XLINE n° : ");
+																Log_1.append(block_count1);
+																Log_1.append ("item n°: ");
+																Log_1.append(block_xline_count);
+																Log_1.append("\n");
 
+																block_xline_count=block_xline_count+1;
 
+
 															break;
 
 															default:
-																Log_1.append("Find in BLOCK code XLINE \n");
-																Log_1.append("Line :" );
-																Log_1.append(QString::number( for_count1));
-																Log_1.append(" ");
-																Log_1.append("Code :" );
-																Log_1.append(QString::number( line7));
-																Log_1.append(" : ");
-																Log_1.append(line8);
-																Log_1.append(" ");
-																Log_1.append("\n");
+																Log_1.append(found_block_xline());
+
 														}
 
 
@@ -11180,16 +13899,8 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
+
 											}
 											break;
 
@@ -11202,16 +13913,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11224,16 +13926,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11246,16 +13939,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11268,16 +13952,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11290,16 +13965,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11312,16 +13978,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11334,16 +13991,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11357,16 +14005,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11379,16 +14018,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11401,16 +14031,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11423,16 +14044,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11445,16 +14057,7 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
@@ -11462,16 +14065,7 @@
 
 											if (count_block_100>1)
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											else
 											{
@@ -11484,16 +14078,7 @@
 
 											if (count_block_102>1)
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											else
 											{
@@ -11511,31 +14096,13 @@
 											}
 											else
 											{
-												Log_1.append("Find in BLOCK code \n");
-												Log_1.append("Line :" );
-												Log_1.append(QString::number( for_count1));
-												Log_1.append(" ");
-												Log_1.append("Code :" );
-												Log_1.append(QString::number( line3));
-												Log_1.append(" : ");
-												Log_1.append(line4);
-												Log_1.append(" ");
-												Log_1.append("\n");
+												Log_1.append(found_block_section2());
 											}
 											break;
 
 
 										default:
-											Log_1.append("Find in BLOCK section \n");
-											Log_1.append("Line :" );
-											Log_1.append(QString::number( for_count1));
-											Log_1.append(" ");
-											Log_1.append("Code :" );
-											Log_1.append(QString::number( line3));
-											Log_1.append(" : ");
-											Log_1.append(line4);
-											Log_1.append(" ");
-											Log_1.append("\n");
+											Log_1.append(found_block_section2());
 									}
 
 
@@ -22978,3 +25545,965 @@
 
 	return Log_2;
 }
+
+
+QString dxf_split::found_block_section2()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK section ");
+	Log_2.append(" BLOCK n°: ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line3));
+	Log_2.append(" - ");
+	Log_2.append(line4);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+
+QString dxf_split::found_end_block_section()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK section ");
+	Log_2.append(" END BLOCK n°: ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line5));
+	Log_2.append(" - ");
+	Log_2.append(line6);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_table_block_record()
+{
+	Log_2="";
+	Log_2.append("Found in TABLE BLOCK RECORD code ");
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line5));
+	Log_2.append(" - ");
+	Log_2.append(line6);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+/* bock text */
+
+QString dxf_split::found_block_image()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code IMAGE n°: ");
+	Log_2.append(QString::number(block_image_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_line()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code LINE n°: ");
+	Log_2.append(QString::number(block_line_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_attdef()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code ATTDEF n°: ");
+	Log_2.append(QString::number(block_attdef_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_attr()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code ATTRIB n°: ");
+	Log_2.append(QString::number(block_attrib_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_arc()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code ARC n°: ");
+	Log_2.append(QString::number(block_arc_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_acad_proxy_entity()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code ACAD_PROXY_ENTITY n°: ");
+	Log_2.append(QString::number(block_acad_proxy_entity_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_lwpolyline()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code LWPOLYLINE n°: ");
+	Log_2.append(QString::number(block_lwpolyline_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_text()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code TEXT n°: ");
+	Log_2.append(QString::number(block_text_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_circle()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code CIRCLE n°: ");
+	Log_2.append(QString::number(block_circle_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_hatch()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code HATCH n°: ");
+	Log_2.append(QString::number(block_hatch_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_ellipse()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code ELLIPSE n°: ");
+	Log_2.append(QString::number(block_ellipse_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_3dface()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code 3DFACE n°: ");
+	Log_2.append(QString::number(block_3dface_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_3dsolid()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code 3DFACE n°: ");
+	Log_2.append(QString::number(block_3dsolid_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_body()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code BODY n°: ");
+	Log_2.append(QString::number(block_body_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_dimension()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code DIMENSION n°: ");
+	Log_2.append(QString::number(block_dimension_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_helix()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code HELIX n°: ");
+	Log_2.append(QString::number(block_helix_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_insert()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code INSERT n°: ");
+	Log_2.append(QString::number(block_insert_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_leader()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code LEADER n°: ");
+	Log_2.append(QString::number(block_leader_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_light()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code LIGHT n°: ");
+	Log_2.append(QString::number(block_light_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_mesh()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code MESH n°: ");
+	Log_2.append(QString::number(block_mesh_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_mline()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code MLINE n°: ");
+	Log_2.append(QString::number(block_mline_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_mleaderstyle()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code MLEADERSTYLE n°: ");
+	Log_2.append(QString::number(block_mleaderstyle_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_mleader()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code MLEADER n°: ");
+	Log_2.append(QString::number(block_mleader_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_mtext()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code MTEXT n°: ");
+	Log_2.append(QString::number(block_mtext_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_oleframe()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code OLEFRAME n°: ");
+	Log_2.append(QString::number(block_oleframe_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+
+QString dxf_split::found_block_ole2frame()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code OLE2FRAME n°: ");
+	Log_2.append(QString::number(block_ole2frame_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_point()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code POINT n°: ");
+	Log_2.append(QString::number(block_point_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_polyline()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code POLYLINE n°: ");
+	Log_2.append(QString::number(block_polyline_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_ray()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code RAY n°: ");
+	Log_2.append(QString::number(block_ray_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_region()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code REGION n°: ");
+	Log_2.append(QString::number(block_region_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_section()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SECTION n°: ");
+	Log_2.append(QString::number(block_section_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+
+QString dxf_split::found_block_seqend()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SEQEND n°: ");
+	Log_2.append(QString::number(block_seqend_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+
+QString dxf_split::found_block_shape()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SEQEND n°: ");
+	Log_2.append(QString::number(block_shape_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_solid()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SOLID n°: ");
+	Log_2.append(QString::number(block_solid_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_spline()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SPLINE n°: ");
+	Log_2.append(QString::number(block_spline_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_sun()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SUN n°: ");
+	Log_2.append(QString::number(block_sun_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_surface()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code SURFACE n°: ");
+	Log_2.append(QString::number(block_surface_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_table()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code TABLE n°: ");
+	Log_2.append(QString::number(block_table_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_tolerance()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code TOLERANCE n°: ");
+	Log_2.append(QString::number(block_tolerance_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_trace()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code TRACE n°: ");
+	Log_2.append(QString::number(block_trace_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_underlay()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code UNDERLAY n°: ");
+	Log_2.append(QString::number(block_underlay_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_vertex()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code VERTEX n°: ");
+	Log_2.append(QString::number(block_vertex_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_viewport()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code VIEWPORT n°: ");
+	Log_2.append(QString::number(block_viewport_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_wipeout()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code WIPEOUT n°: ");
+	Log_2.append(QString::number(block_wipeout_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}
+
+QString dxf_split::found_block_xline()
+{
+	Log_2="";
+	Log_2.append("Found in BLOCK n° ");
+	Log_2.append(QString::number(block_count1));
+	Log_2.append(" code XLINE n°: ");
+	Log_2.append(QString::number(block_xline_count));
+	Log_2.append(" line :" );
+	Log_2.append(QString::number( for_count1));
+	Log_2.append(" ");
+	Log_2.append(" code :" );
+	Log_2.append(QString::number( line7));
+	Log_2.append(" - ");
+	Log_2.append(line8);
+	Log_2.append(" ");
+	Log_2.append("\n");
+
+	return Log_2;
+}

Modified: branches/dxftoqet2/src/dxf_split.h
===================================================================
--- branches/dxftoqet2/src/dxf_split.h	2015-10-04 10:35:50 UTC (rev 4232)
+++ branches/dxftoqet2/src/dxf_split.h	2015-10-04 19:47:08 UTC (rev 4233)
@@ -53,11 +53,53 @@
 	int block_count4;
 	int block_count5;
 
+	int block_3dface_count;
+	int block_3dsolid_count;
+	int block_acad_proxy_entity_count;
+	int block_arc_count;
+	int block_attdef_count;
+	int block_attrib_count;
+	int block_body_count;
+	int block_circle_count;
+	int block_dimension_count;
+	int block_ellipse_count;
+	int block_hatch_count;
+	int block_helix_count;
+	int block_image_count;
+	int block_insert_count;
+	int block_leader_count;
+	int block_light_count;
 	int block_line_count;
 	int block_lwpolyline_count;
+	int block_mesh_count;
+	int block_mline_count;
+	int block_mleaderstyle_count;
+	int block_mleader_count;
+	int block_mtext_count;
+	int block_oleframe_count;
+	int block_ole2frame_count;
+	int block_point_count;
+	int block_polyline_count;
+	int block_ray_count;
+	int block_region_count;
+	int block_section_count;
+	int block_seqend_count;
+	int block_shape_count;
+	int block_solid_count;
+	int block_spline_count;
+	int block_sun_count;
+	int block_surface_count;
+	int block_table_count;
 	int block_text_count;
-	int block_solid_count;
+	int block_tolerance_count;
+	int block_trace_count;
+	int block_underlay_count;
+	int block_vertex_count;
+	int block_viewport_count;
+	int block_wipeout_count;
+	int block_xline_count;
 
+
 	int block_st1;
 	int block_st2;
 	int block_st3;
@@ -213,6 +255,7 @@
 
 	int count_table_block_record_100;
 	int count_table_block_record_102;
+	int count_table_block_record_331;
 
 	int count_table_dimstyle_100;
 	int count_table_dimstyle_1001;
@@ -241,8 +284,39 @@
 
 	int count_table_ucs_100;
 
+	int count_block_image_14;
+	int count_block_image_24;
+	int count_block_image_100;
 
+	int count_block_arc_14;
+	int count_block_arc_24;
+	int count_block_arc_100;
 
+	int count_block_attdef_14;
+	int count_block_attdef_24;
+	int count_block_attdef_100;
+
+	int count_block_circle_14;
+	int count_block_circle_24;
+	int count_block_circle_100;
+	int count_block_circle_102;
+	int count_block_circle_330;
+
+	int count_block_lwpolyline_10;
+	int count_block_lwpolyline_14;
+	int count_block_lwpolyline_20;
+	int count_block_lwpolyline_24;
+	int count_block_lwpolyline_100;
+	int count_block_lwpolyline_102;
+	int count_block_lwpolyline_330;
+
+
+	int count_block_text_14;
+	int count_block_text_24;
+	int count_block_text_100;
+	int count_block_text_102;
+	int count_block_text_330;
+
 	int count_table_view_100;
 	int count_table_view_102;
 
@@ -252,7 +326,10 @@
 	int count_block_100;
 	int count_block_102;
 
+
 	int count_block_line_100;
+	int count_block_line_102;
+	int count_block_line_330;
 
 	int count_end_block_100;
 
@@ -351,6 +428,52 @@
 	void dxf_split_objects();
 	void dxf_split_thumbnailimage();
 
+	QString found_block_3dface();
+	QString found_block_3dsolid();
+	QString found_block_acad_proxy_entity();
+	QString found_block_arc();
+	QString found_block_attdef();
+	QString found_block_attr();
+	QString found_block_body();
+	QString found_block_circle();
+	QString found_block_dimension();
+	QString found_block_ellipse();
+	QString found_block_hatch();
+	QString found_block_helix();
+	QString found_block_image();
+	QString found_block_insert();
+	QString found_block_leader();
+	QString found_block_light();
+	QString found_block_line();
+	QString found_block_lwpolyline();
+	QString found_block_mesh();
+	QString found_block_mline();
+	QString found_block_mleaderstyle();
+	QString found_block_mleader();
+	QString found_block_mtext();
+	QString found_block_oleframe();
+	QString found_block_ole2frame();
+	QString found_block_point();
+	QString found_block_polyline();
+	QString found_block_ray();
+	QString found_block_region();
+	QString found_block_section();
+	QString found_block_seqend();
+	QString found_block_shape();
+	QString found_block_solid();
+	QString found_block_spline();
+	QString found_block_sun();
+	QString found_block_surface();
+	QString found_block_table();
+	QString found_block_text();
+	QString found_block_tolerance();
+	QString found_block_trace();
+	QString found_block_underlay();
+	QString found_block_vertex();
+	QString found_block_viewport();
+	QString found_block_wipeout();
+	QString found_block_xline();
+
 	QString found_entities_3dface();
 	QString found_entities_3dsolid();
 	QString found_entities_acad_proxy_entity();
@@ -397,8 +520,14 @@
 	QString found_entities_wipeout();
 	QString found_entities_xline();
 
+	QString found_block_section2();
+	QString found_end_block_section();
 
 
+	QString found_table_block_record();
+
+
+
 	signals:
 		void ValueChanged (int for_count1);
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/