[go: up one dir, main page]

JP2005050325A - Method for extracting character data on drawing, method for forming quantity account, and program - Google Patents

Method for extracting character data on drawing, method for forming quantity account, and program Download PDF

Info

Publication number
JP2005050325A
JP2005050325A JP2004202298A JP2004202298A JP2005050325A JP 2005050325 A JP2005050325 A JP 2005050325A JP 2004202298 A JP2004202298 A JP 2004202298A JP 2004202298 A JP2004202298 A JP 2004202298A JP 2005050325 A JP2005050325 A JP 2005050325A
Authority
JP
Japan
Prior art keywords
file
character data
data
recorded
extracted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004202298A
Other languages
Japanese (ja)
Inventor
Shinji Kato
真治 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OES KK
Original Assignee
OES KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OES KK filed Critical OES KK
Priority to JP2004202298A priority Critical patent/JP2005050325A/en
Publication of JP2005050325A publication Critical patent/JP2005050325A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for extracting character data on a drawing, which can efficiently and precisely perform a work for extracting character data necessary for a quantity account from the drawing to form the quantity account. <P>SOLUTION: An original drawing file 30, a definition forming drawing file 31, and an attribute forming drawing file 32 are read, a definition file 31 recording the line number of character data to be extracted is formed from the definition forming drawing file 31, and an attribute file 32 recording the order of character data to be extracted is formed from the attribute forming drawing file 32. On the basis of the data of the definition file 33, character data to be extracted are extracted from the original drawing file 30 and recorded to form a quantity data TXT file 35. The character data recorded in the quantity data TXT file 35 are sorted on the basis of the attribute value recorded in the attribute file 32 to form a quantity data CSV file 36 in which the character data recorded in the original drawing file 30 are extracted/classified. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、図面ファイルから図面上の必要な文字データを抽出し、数量計算書を作成するのに好適な図面上の文字データ抽出方法、数量計算書作成方法、及びこれらの方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention extracts a necessary character data on a drawing from a drawing file and creates a quantity calculation document, a character data extraction method on a drawing, a quantity calculation preparation method, and these methods executed on a computer. It is related to the program to make it.

土木工事や建築工事等を行う際は設計図面を作成する必要がある。一方従来、作成した設計図面の中から土木工事等に必要な各種資材の長さ、面積、数量等の文字データを抽出し、抽出した資材に関する文字データを集計して、土木工事等に必要な資材の種類や数量や費用等を一覧表としてまとめた数量計算書を作成しておく必要もあった。ここで通常、数量計算書の作成は、設計コンサルタント業者が設計図面の作成を請け負って、その設計図面をCADアプリケーション等を用いて作成すると同時に、その設計図面を用いて数量計算書を作成し、発注者に設計図面と共に納品していた。   It is necessary to create a design drawing when performing civil engineering work or construction work. On the other hand, character data such as length, area, quantity, etc. of various materials necessary for civil engineering work, etc. is extracted from the created design drawings. It was also necessary to prepare a quantity calculation sheet that summarizes the types, quantities, and expenses of materials as a list. Here, usually, the quantity calculation sheet is created by a design consultant contracted by a design consultant, and the design drawing is created using a CAD application or the like. At the same time, the quantity calculation sheet is created using the design drawing. Delivered to the orderer with design drawings.

ところで、従来紙媒体に記載された図面から数量計算書を作成する作業は手作業で行っていた。即ち、図面上に記載された各種文字データの中から、施工に必要な資材の種類、数量等に関する文字データを抽出し、抽出した文字データを資材などの種類ごとに並べ替えた上で直接紙に記載したり、又は抽出した文字データをコンピュータの表計算ソフトに入力してソート機能によって資材などの種類ごとに並べ替えたりして、数量計算書を作成していた。   By the way, the operation of creating a quantity calculation sheet from a drawing described on a paper medium has been performed manually. In other words, character data related to the type and quantity of materials required for construction is extracted from the various character data described on the drawing, and the extracted character data is sorted by type of material and then directly into paper. Or by inputting the extracted character data into a spreadsheet software on a computer and rearranging the data according to the type of the material by the sort function.

しかしながら、上記のように手作業で数量計算書に必要なデータを抽出・分類し並べ替えて数量計算書を作成するやり方では、必要な文字データの抽出作業が非常に煩雑であり、数量計算書の作成に多大な時間と労力とを要していた。また、文字データの抽出漏れや計算間違い、または転記漏れ、記載誤りなどが生じ易かった。
また、一度数量計算書を作成した後に、図面上の文字データに軽微な修正・変更等が生じた場合、その修正・変更に応じて数量計算書を改めて作成し直さなければならないが、数量計算書を修正するには再び資材などを種類ごとに並べ替える等の作業が必要で、この作業も煩雑であった。
However, as described above, the method of manually extracting, classifying, and rearranging the data necessary for the quantity calculation sheet to create the quantity calculation sheet is very complicated, and the extraction process of the necessary character data is very complicated. It took a great deal of time and effort to create. In addition, omission of character data, miscalculation, omission of transcription, and error in writing were likely to occur.
In addition, if a minor correction / change occurs in the text data on the drawing after the quantity calculation sheet has been created, the quantity calculation sheet must be re-created according to the correction / change. To correct the book, work such as rearranging materials again by type is necessary, and this work is also complicated.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、図面から数量計算書に必要な文字データを抽出して数量計算書を作成する作業を、効率的にかつ精度良く行うことができ、またその後図面上の文字データに修正・変更等が生じた場合でも数量計算書の修正・変更が容易に行える図面上の文字データ抽出方法、数量計算書作成方法及びプログラムを提供することにある。   The present invention has been made in view of the above-described problems, and its purpose is to efficiently and accurately perform the work of extracting the character data necessary for the quantity calculation sheet from the drawing and creating the quantity calculation sheet. Provides a text data extraction method, quantity calculation creation method and program that can be easily performed, and even if the text data on the drawing is subsequently modified or changed There is to do.

上記問題点を解決するため本発明は、図面上の文字データ抽出方法であって、文字データを含む図面データが記録された第1のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データを他の文字データ及び図面データと識別可能な文字列で置き換えた第2のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データをそれら抽出すべき文字データの中での順序を表す文字列で置き換えた第3のファイルと、をコンピュータに読み込むステップと、前記第2のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記抽出すべき文字データを置き換えた識別可能な文字列を検索することで、該抽出すべき文字データのソーステキストリストにおける行番号を抜き出して記録した第4のファイルを作成するステップと、前記第3のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号で特定される前記順序を表す文字列を抜き出して記録した第5のファイルを作成するステップと、前記第1のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号により特定される文字データを抜き出して記録した第6のファイルを作成するステップと、前記第6のファイルに記録された文字データを、前記第5のファイルに記録された順序を表す文字列の情報を用いてソートして記録した第7のファイルを作成するステップと、少なくとも前記第7のファイルをコンピュータから出力するステップと、を具備することを特徴とする。   In order to solve the above problems, the present invention is a character data extraction method for drawings, comprising: a first file in which drawing data including character data is recorded; and a character data recorded in the first file. Of these, the second file in which the character data to be extracted is replaced with a character string that can be distinguished from other character data and drawing data, and the character data to be extracted from the character data recorded in the first file are extracted. A step of reading a third file replaced with a character string representing the order in the character data to be read into a computer, and drawing data including the character data recorded in the second file in a source text list format By searching an identifiable character string replacing the character data to be extracted from the representation, a source text list of the character data to be extracted is retrieved. A step of creating a fourth file in which line numbers are extracted and recorded, and drawing data including character data recorded in the third file in a source text list format. Creating a fifth file in which the character string representing the sequence specified by the extracted line number is extracted and recorded; and drawing data including the character data recorded in the first file in a source text list format A step of creating a sixth file in which character data specified by a line number extracted in the fourth file is extracted from the representation, and recording the character data recorded in the sixth file; Step for creating a seventh file that is sorted and recorded using the information of the character strings representing the order recorded in the fifth file. When, characterized by comprising the step of outputting at least the seventh file from the computer, the.

ここで「文字データ」とは、図面上で、建造物や施工物や場所等の名称等を表す文字、各種資材の名称・形状等を表す文字、各種資材の長さ・面積・数量等を表す数値やそれに付随する単位等のデータを含む概念である。
「文字データを含む図面データ」とは、線図で表された図面上に、各種資材の名称等の文字データが記載された図面データを示す概念である。
また「ソーステキストリスト」とは、図面上の文字データ、線図データ等をソーステキストで表現し、位置情報を与える行番号を付したリスト形式で表したものを示す概念である。
“Character data” here refers to characters on the drawing that indicate the names of buildings, constructions, places, etc., characters that indicate the names and shapes of various materials, and the length, area, quantity, etc. of various materials. It is a concept that includes data such as numerical values to be expressed and units associated therewith.
“Drawing data including character data” is a concept indicating drawing data in which character data such as names of various materials are described on a diagram represented by a diagram.
The “source text list” is a concept indicating a list format in which character data, diagram data, and the like on the drawing are expressed in source text and line numbers giving position information are added.

また本発明は、数量計算書作成方法であって、文字データを含む図面データが記録された第1のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データを他の文字データ及び図面データと識別可能な文字列で置き換えた第2のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データをそれら抽出すべき文字データの中での順序を表す文字列で置き換えた第3のファイルと、をコンピュータに読み込むステップと、前記第2のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記抽出すべき文字データを置き換えた識別可能な文字列を検索することで、該抽出すべき文字データのソーステキストリストにおける行番号を抜き出して記録した第4のファイルを作成するステップと、前記第3のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号で特定される前記順序を表す文字列を抜き出して記録した第5のファイルを作成するステップと、前記第1のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号により特定される文字データを抜き出して記録した第6のファイルを作成するステップと、前記第6のファイルに記録された文字データを、前記第5のファイルに記録された順序を表す文字列の情報を用いてソートして記録した第7のファイルを作成するステップと、前記第7のファイルに記録された文字データを、予め前記第7のファイルに記録された文字データとのリンク情報が記録された数量計算書ファイルの前記リンク情報に基づき数量計算書ファイルに記録することで、前記第1のファイルの図面上の文字データが抽出された数量計算書を作成するステップと、少なくとも前記数量計算書をコンピュータから出力するステップと、を具備することを特徴とする。   The present invention also relates to a method for creating a quantity calculation document, wherein a first file in which drawing data including character data is recorded, and character data to be extracted from the character data recorded in the first file are different. Of the character data to be extracted and the character data to be extracted among the character data recorded in the first file. A step of reading a third file replaced with a character string representing an order into a computer, and extracting drawing data including character data recorded in the second file from a source text list format; By searching for an identifiable character string replacing the character data to be extracted, the line number in the source text list of the character data to be extracted is extracted. Specify the line number extracted in the fourth file from the step of creating the recorded fourth file and the drawing data including the character data recorded in the third file in the source text list format. A step of creating a fifth file in which the character string representing the order is extracted and recorded, and drawing data including character data recorded in the first file in a source text list format, Creating a sixth file in which character data specified by the line number extracted in the fourth file is extracted and recording the character data recorded in the sixth file in the fifth file; Creating a seventh file that has been sorted and recorded using the information of the character strings representing the order in which they are recorded, and recorded in the seventh file. The recorded character data is recorded in the quantity calculation file based on the link information of the quantity calculation file in which link information with the character data previously recorded in the seventh file is recorded. The method includes the steps of creating a quantity calculation form from which character data on the drawing of the file is extracted, and outputting at least the quantity calculation form from a computer.

また本発明は、数量計算書作成方法であって、文字データを含む図面データが記録された図面ファイルをコンピュータに読み込むステップと、予めコンピュータに読み込まれた文字データを分類する分類種別名称が掲載された少なくとも一組の分類種別リストを呼び出すステップと、文字データの中から選択された抽出すべき文字データと、分類種別リストの中から選択された分類種別名称とを互いに関連付けて一組のデータ行を作成すると共に、前記一組のデータ行を複数組作成し、該複数組のデータ行をまとめてデータ列として掲載したデータリストを作成するステップと、データリストに含まれる抽出すべき文字データを、予め分類種別名称に基づくリンク情報が記録された数量計算書ファイルのリンク情報によって数量計算書ファイルの所定の箇所に記録することで、図面ファイルの図面上の文字データが抽出された数量計算書を作成するステップと、少なくとも数量計算書をコンピュータから出力するステップと、を具備することを特徴とする。   The present invention also relates to a method for creating a quantity calculation document, which includes a step of reading a drawing file in which drawing data including character data is recorded into a computer, and a classification type name for classifying the character data read into the computer in advance. A step of calling at least one set of classification type list, character data to be extracted selected from the character data, and a classification type name selected from the classification type list, and a set of data rows A plurality of sets of data rows, creating a data list in which the plurality of sets of data rows are put together as a data column, and character data to be extracted included in the data list The quantity calculation file is based on the link information of the quantity calculation file in which the link information based on the classification type name is recorded in advance. And a step of generating a quantity calculation form in which character data on the drawing of the drawing file is extracted by recording in a predetermined location of the drawing file, and a step of outputting at least the quantity calculation form from a computer. To do.

また、本発明は上記の図面上の文字データ抽出方法又は数量計算書作成方法をコンピュータに実行させるためのプログラムであることを特徴とする。   In addition, the present invention is a program for causing a computer to execute the character data extraction method or the quantity calculation document creation method on the above drawings.

請求項1に記載の発明によれば、文字データを含む図面データが記録された第1のファイルをコンピュータに読み込み、図面上の文字データを抽出してソートした第7のファイルを作成するので、図面上の文字データを抽出する作業が効率的かつ精度良く行え、かつ抽出・ソートする過程で抽出漏れやソートミスを生じるおそれが無くなるという効果を有する。   According to the first aspect of the present invention, the first file in which the drawing data including the character data is recorded is read into the computer, the character data on the drawing is extracted, and the seventh file is created. The operation of extracting the character data on the drawing can be performed efficiently and accurately, and there is an effect that there is no possibility that an extraction omission or a sorting error occurs in the extraction / sorting process.

請求項2に記載の発明によれば、第7のファイルに記録された文字データを、予めリンク情報が記録された数量計算書ファイルのリンク先に記録するので、図面ファイルの文字データに軽微な修正が生じた場合、文字データの修正が反映された数量計算書を容易に作成することができるという効果を有する。   According to the second aspect of the present invention, since the character data recorded in the seventh file is recorded in the link destination of the quantity calculation document file in which the link information is recorded in advance, the character data in the drawing file is minimal. When the correction occurs, there is an effect that a quantity calculation sheet reflecting the correction of the character data can be easily created.

請求項3に記載の発明によれば、文字データの中から選択された抽出すべき文字データと、分類種別リストの中から選択された分類種別名称とを互いに関連付けると共に、予め分類種別名称に基づくリンク情報が記録された数量計算書ファイルのリンク情報によって数量計算書ファイルの所定の箇所に記録するので、図面上の文字データのうち抽出すべき文字データを、簡単な手順で正確且つ確実に数量計算書の所定の箇所に転載できる。したがって、記載漏れや記載誤り等のない数量計算書を簡単な手順で作成することができるという効果を有する。   According to the third aspect of the present invention, the character data to be extracted selected from the character data and the classification type name selected from the classification type list are associated with each other and based on the classification type name in advance. Since the link information of the quantity calculation file with the link information recorded is recorded at a predetermined location in the quantity calculation file, the character data to be extracted from the character data on the drawing is accurately and reliably determined in a simple procedure. It can be reprinted at a predetermined place on the calculation form. Therefore, there is an effect that it is possible to create a quantity calculation sheet free from omissions and errors in a simple procedure.

以下、本発明の実地形態例を図面に基づいて詳細に説明する。   Hereinafter, practical examples of the present invention will be described in detail with reference to the drawings.

図1に、本発明にかかる図面上の文字データ抽出方法及び数量計算書作成方法を実施するハードウエアの一構成例を示す。同図に示すように、このコンピュータシステム(以下「数量計算書作成システム」と称す。)1は、数量計算書作成システム1全体を統括し制御する主制御部(以下「CPU」と称す。)10に記憶装置20が接続されている。記憶装置20はその内部にOS(Operating System)21、CAD(Computer Aided Design)アプリケーション23、本発明の実施の形態例である数量計算書作成プログラム24、及び表計算プログラム25等の各種プログラム22、プログラム22で処理が可能なファイル26等が格納されている。さらにCPU10には、作業エリアとして使用するメモリ12、キーボードやマウス等のポインティングデバイスで構成される入力装置11、プログラム22で処理するファイル26の内容や処理の実行状況等を表示するモニター等の表示装置13、及びプログラム22で作成したファイル26を出力する出力装置14が接続されている。   FIG. 1 shows a configuration example of hardware for executing a character data extraction method and a quantity calculation document creation method on a drawing according to the present invention. As shown in the figure, this computer system (hereinafter referred to as “quantity calculation document creation system”) 1 is a main control unit (hereinafter referred to as “CPU”) that controls and controls the entire quantity calculation document generation system 1. 10 is connected to the storage device 20. The storage device 20 includes an OS (Operating System) 21, a CAD (Computer Aided Design) application 23, a quantity calculation document creation program 24 according to an embodiment of the present invention, and various programs 22 such as a spreadsheet program 25, A file 26 that can be processed by the program 22 is stored. Further, the CPU 10 displays a memory 12 used as a work area, an input device 11 composed of a pointing device such as a keyboard and a mouse, a monitor that displays the contents of the file 26 processed by the program 22, the execution status of the processing, and the like. An apparatus 13 and an output apparatus 14 for outputting a file 26 created by the program 22 are connected.

上記の数量計算書作成システム1において、CPU10は入力装置11から入力された指令に基づき、記憶装置20に格納されたOS21等の制御プログラムや、数量計算書作成プログラム24等の各種プログラム22を呼び出して実行する。そして、その実行状況を表示装置13に表示しながら、ファイル26を作成・編集し、指令に応じて出力装置14から外部に出力したり、記憶装置20内に保存する。   In the above quantity calculation document creation system 1, the CPU 10 calls a control program such as the OS 21 stored in the storage device 20 and various programs 22 such as the quantity statement creation program 24 based on a command input from the input device 11. And execute. Then, the file 26 is created / edited while the execution status is displayed on the display device 13, and is output to the outside from the output device 14 or stored in the storage device 20 according to the command.

図2に、本発明の一実施の形態例である数量計算書の作成手順(実施例1)の概略フローを示す。また図2の各ステップ毎の詳細な手順のフローを図3(a)〜(d)に示す。また、図4にこの手順を実行することにより順次作成されるファイルを示す。以下、図2、図3に示す数量計算書作成手順の流れを各ステップ毎に詳細に説明する。   FIG. 2 shows a schematic flow of a procedure for creating a quantity calculation document (Example 1) according to an embodiment of the present invention. Also, a detailed procedure flow for each step of FIG. 2 is shown in FIGS. FIG. 4 shows files that are sequentially created by executing this procedure. Hereafter, the flow of the quantity calculation document preparation procedure shown in FIGS. 2 and 3 will be described in detail for each step.

〔STEP1〕
CPU10は、数量計算書作成プログラム24を実行し、数量計算書作成の発注者(依頼主)から提供された数量計算書を作成するための元図となる、図5(a)に示すような図面上に施工場所の名称、各種資材の名称、各種資材の長さ等を表す数値とそれに付随する単位等の文字データが記載された元図面ファイル30(第1のファイル)を、数量計算書作成システム1に読み込む(ST1−1)。ここでは発注者から提供される元図面ファイル30として、CADアプリケーション23を用いて作成した図面ファイルを例に説明する。このCADアプリケーション23で作成されたファイルの一例として、Autodesk社のAutoCAD(商標)で使用されるデータファイルフォーマットであるDXF(Data exchange Format)形式のファイル等が挙げられる。
[STEP1]
As shown in FIG. 5A, the CPU 10 executes the quantity calculation document creation program 24 and serves as a base diagram for creating the quantity calculation document provided from the orderer (requester) of the quantity calculation document creation. The original drawing file 30 (first file) in which the numerical data representing the name of the construction site, the names of various materials, the lengths of the various materials, etc., and the accompanying data, etc., is written on the drawing. Read into the creation system 1 (ST1-1). Here, a drawing file created using the CAD application 23 will be described as an example of the original drawing file 30 provided from the orderer. As an example of the file created by the CAD application 23, there is a DXF (Data exchange Format) format file that is a data file format used in Autodesk's AutoCAD (trademark).

次に、図5(b)に示す定義作成用図面ファイル31(第2のファイル)を数量計算書作成システム1に読み込む(ST1−2)。この定義作成用図面ファイル31は、元図面ファイル30をコピーして同じファイルを別に作り、CADアプリケーション23で処理して予め作成しておいたものである。即ち、CADアプリケーション23で表示される前記元図面上の文字データのうち、オペレーターが数量計算書において必要と判断した文字データを選択し、この選択された文字データを他のデータと識別可能な文字列で置換する処理をしたものである。ここでは、図5(b)に示すように抽出すべき文字データを文字列ZZZで置換した例を示す。この置換する文字列は、下記するようにDXF形式のファイルに記録されている文字データを含む図面データをソーステキストリスト形式で表示した際に、他の行の文字列と識別可能な文字列であれば、どのような文字列であってもよい。   Next, the definition creation drawing file 31 (second file) shown in FIG. 5B is read into the quantity calculation document creation system 1 (ST1-2). The definition creation drawing file 31 is created in advance by copying the original drawing file 30 to create the same file separately, and processing it by the CAD application 23. That is, among the character data on the original drawing displayed by the CAD application 23, the character data that the operator determines to be necessary in the quantity calculation document is selected, and the selected character data can be distinguished from other data. This is a process of replacing with a column. Here, an example in which character data to be extracted is replaced with a character string ZZZ as shown in FIG. The character string to be replaced is a character string that can be distinguished from the character strings of other lines when drawing data including character data recorded in a DXF format file is displayed in the source text list format as described below. Any character string can be used.

さらに、図5(c)に示す属性作成用図面ファイル32(第3のファイル)を数量計算書作成システム1に読み込む(ST1−3)。属性作成用図面ファイル32は、元図面ファイル30をコピーして同じファイルをさらにもう一つ別に作成し、その図面上の文字データの中からオペレーターによって選択された数量計算書において必要な文字データ(前記定義作成用図面ファイル31においてオペレータが選択した文字データと同一)を、この必要な文字データを下記する数量データCSVファイル36でどのような順番(属性)で記録するかを表す数字及び/又は記号等(この実施の形態では数字のみ)で置換することにより作成されたものである。即ち図5(c)で、1、2、3等の数字列が、抽出すべき文字列と置換した後の順序(属性)を表す記号である。なおこの実施の形態では上述のように必要な文字データを数字だけで置換したが、数字だけでなく数字と文字との組み合わせ(例:A−001)等で置換しても良い。例えば元図面において複数箇所に地先ブロックとフェンスがある場合は、例えば地先ブロックをA−001,A−002,・・と置換し、フェンスをB−001,B−002,・・と置換する。このように置換しておけば、下記する数量データCSVファイル36において、互いに関連のある地先ブロックやフェンス等がまとまった位置でアルファベットの順番に表示できる。   Further, the attribute creation drawing file 32 (third file) shown in FIG. 5C is read into the quantity calculation document creation system 1 (ST1-3). The attribute creation drawing file 32 creates a copy of the original drawing file 30 and creates another one of the same files. The character data (in the quantity calculation sheet selected by the operator from the character data on the drawing) ( A number indicating the order (attribute) in which the necessary character data is recorded in the quantity data CSV file 36 described below and / or the same character data selected by the operator in the definition creation drawing file 31) It is created by replacing with a symbol or the like (in this embodiment, only a number). That is, in FIG. 5C, a number string such as 1, 2, 3, etc. is a symbol representing the order (attribute) after replacement with the character string to be extracted. In this embodiment, as described above, necessary character data is replaced by only numbers, but it may be replaced not only by numbers but also by a combination of numbers and characters (example: A-001). For example, if there are terrestrial blocks and fences at a plurality of locations in the original drawing, for example, the terrestrial blocks are replaced with A-001, A-002,... And the fences are replaced with B-001, B-002,. To do. By replacing in this way, in the following quantity data CSV file 36, it is possible to display in alphabetical order at positions where ground blocks and fences related to each other are grouped together.

以上のようにして、元図面ファイル30、定義作成用図面ファイル31、属性作成用図面ファイル32を読み込んで数量計算書作成プログラム24で処理可能な状態として保存する。   As described above, the original drawing file 30, the definition creation drawing file 31, and the attribute creation drawing file 32 are read and stored in a state that can be processed by the quantity calculation document creation program 24.

〔STEP2〕
次に、STEP1で読み込んだ定義作成用図面ファイル31及び属性作成用図面ファイル32から、定義ファイル33(第4のファイル)及び属性ファイル34(第5のファイル)を作成する。詳述すると、まず数量計算書作成プログラム24で、定義作成用図面ファイル31に記録された文字データを含む図面データを、図6(b)に示すようなソーステキストリスト形式で表現し、このソーステキストリストからZZZの文字列が含まれる行(同図で印を付した行)を検索し、その行番号を抜き出して記録することで作成したファイルを、図7(a)に示すような定義ファイル33とする(ST2−1)。ここでソーステキストリストとは、図面上の線図データ(線の太さ、長さの情報等)と、文字データとをテキストデータに置き換えて、このテキストデータに行番号を付してリスト形式で表したものであり、図6(b)はこのソーステキストリストのうちの一部分を示したものである。
[STEP2]
Next, a definition file 33 (fourth file) and an attribute file 34 (fifth file) are created from the definition creation drawing file 31 and the attribute creation drawing file 32 read in STEP 1. More specifically, first, drawing data including character data recorded in the definition creation drawing file 31 is expressed in a source text list format as shown in FIG. A file created by retrieving a line containing a character string of ZZZ from the text list (line marked in the figure), extracting the line number, and recording it is defined as shown in FIG. Let it be a file 33 (ST2-1). Here, the source text list is a list format in which the diagram data (line thickness, length information, etc.) and character data on the drawing are replaced with text data, and line numbers are assigned to the text data. FIG. 6B shows a part of the source text list.

続いてCPU10は、属性作成用図面ファイル32をソーステキストリスト形式で表現したもの(図6(c))から、定義ファイル33で抜き出した行番号で指定される行番号の文字列を抜き出して、その内容を記録した属性ファイル34を作成する(ST2−2)。作成した属性ファイル34の例を図7(b)に示す。この場合は文字列ZZZに置換して定義ファイル33で抽出したデータに、数字で順番(属性)を付している。即ち属性ファイル34によれば、定義ファイル33で抽出した文字データを表示したい順番(属性)がわかる。なお、定義ファイル33及び属性ファイル34はいずれもTXT形式のファイルである。   Subsequently, the CPU 10 extracts the character string of the line number specified by the line number extracted by the definition file 33 from the attribute creation drawing file 32 expressed in the source text list format (FIG. 6C). An attribute file 34 in which the contents are recorded is created (ST2-2). An example of the created attribute file 34 is shown in FIG. In this case, the order (attributes) is assigned numerically to the data extracted by the definition file 33 after replacing with the character string ZZZ. That is, according to the attribute file 34, the order (attribute) in which the character data extracted by the definition file 33 is to be displayed can be known. The definition file 33 and the attribute file 34 are both TXT format files.

〔STEP3〕
次にCPU10は、予め作成しておいた数量計算書雛型ファイル37を数量計算書作成プログラム24での処理が可能となるよう数量計算書作成システム1に読み込み、ファイル名を登録する。このSTEP3で読み込まれる数量計算書雛形ファイル37は、図8に示すように、帳票処理アプリケーション(表計算プログラム)で作成されたものを用いる。このファイルの一例として、Microsoft社のExcel(商標)で用いられるデータフォーマットであるXLS形式のファイルが挙げられる。数量計算書雛形ファイル37は、数量計算書に必要な項目を予め記載したものであり、且つ設計図面から抽出した文字データを、その文字データの属する項目に適合した所定箇所に貼り付けることができるように作られたファイルである。即ち、STEP3では数量計算書雛型ファイル37を数量計算書作成システム1に読み込み(ST3−1)、数量計算書作成プログラム24で呼び出して編集できるようファイル名をつけて登録する(ST3−2)。このファイル名は元図面ファイル30及び元図面ファイル30から作成した定義ファイル33や属性ファイル34等と関連付けて呼び出せるよう、工事件名を付けて登録しておくのが望ましい。
[STEP3]
Next, the CPU 10 reads the quantity calculation form template file 37 created in advance into the quantity calculation form creation system 1 so that it can be processed by the quantity calculation form creation program 24, and registers the file name. As the quantity calculation template file 37 read in STEP 3, as shown in FIG. 8, a file created by a form processing application (spreadsheet program) is used. As an example of this file, there is an XML format file that is a data format used in Microsoft Excel (trademark). The quantity calculation form template file 37 describes items necessary for the quantity calculation form in advance, and the character data extracted from the design drawing can be pasted to a predetermined location suitable for the item to which the character data belongs. It is a file created as follows. That is, in STEP 3, the quantity calculation form template file 37 is read into the quantity calculation form creation system 1 (ST3-1) and registered with a file name so that it can be called and edited by the quantity calculation form creation program 24 (ST3-2). . This file name is preferably registered with a construction name so that it can be called in association with the original drawing file 30 and the definition file 33 and attribute file 34 created from the original drawing file 30.

〔STEP4〕
CPU10は続いて数量計算書作成プログラム24を実行し、数量計算書作成システム1に読み込まれた図7(a)に示す定義ファイル33で指定された行番号の情報により、元図面ファイル30のソーステキストリスト(図6(a))から抽出すべき文字データを抜き出し、その文字データの内容を記録した図7(c)に示すような数量データTXTファイル35(第6のファイル)を作成する(ST4−1)。次に、この作成した数量データTXTファイル35の文字データを、先に作成して読み込んだ図7(b)に示す属性ファイル34に記録されている属性値の情報(図7(b)の場合は各データの順序の情報)によりソート処理する。これにより数量データTXTファイル35に記録された文字データの行の順序が、関連のあるもの毎に項目順に入れ替わり、図7(d)に示す数量データCSVファイル36(第7のファイル)が作成される(ST4−3)。このとき数量データCSVファイル36には、同時に図7(d)に示すように、項目順に入れ替えた各行に記載された文字と数字と記号とを、分割してカンマで区切ったものを同じ行に併記する。即ちまず文字の部分と数式の部分を分割し、さらに数字と記号を分割してそれぞれカンマで区切ったものを同じ行に併記し、これを数量データCSVファイル36の一部として保存しておく。これによってこの数量データCSVファイル36は、CSV(Comma Separated Value)形式のファイルとなり、Excel等の表計算プログラムで読み込むと、データリストの各行のカンマで区切られた部分の文字・数字列がそれぞれ独立したセルに収まるように読み込まれる。
[STEP4]
Subsequently, the CPU 10 executes the quantity calculation document creation program 24, and the source of the original drawing file 30 based on the line number information specified in the definition file 33 shown in FIG. Character data to be extracted is extracted from the text list (FIG. 6A), and a quantity data TXT file 35 (sixth file) as shown in FIG. ST4-1). Next, the information on the attribute values recorded in the attribute file 34 shown in FIG. 7 (b) that has been created and read in the character data of the created quantity data TXT file 35 (in the case of FIG. 7 (b)). Are sorted according to the order of each data). As a result, the order of the lines of the character data recorded in the quantity data TXT file 35 is changed to the item order for each related one, and the quantity data CSV file 36 (seventh file) shown in FIG. 7D is created. (ST4-3). At this time, in the quantity data CSV file 36, as shown in FIG. 7 (d), the characters, numbers, and symbols described in each line replaced in the order of items are divided and separated by commas on the same line. It is written together. That is, first, the character portion and the mathematical expression portion are divided, and further, numbers and symbols are divided and separated by commas, are written together on the same line, and stored as a part of the quantity data CSV file 36. As a result, the quantity data CSV file 36 becomes a CSV (Comma Separated Value) format file, and when read by a spreadsheet program such as Excel, the character / number strings in the data list separated by commas are independent of each other. Will be read to fit in the selected cell.

続いて、STEP3で予め登録しておいた数量計算書雛型ファイル37を、数量計算書雛形ファイル37のファイル名を指定して読み出し、表示装置13上に表示する(ST4−4)。表示装置13上に読み出した数量計算書雛形ファイル37は、図8に示すように表計算プログラム25の表示形式である、セルを有するワークシートとして表示される。また、先に保存した数量データCSVファイル36を同様に読み出して、図8に示すように表示装置13上に数量計算書雛型ファイル37のワークシートと並べて表示する(ST4−5)。この数量データCSVファイル36も記録されたデータが各セル内に記載されたワークシートで表示される。   Subsequently, the quantity calculation template file 37 registered in advance in STEP 3 is read by designating the file name of the quantity calculation template file 37 and displayed on the display device 13 (ST4-4). The quantity calculation template file 37 read on the display device 13 is displayed as a worksheet having cells, which is the display format of the spreadsheet program 25, as shown in FIG. The previously stored quantity data CSV file 36 is similarly read out and displayed side by side with the worksheet of the quantity calculation template file 37 on the display device 13 as shown in FIG. 8 (ST4-5). The quantity data CSV file 36 is also displayed on a worksheet in which the recorded data is written in each cell.

上記のように表示装置13上に並べて表示された数量データCSVファイル36と数量計算書雛型ファイル37に記録されたデータを見たオペレーターにより、この数量計算書作成システム1には、入力装置11を介して、数量計算書CSVファイル36の文字データを、数量計算書ファイル37の所定のセルを指定して貼り付ける指令が入力される。この入力された指令を受けて、CPU10は、数量データCSVファイル36のデータを数量計算書雛型ファイル37の指定されたセルにリンク情報を付して貼り付ける(ST4−6)。なおこの際、オペレーターによるデータ貼り付け先のセルを指定する作業の負担が軽減されるように、2つのファイルの所定のデータセルに共通の色を付して識別し易くしたり、目印となる記号を付すなどの機能を数量計算書作成プログラム24に追加することが望ましい。以上のようにして数量データCSVファイル36の文字データがリンク貼り付けされた図9に示すような数量計算書ファイル38が作成される。そしてこの数量計算書ファイル38を記憶装置20に保存し、あるいは必要に応じて出力装置14から出力する(ST4−7)。以上の各ステップにより、元図面ファイル30から必要な文字データを抽出して作成した数量計算書ファイル38が完成する。   An operator who viewed the data recorded in the quantity data CSV file 36 and the quantity calculation template file 37 displayed side by side on the display device 13 as described above receives the input device 11 in the quantity calculation document creation system 1. The command for pasting the character data of the quantity calculation form CSV file 36 by designating a predetermined cell of the quantity calculation form file 37 is input. In response to this input command, the CPU 10 pastes the data in the quantity data CSV file 36 with link information attached to the designated cell in the quantity calculation template file 37 (ST4-6). At this time, a common color is given to the predetermined data cells of the two files so that the burden of the work of designating the cell to which the data is pasted by the operator is reduced, or it becomes a mark. It is desirable to add a function such as adding a symbol to the quantity calculation document creating program 24. As described above, the quantity calculation file 38 as shown in FIG. 9 with the link of the character data of the quantity data CSV file 36 is created. Then, the quantity calculation file 38 is stored in the storage device 20, or is output from the output device 14 as necessary (ST4-7). Through the above steps, a quantity calculation file 38 created by extracting necessary character data from the original drawing file 30 is completed.

以上の手順で数量計算書ファイル38を作成した後で、元図面ファイル30の図面上の文字データに軽微な修正・変更が生じた場合に、修正データが反映された数量計算書ファイル38を作成し直す方法について説明する。即ちこの場合は、図面上の文字データが修正された元図面ファイル30´と、先に作成した定義ファイル33と、属性ファイル34とを用意し、これら3つのファイルを数量計算書作成プログラム24で読み込み、先の数量計算書作成手順で実行したSTEP4の処理を再度実行すればよい。このとき、先に行ったST4−6の処理により、数量計算書ファイル38に記録されたデータは、数量データCSVファイル36のデータとリンク付けがされているので、修正された元図面ファイル30´に関する数量データCSVファイル36が作成されると、これとリンク付けされた数量計算書ファイル38の修正前の元図面ファイル30の該当するデータが貼り付けられていた位置に修正後のデータが自動的に貼り付けられ、新しい数量計算書ファイル38´が作成される。これによりこの場合はST4−6のオペレーターによる貼り付け指令を受ける必要なく、図面上の修正データが反映された数量計算書ファイル38´が自動的に作成される。   After creating the quantity calculation file 38 according to the above procedure, create a quantity calculation file 38 that reflects the correction data when minor corrections / changes occur in the text data on the original drawing file 30. A method of redoing will be described. That is, in this case, an original drawing file 30 ′ in which the character data on the drawing is corrected, a definition file 33 created earlier, and an attribute file 34 are prepared, and these three files are prepared by the quantity calculation document creation program 24. The processing of STEP 4 that has been read and executed in the previous procedure for creating the quantity calculation sheet may be executed again. At this time, since the data recorded in the quantity calculation file 38 is linked with the data in the quantity data CSV file 36 by the processing of ST4-6 performed earlier, the modified original drawing file 30 ' When the quantity data CSV file 36 is created, the corrected data is automatically placed at the position where the corresponding data of the original drawing file 30 before correction of the quantity calculation file 38 linked with the CSV file 36 is pasted. To create a new quantity calculation file 38 '. As a result, in this case, the quantity calculation file 38 'reflecting the correction data on the drawing is automatically created without having to receive the pasting instruction from the operator of ST4-6.

次に、本発明の他の実施の形態例にかかる数量計算書の作成手順(実施例2)を説明する。本実施例において、数量計算書作成方法を実行する数量計算書作成システム1の構成及び各構成部の役割は実施例1と同様であるためその説明は省略する。図10は、本実施例にかかる数量計算書の作成手順の概略フローを示す図である。以下、この数量計算書作成手順の流れを各ステップ毎に詳細に説明する。   Next, a procedure for creating a quantity calculation document according to another embodiment of the present invention (Example 2) will be described. In the present embodiment, the configuration of the quantity calculation document creation system 1 that executes the quantity calculation document creation method and the role of each component are the same as those in the first embodiment, and thus the description thereof is omitted. FIG. 10 is a diagram illustrating a schematic flow of a procedure for creating a quantity calculation document according to the present embodiment. Hereinafter, the flow of the procedure for creating the quantity calculation sheet will be described in detail for each step.

〔STEP11〕
CPU10は、数量計算書を作成する元図となる、図11に示す元図面ファイル40を数量計算書作成システム1に読み込む。元図面ファイル40は、実施例1の数量計算書作成手順で読み込んだ元図面ファイル30と同様、CADアプリケーション23を用いて作成した図面ファイルであり、図面上に施工場所の名称、各種資材の名称、及び各種資材の寸法や数量等を表す数値とそれに付随する単位等の文字データが記載されたものである。この数量計算書作成システム1に読み込まれた元図面ファイル40は、CADアプリケーション23で呼び出して、図11のように表示装置13の画面上に表示させる。なお、図示の都合上、図11では元図面ファイル40の一部のみを示す。
[STEP 11]
The CPU 10 reads the original drawing file 40 shown in FIG. 11, which is the original drawing for creating the quantity calculation document, into the quantity calculation document creation system 1. The original drawing file 40 is a drawing file created using the CAD application 23 in the same manner as the original drawing file 30 read in the quantity calculation document creation procedure of the first embodiment, and the name of the construction place and the names of various materials on the drawing. , And numerical values representing dimensions and quantities of various materials and character data such as units accompanying the numerical values. The original drawing file 40 read into the quantity calculation document creating system 1 is called by the CAD application 23 and displayed on the screen of the display device 13 as shown in FIG. For the sake of illustration, only a part of the original drawing file 40 is shown in FIG.

〔STEP12〕
続いて、元図面ファイル40を表示させた状態で、数量計算書作成プログラム24を起動する。図12に、数量計算書作成プログラム24を起動した場合の表示ウインドウ41を示す。表示ウインドウ41は、CADアプリケーション23で表示した元図面ファイル40と同時に画面上に表示できる。ここで、数量計算書作成プログラム24には、予め、“開削”や“組立”等、工事現場で実際に行なわれる工法名称が掲載された工法名称リストと、これら各工法で使用される資材の名称やその寸法等である“管番号”や“区間延長”等の種別名称が掲載された種別名称リストとが読み込まれて登録されている。そして同図に示すように、数量計算書作成プログラム24を起動した際に現れる表示ウインドウ41に、工法名称リストに基づく工法を表示する複数の工法名称タブ42が設けられている。また、種別名称は、各工法名称タブ42のいずれかが選択された際に、その工法名称タブ42内に属する種別一覧リスト43として表示されるようになっている。なお、44は、元図面ファイル40から取得済みの文字データの色を変更するための色変更コマンドであり、既に取得した図面上の文字データを他の未取得の文字データの色と異ならせて識別可能な状態にするものである。
[STEP 12]
Subsequently, the quantity calculation document creation program 24 is activated with the original drawing file 40 displayed. FIG. 12 shows a display window 41 when the quantity calculation document creation program 24 is activated. The display window 41 can be displayed on the screen simultaneously with the original drawing file 40 displayed by the CAD application 23. Here, in the quantity calculation document creation program 24, the construction method name list in which construction method names actually performed at the construction site such as “opening” and “assembly” are listed in advance, and the materials used in each of these construction methods are listed. A classification name list in which classification names such as “pipe number” and “section extension”, such as names and dimensions thereof, are read and registered. As shown in the figure, a display window 41 that appears when the quantity calculation document creation program 24 is started is provided with a plurality of construction method name tabs 42 for displaying construction methods based on the construction method name list. Further, the type name is displayed as a type list 43 belonging to the method name tab 42 when any one of the method name tabs 42 is selected. Reference numeral 44 denotes a color change command for changing the color of the character data already acquired from the original drawing file 40. The character data on the drawing already acquired is made different from the color of other unacquired character data. It makes it in an identifiable state.

次に、オペレーターによって、元図面ファイル40上の文字データの中から、数量計算書へ抽出すべき文字データが選択されると、数量計算書作成プログラム24によって、当該文字データ、及びそれに関する図面上における座標位置情報や色情報等の文字データプロパティが取得される。ここでは、図面上に表示された文字データをクリックすることによって当該文字データが選択され取得されるように設定しておく。図13は、図11に示す元図面ファイル40のA部分の拡大図である。いま、図13内の点線で囲まれた“90.00m”の文字データが選択された場合を説明する。当該文字データが選択されると、表示ウインドウ41の属性値欄45にこの文字データが転記される。なお、同時に取得された文字データプロパティは、表示されずに文字データと関連付けられて保存される。   Next, when the operator selects character data to be extracted into the quantity calculation sheet from the character data on the original drawing file 40, the quantity calculation document creating program 24 causes the character data and the related drawing data to be extracted. Character data properties such as coordinate position information and color information are acquired. Here, it is set so that the character data is selected and acquired by clicking the character data displayed on the drawing. FIG. 13 is an enlarged view of portion A of the original drawing file 40 shown in FIG. Now, a case where “90.00 m” character data surrounded by a dotted line in FIG. 13 is selected will be described. When the character data is selected, the character data is transferred to the attribute value column 45 of the display window 41. The character data properties acquired at the same time are stored in association with the character data without being displayed.

続いて、表示ウインドウ41に表示されている工法名称タブ42の中から、属性値欄45に記載された文字データが属する工法名称タブ42がクリックされて選択されると、選択された工法に属する種別一覧リスト43が表示される。図12では、開削DIS工法の工法名称タブ42が選択され、その中の種別一覧リストが表示されている。そして、種別一覧リスト43の中から属性値欄45の文字データに該当する種別名称である“区間延長”が選択されることで、先に選択された属性値の“90.00m”と、工法名称の“開削DIS”と、種別名称の“区間延長”とが互いに関連付けられて、データリスト表示欄47に一組のデータ行46として掲載される。このようにして、図面上の文字データと、当該文字データが分類される工法名称及び種別名称とが互いに関連付けられて一組のデータ行として登録される。   Subsequently, when the method name tab 42 to which the character data described in the attribute value column 45 belongs is clicked and selected from the method name tabs 42 displayed in the display window 41, the method belongs to the selected method. A type list 43 is displayed. In FIG. 12, the method name tab 42 of the excavation DIS method is selected, and the type list is displayed. Then, by selecting “section extension” that is the type name corresponding to the character data in the attribute value column 45 from the type list 43, the previously selected attribute value “90.00 m” and the construction method are selected. The name “cutting DIS” and the type name “section extension” are associated with each other and are listed in the data list display column 47 as a set of data rows 46. In this way, the character data on the drawing, the construction method name and the classification name into which the character data is classified are associated with each other and registered as a set of data rows.

図面上の他の未取得の文字データについても、上記STEP12の手順を繰り返して実行することで、当該文字データと工法名称と種別名称とが関連付けられて一組のデータ行となり、データリスト表示欄47に掲載される。こうして同一の工事スパン(ここでは、図面上の特定の箇所、例えば隣り合うマンホールの間を区切る一区分を“スパン”と呼び、各スパンに番号を付して区別することとする。)に属する文字データのうち数量計算書に抽出すべき総ての文字データが順に選択されることで、図14に示すように、データリスト表示欄47にこれらデータ行46が一覧として掲載されたデータリスト48が作成される。なお、図面上の複数の文字データを取得する場合には、同一の工事スパン内で取得するのであれば、その取得順序に特に決まりは無く任意の順序で良い。さらに、スパン切り換えボタン51を操作することによって、各工事スパン毎に、上記のデータリスト48をそれぞれ別々に作成することができる。   For other unacquired character data on the drawing, by repeating the above step 12, the character data, the method name, and the type name are associated with each other to form a set of data lines, and a data list display field 47. In this way, it belongs to the same construction span (here, one section that divides a specific portion on the drawing, for example, between adjacent manholes is called a “span”, and each span is numbered to be distinguished). All the character data to be extracted in the quantity calculation sheet among the character data is selected in order, so that a data list 48 in which these data rows 46 are listed as a list in the data list display column 47 as shown in FIG. Is created. When acquiring a plurality of character data on the drawing, the acquisition order is not particularly limited as long as it is acquired within the same construction span, and any order may be used. Further, by operating the span switching button 51, the data list 48 can be created separately for each construction span.

〔STEP13〕
一方、数量計算書作成プログラム24には、予め表計算プログラム25で作成された、図15に示すような数量計算書雛形ファイル55を登録しておく。数量計算書雛形ファイル55は、実施例1の数量計算書雛形ファイル37と同様、数量計算書に必要な項目を予め記載し、且つ元図面から抽出した文字データを、その文字データの属する項目に適合した所定箇所に貼り付けることができるように作られたファイルである。即ち、STEP13では、この数量計算書雛型ファイル55を数量計算書作成システム1に読み込み、数量計算書作成プログラム24で呼び出して編集できるようファイル名をつけて登録する。ファイル名は、工事件名等を付けて登録しておくのが望ましい。
[STEP 13]
On the other hand, a quantity calculation template file 55 as shown in FIG. 15 created in advance by the spreadsheet program 25 is registered in the quantity calculation preparation program 24. As with the quantity calculation template file 37 of the first embodiment, the quantity calculation template file 55 describes items necessary for the quantity calculation in advance, and sets character data extracted from the original drawing as items to which the character data belongs. It is a file created so that it can be pasted to a predetermined location that matches. That is, in STEP 13, the quantity calculation form template file 55 is read into the quantity calculation form creation system 1 and registered with a file name so that it can be called and edited by the quantity calculation form creation program 24. It is desirable to register the file name with a construction subject.

〔STEP14〕
続いて、図14の表示ウインドウ41で、データリスト表示欄47にデータリスト48が掲載された状態で数量計算書作成ボタン49を押下すると、数量計算書作成プログラム24によって表計算プログラム25が立ち上げられて、数量計算書の作成が実行される。以下、その手順を詳細に説明する。まず、先に作成した各工事スパンに属するデータリスト48から文字データが抽出されて、種別名称との関連付けに基づいてソート処理が行われることで、同一の工事スパンに属する文字データが横に並んだ状態で記載された文字データ行に変換される。このソート処理の結果が、図16に示す数量データCSVファイル57として出力される。同図は数量データCSVファイル57を表計算プログラム25の表示形式で表示したものである。数量データCSVファイル57は、1行目に種別名称が記載され、2行目に1スパンに属する文字データが1行目の種別名称に対応した位置に並べられて掲載されており、3行目に2スパンに属する文字データが1行目の種別名称に対応した位置に並べられて掲載されている。以下、さらに別の工事スパンがある場合は、当該工事スパンに属する文字データが種別名称ごとに並べられて掲載される。この数量データCSVファイル57は工法ごとに個別に作成される。
[STEP14]
Next, when the quantity calculation creation button 49 is pressed in the display window 41 of FIG. 14 with the data list 48 being posted in the data list display field 47, the quantity calculation creation program 24 starts up the spreadsheet program 25. Then, the creation of the quantity statement is executed. The procedure will be described in detail below. First, character data is extracted from the previously created data list 48 belonging to each construction span and sorted based on the association with the type name, so that the character data belonging to the same construction span is arranged horizontally. It is converted to the character data line described in the state. The result of the sorting process is output as a quantity data CSV file 57 shown in FIG. This figure shows the quantity data CSV file 57 displayed in the display format of the spreadsheet program 25. In the quantity data CSV file 57, the type name is described in the first line, the character data belonging to one span is arranged in the second line in a position corresponding to the type name in the first line, and the third line. The character data belonging to two spans are listed and arranged at positions corresponding to the type names on the first line. Hereinafter, when there is another construction span, the character data belonging to the construction span is listed and listed for each type name. This quantity data CSV file 57 is created individually for each construction method.

数量計算書作成プログラム24は、数量データCSVファイル57を作成したら、先に登録されている数量計算書雛形ファイル55を呼び出す。この数量計算書雛形ファイル55のセル56のうちの所定のセルには、予め、数量データCSVファイル57の文字データが記載された所定のセルとのリンク付け情報が付記されており、数量データCSVファイル57に記載された文字データを数量計算書雛形ファイル55の所定のセルに記載できるように作られている。このリンク付け情報に基づいて、数量データCSVファイル57の文字データを、数量計算書雛形ファイル55の所定のセル56に転載する。以上のようにして、数量データCSVファイル57の文字データがリンク貼り付けされた図17に示すような数量計算書ファイル58が作成される。この数量計算書ファイル58を記憶装置20に保存し、あるいは必要に応じて出力装置14から出力する。以上の各ステップにより、元図面ファイル40から必要な文字データを抽出して作成した数量計算書ファイル58が完成する。   After creating the quantity data CSV file 57, the quantity calculation document creation program 24 calls the previously registered quantity calculation template file 55. Linkage information with a predetermined cell in which the character data of the quantity data CSV file 57 is written in advance in a predetermined cell among the cells 56 of the quantity calculation template file 55, and the quantity data CSV The character data described in the file 57 is created so as to be described in a predetermined cell of the quantity calculation template file 55. Based on this linking information, the character data of the quantity data CSV file 57 is reprinted in a predetermined cell 56 of the quantity calculation template file 55. As described above, the quantity calculation file 58 as shown in FIG. 17 to which the character data of the quantity data CSV file 57 is pasted by link is created. The quantity calculation document file 58 is stored in the storage device 20 or output from the output device 14 as necessary. Through the above steps, a quantity calculation file 58 created by extracting necessary character data from the original drawing file 40 is completed.

つまりこの手順では、工法名称や種別名称との関連付けに基づくリンク情報によって、抽出した文字データが数量データCSVファイル57へ転記され、さらに、文字データと工法名称や種別名称との関連付けに基づいて付されたセルのリンク付け情報により、数量データCSVファイル57の文字データが数量計算書雛形ファイル55へ転記される。こうして図面上の文字データが抽出された所望の数量計算書58が作成される。   In other words, in this procedure, the extracted character data is transferred to the quantity data CSV file 57 by link information based on the association with the construction method name and the type name, and further attached based on the association between the character data and the construction method name and the type name. The character data of the quantity data CSV file 57 is transferred to the quantity calculation template file 55 based on the linked cell information. In this way, a desired quantity calculation document 58 from which character data on the drawing is extracted is created.

上記では、データリスト48に掲載された文字データを、数量データCSVファイル57を介して数量計算書雛形ファイル55に転記することで数量計算書ファイル58を作成する方法を説明したが、数量データCSVファイル57を作成せずに数量計算書ファイル58を作成することもできる。その場合は、予め、工法名称や種別名称との関連付けに基づいて、数量計算書雛形ファイル55の所定のセル56に、データリスト48に掲載された文字データとのリンク情報を付記しておく。そして、数量計算書作成ボタン49が押下されると、データリスト48から直接数量計算書雛形ファイル55の所定のセル56に文字データがリンク貼り付けされるようにすればよい。   In the above description, the method for creating the quantity calculation file 58 by transferring the character data posted in the data list 48 to the quantity calculation template file 55 via the quantity data CSV file 57 has been described. The quantity calculation file 58 can be created without creating the file 57. In that case, link information with the character data listed in the data list 48 is added to a predetermined cell 56 of the quantity calculation template file 55 in advance based on the association with the construction method name and the type name. When the quantity calculation document creation button 49 is pressed, text data may be linked and pasted directly from the data list 48 to a predetermined cell 56 of the quantity calculation template file 55.

上記手順で数量計算書ファイル58を作成した後で、元図面ファイル40の図面上の文字データに軽微な修正・変更が生じた場合に、修正データが反映された数量計算書ファイル58を作成し直す方法について説明する。まず、文字データに修正・変更があった元図面ファイル40´(図示せず)を数量計算書作成システム1に読み込んで、CADアプリケーション23で表示させる。その状態で、数量計算書作成プログラム24を起動させると、先に実行した数量計算書作成手順で既に取り込まれた元図面ファイル40上の文字データ及び当該文字データに関するプロパティと、新たに読み込まれた元図面ファイル40´上の文字データ及び当該文字データのプロパティとの比較作業が行われる。その結果、既に取り込まれた文字データに関して変更がある場合は、当該変更後の文字データが新たに取り込まれて、上記したSTEP12の手順が再度実行されることにより、図18に示すように、この文字データと工法名称及び種別名称とが関連付けられたデータ行46´がデータリスト表示欄47に表示される。その際に、変更前のデータ行46と識別可能なように、当該変更後のデータ行46´には識別記号(図では“※”の表示)が付記される。こうして元図面の修正データが反映されたデータリスト48´が作成される。   After the quantity calculation file 58 is created according to the above procedure, when a minor correction / change occurs in the character data on the drawing of the original drawing file 40, the quantity calculation file 58 reflecting the correction data is created. A method of repairing will be described. First, an original drawing file 40 ′ (not shown) whose character data has been corrected / changed is read into the quantity calculation document creation system 1 and displayed on the CAD application 23. In this state, when the quantity calculation document creation program 24 is started, the character data on the original drawing file 40 that has already been captured in the previously executed quantity calculation document creation procedure, the properties related to the character data, and the newly read data A comparison operation is performed on the character data on the original drawing file 40 'and the properties of the character data. As a result, if there is a change in the character data that has already been acquired, the character data after the change is newly acquired, and the procedure of STEP 12 described above is executed again, as shown in FIG. A data row 46 ′ in which the character data is associated with the construction method name and type name is displayed in the data list display field 47. At this time, an identification symbol (indicated by “*” in the drawing) is added to the data row 46 ′ after the change so that the data row 46 can be distinguished from the data row 46 before the change. In this way, a data list 48 'reflecting the correction data of the original drawing is created.

この状態で数量計算書作成ボタン49を押下すると、データリスト48´に基づいて上記のSTEP13及びSTEP14の手順が再度実行され、元図面ファイル40´の修正・変更データが反映された数量計算書ファイル(図示せず)が作成される。   If the quantity calculation creation button 49 is pressed in this state, the above steps 13 and 14 are executed again based on the data list 48 ', and the quantity calculation file that reflects the correction / change data of the original drawing file 40' is reflected. (Not shown) is created.

上記の数量計算書作成方法に用いる図面ファイルや、作成した数量計算書ファイル等は、発注業者と数量計算書作成業者との間でインターネット等の通信手段を介してやり取りをすることが望ましい。以下その手順について、実施例1の数量計算書作成手順を例に図19を用いて説明する。まず、発注者がCADアプリケーションで作成した元図面ファイル30と表計算プログラムで作成した数量計算書雛型ファイル37を、発注者側端末61から数量計算書作成業者側端末62へ電子メール等に添付してインターネット65を介して送付する(ST5−1)。数量計算書作成業者側端末62は、元図面ファイル30と数量計算書雛型ファイル37とを受け取り(ST5−2)、これらのファイルを数量計算書作成システム1に読み込み、数量計算書作成プログラム24が上記したSTEP1〜STEP4までの処理を実行する(ST5−3)。これにより数量計算書ファイル38が完成する。数量計算書作成業者側端末62は、作成された定義ファイル33、属性ファイル34及び数量計算書ファイル38を電子メール等に添付して発注者側端末へ送り(ST5−4)、発注者側端末61はそれらのファイルを受け取る(ST5−5)。   It is desirable that the drawing file used for the above-mentioned quantity calculation document creation method, the created quantity calculation file, and the like are exchanged between the orderer and the quantity calculation document creator via a communication means such as the Internet. Hereinafter, the procedure will be described with reference to FIG. First, the original drawing file 30 created by the orderer using the CAD application and the quantity calculation form template file 37 created using the spreadsheet program are attached from the orderer side terminal 61 to the quantity calculation form creator side terminal 62 by e-mail or the like. Then, it is sent via the Internet 65 (ST5-1). The quantity calculation document creator side terminal 62 receives the original drawing file 30 and the quantity calculation template file 37 (ST5-2), reads these files into the quantity calculation document generation system 1, and receives the quantity calculation document generation program 24. The above-described processing from STEP1 to STEP4 is executed (ST5-3). As a result, the quantity calculation file 38 is completed. The quantity calculation document creation company side terminal 62 attaches the created definition file 33, attribute file 34 and quantity calculation form file 38 to an e-mail or the like and sends it to the orderer side terminal (ST5-4). 61 receives those files (ST5-5).

発注者側端末61は、図1に示す数量計算書作成システム1と同様の構成である自身のコンピュータシステム64に読み込むことで、数量計算書ファイル38を出力して使用することができる(ST5−6)。また、元図面ファイル30の図面上の文字データに軽微な修正・変更が生じた場合は、以下に説明する方法により、再度数量計算書作成業者側端末62とファイルの受け渡しをする必要なく、自身のコンピュータシステム64でその修正が反映された数量計算書ファイル38を作成することができる。   The orderer side terminal 61 can output and use the quantity calculation file 38 by reading it into its own computer system 64 having the same configuration as the quantity calculation creation system 1 shown in FIG. 1 (ST5-). 6). In addition, when minor correction / change occurs in the character data on the drawing of the original drawing file 30, it is not necessary to transfer the file again with the quantity calculation maker terminal 62 by the method described below. The computer system 64 can create the quantity calculation file 38 reflecting the correction.

即ち、まず予め数量計算書作成業者側端末62が数量計算書作成プログラム24の機能を制限した簡易版の数量計算書作成プログラム(以下「簡易版プログラム」と称す。)24´を配布し(ST5−7)、発注者側端末61がこの簡易版プログラムを入手しておく(ST5−8)。簡易版プログラム24´は数量計算書作成業者側端末62を介してインターネット65上のサーバー等に置いておき、発注者端末61がそれをダウンロードすることで取得する。なお、端末を介さずCD−ROM等の媒体に記録したものを配布し、直接コンピュータシステム64に読み込むようにしても良い。この簡易版プログラム24´は先に説明した数量計算書作成方法のうち、少なくともSTEP4の処理を実行できる機能を備えているものであれば良い。次に、発注者側のコンピュータシステム64に簡易版プログラム24´を読み込む(ST5−9)。そして、コンピュータシステム64で簡易版プログラム24´を実行して、図面上の文字データを修正した元図面ファイル30´、先に受け取った定義ファイル33、属性ファイル34を読み込んで、STEP4の処理(上記した修正データが反映された数量計算書を作成する手順)を行なう(ST5−10)。これにより発注者側のコンピュータシステム64により修正された文字データが反映された数量計算書ファイル38´を作成することができる。   That is, first, a quantity calculation document creation side terminal 62 distributes a simplified version of the quantity calculation document creation program (hereinafter referred to as a “simplified version program”) 24 ′ in which the function of the quantity calculation document creation program 24 is limited (ST5). -7) The orderer side terminal 61 obtains this simplified version program (ST5-8). The simplified version program 24 ′ is placed on a server or the like on the Internet 65 via the quantity calculation document creator side terminal 62, and is acquired by the orderer terminal 61 downloading it. It should be noted that what is recorded on a medium such as a CD-ROM may be distributed and read directly into the computer system 64 without going through a terminal. This simple version program 24 ′ may be any program having at least a function capable of executing the processing of STEP 4 in the above-described quantity calculation document creating method. Next, the simplified version program 24 'is read into the computer system 64 on the orderer side (ST5-9). Then, the simplified version program 24 ′ is executed by the computer system 64 to read the original drawing file 30 ′ in which the character data on the drawing is corrected, the definition file 33 and the attribute file 34 received earlier, and the processing of STEP 4 (above (Procedure for creating a quantity calculation sheet reflecting the corrected data) (ST5-10). As a result, it is possible to create a quantity calculation file 38 'reflecting the character data corrected by the computer system 64 on the orderer side.

なおここでは、インターネット等の通信手段を介してファイルのやり取りをする例として、実施例1の数量計算書作成方法を例に説明したが、実施例2の数量計算書作成手順についても、同様に通信手段を介して実行することが可能である。   Here, as an example of exchanging files via communication means such as the Internet, the method for creating the quantity calculation sheet according to the first embodiment has been described as an example, but the procedure for creating the quantity calculation sheet according to the second embodiment is similarly applied. It can be executed via communication means.

上記実施の形態例では、図面ファイルとしてCADアプリケーションで作成したファイルを例に説明したが、本発明に用いる図面ファイルはこれに限られるものではなく、図面上に文字データが記載されており、かつ文字データを含む図面データのソーステキストリストが参照可能なファイルであれば、他のアプリケーションで作成したものでも良い。   In the above embodiment, a file created by a CAD application is described as an example of a drawing file. However, the drawing file used in the present invention is not limited to this, character data is described on the drawing, and As long as the source text list of drawing data including character data can be referred to, the file may be created by another application.

以上本発明の実施形態を説明したが、本発明は上記実施形態に限定されるものではなく、特許請求の範囲、及び明細書と図面に記載された技術的思想の範囲内において種々の変形が可能である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the technical idea described in the claims and the specification and drawings. Is possible.

本発明にかかる図面上の文字データ抽出方法及び数量計算書作成方法を実施する数量計算書作成システム1の一構成例を示す図である。It is a figure which shows one structural example of the quantity calculation document creation system 1 which implements the character data extraction method on a drawing concerning this invention, and a quantity calculation document creation method. 本発明にかかる図面上の文字データ抽出方法及び数量計算書作成方法(実施例1)の概略フローを示す図である。It is a figure which shows the general | schematic flow of the character data extraction method on the drawing concerning this invention, and a quantity calculation document preparation method (Example 1). STEP1の詳細な手順を示すフロー図である。It is a flowchart which shows the detailed procedure of STEP1. STEP2の詳細な手順を示すフロー図である。It is a flowchart which shows the detailed procedure of STEP2. STEP3の詳細な手順を示すフロー図である。It is a flowchart which shows the detailed procedure of STEP3. STEP4の詳細な手順を示すフロー図である。It is a flowchart which shows the detailed procedure of STEP4. 本発明にかかる図面上の文字データ抽出方法及び数量計算書作成方法により作成されるファイルを示す図である。It is a figure which shows the file produced by the character data extraction method on the drawing concerning this invention, and a quantity calculation document creation method. 元図面ファイル30を示す図である。It is a figure which shows the original drawing file. 定義作成用図面ファイル31を示す図である。It is a figure which shows the drawing file 31 for definition creation. 属性作成用図面ファイル32を示す図である。It is a figure which shows the drawing file 32 for attribute creation. 図6(a),(b),(c)はそれぞれ元図面ファイル30,定義ファイル31,属性ファイル32のデータをソーステキストリストで表示したものの一部を示す図である。FIGS. 6A, 6B, and 6C are diagrams showing a part of the data of the original drawing file 30, the definition file 31, and the attribute file 32 displayed in the source text list. 定義ファイル33のデータを示す図である。It is a figure which shows the data of the definition file. 属性ファイル34のデータを示す図である。It is a figure which shows the data of the attribute file. 数量データTXTファイル35のデータを示す図である。It is a figure which shows the data of the quantity data TXT file. 数量データCSVファイル36のデータを示す図である。It is a figure which shows the data of the quantity data CSV file. 数量データCSVファイル36、数量計算書雛形ファイル37の内容を表示装置13に表示した一例を示す図である。It is a figure which shows an example which displayed the content of the quantity data CSV file 36 and the quantity calculation form template file 37 on the display apparatus 13. FIG. 数量計算書38の一例を示す図である。It is a figure which shows an example of the quantity calculation document. 本発明にかかる数量計算書作成方法(実施例2)の概略フローを示す図である。It is a figure which shows the general | schematic flow of the quantity calculation document preparation method (Example 2) concerning this invention. 元図面ファイル40を示す図である。It is a figure which shows the original drawing file. 数量計算書作成プログラム24の表示ウインドウ41を示す図である。It is a figure which shows the display window 41 of the quantity calculation document preparation program 24. FIG. 図11のA部分拡大図である。It is A partial enlarged view of FIG. 数量計算書作成プログラム24の表示ウインドウ41を示す図である。It is a figure which shows the display window 41 of the quantity calculation document preparation program 24. FIG. 数量計算書雛形ファイル55の一例を示す図である。It is a figure which shows an example of the quantity calculation form template file 55. FIG. 数量データCSVファイル57の一例を示す図である。It is a figure which shows an example of the quantity data CSV file. 数量計算書ファイル58の一例を示す図である。It is a figure which shows an example of the quantity calculation document file. 数量計算書作成プログラム24の表示ウインドウ41を示す図である。It is a figure which shows the display window 41 of the quantity calculation document preparation program 24. FIG. インターネットを介してファイルのやり取りを行い、本発明にかかる数量計算書作成方法により数量計算書を作成する手順の一例を示す図である。It is a figure which shows an example of the procedure which exchanges a file via the internet and produces a quantity calculation document by the quantity calculation document preparation method concerning this invention.

符号の説明Explanation of symbols

1 数量計算書作成システム
10 制御装置(CPU)
11 入力装置
12 メモリ
13 表示装置
14 出力装置
20 記憶装置
22 プログラム
23 CADアプリケーション
24 数量計算書作成プログラム
24´ 簡易版プログラム
25 表計算プログラム
26 ファイル
30 元図面ファイル
31 定義作成用図面ファイル
32 属性作成用図面ファイル
33 定義ファイル
34 属性ファイル
35 数量データTXTファイル
36 数量データCSVファイル
37 数量計算書雛形ファイル
38 数量計算書ファイル
40 元図面ファイル
41 表示ウインドウ
42 工法名称タブ
43 種別一覧リスト
44 色変更コマンド
45 属性値欄
46 データ行
47 データリスト表示欄
48 データリスト
49 数量計算書作成ボタン
51 スパン切り換えボタン
55 数量計算書雛型ファイル
56 セル
57 数量データCSVファイル
58 数量計算書ファイル
61 発注者側端末
62 数量計算書作成業者側端末
64 発注者側コンピュータシステム
65 インターネット
1 Quantity calculation creation system 10 Controller (CPU)
11 Input device 12 Memory 13 Display device 14 Output device 20 Storage device 22 Program 23 CAD application 24 Quantity calculation creation program 24 'Simplified version program 25 Spreadsheet program 26 File 30 Original drawing file 31 Definition creation drawing file 32 For attribute creation Drawing file 33 Definition file 34 Attribute file 35 Quantity data TXT file 36 Quantity data CSV file 37 Quantity calculation template file 38 Quantity calculation file 40 Original drawing file 41 Display window 42 Method name tab 43 Type list 44 Color change command 45 Attributes Value column 46 Data row 47 Data list display column 48 Data list 49 Quantity calculation creation button 51 Span switching button 55 Quantity calculation template file 56 Cell 57 Quantity data CSV file 58 Quantity Statements of files 61 ordering party terminal 62 Quantity Statements of creating trader side terminal 64 ordering party computer system 65 Internet

Claims (4)

文字データを含む図面データが記録された第1のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データを他の文字データ及び図面データと識別可能な文字列で置き換えた第2のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データをそれら抽出すべき文字データの中での順序を表す文字列で置き換えた第3のファイルと、をコンピュータに読み込むステップと、
前記第2のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記抽出すべき文字データを置き換えた識別可能な文字列を検索することで、該抽出すべき文字データのソーステキストリストにおける行番号を抜き出して記録した第4のファイルを作成するステップと、
前記第3のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号で特定される前記順序を表す文字列を抜き出して記録した第5のファイルを作成するステップと、
前記第1のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号により特定される文字データを抜き出して記録した第6のファイルを作成するステップと、
前記第6のファイルに記録された文字データを、前記第5のファイルに記録された順序を表す文字列の情報を用いてソートして記録した第7のファイルを作成するステップと、
少なくとも前記第7のファイルをコンピュータから出力するステップと、
を具備することを特徴とする図面上の文字データ抽出方法。
A first file in which drawing data including character data is recorded, and character data to be extracted from the character data recorded in the first file are replaced with other character data and a character string that can be distinguished from drawing data. A second file, and a third file in which character data to be extracted among character data recorded in the first file is replaced with a character string representing an order in the character data to be extracted; The steps to load
The drawing data including the character data recorded in the second file is represented in the source text list format, and the character string to be extracted is searched for the identifiable character string replaced with the character data to be extracted. Creating a fourth file in which line numbers in the source text list of character data are extracted and recorded;
Extracting and recording the character string representing the order specified by the line number extracted in the fourth file from the drawing data including character data recorded in the third file in the source text list format. Creating a fifth file,
A sixth example in which character data specified by a line number extracted in the fourth file is extracted and recorded from drawing data including character data recorded in the first file in a source text list format. Creating a file;
Creating a seventh file in which the character data recorded in the sixth file is sorted and recorded using information of a character string representing the order recorded in the fifth file;
Outputting at least the seventh file from a computer;
A method of extracting character data on a drawing.
文字データを含む図面データが記録された第1のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データを他の文字データ及び図面データと識別可能な文字列で置き換えた第2のファイルと、前記第1のファイルに記録された文字データのうち抽出すべき文字データをそれら抽出すべき文字データの中での順序を表す文字列で置き換えた第3のファイルと、をコンピュータに読み込むステップと、
前記第2のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記抽出すべき文字データを置き換えた識別可能な文字列を検索することで、該抽出すべき文字データのソーステキストリストにおける行番号を抜き出して記録した第4のファイルを作成するステップと、
前記第3のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号で特定される前記順序を表す文字列を抜き出して記録した第5のファイルを作成するステップと、
前記第1のファイルに記録された文字データを含む図面データをソーステキストリスト形式で表したものから、前記第4のファイルで抜き出した行番号により特定される文字データを抜き出して記録した第6のファイルを作成するステップと、
前記第6のファイルに記録された文字データを、前記第5のファイルに記録された順序を表す文字列の情報を用いてソートして記録した第7のファイルを作成するステップと、
前記第7のファイルに記録された文字データを、予め前記第7のファイルに記録された文字データとのリンク情報が記録された数量計算書ファイルの前記リンク情報に基づき数量計算書ファイルに記録することで、前記第1のファイルの図面上の文字データが抽出された数量計算書を作成するステップと、
少なくとも前記数量計算書をコンピュータから出力するステップと、
を具備することを特徴とする数量計算書作成方法。
A first file in which drawing data including character data is recorded, and character data to be extracted from the character data recorded in the first file are replaced with other character data and a character string that can be distinguished from drawing data. A second file, and a third file in which character data to be extracted among character data recorded in the first file is replaced with a character string representing an order in the character data to be extracted; The steps to load
The drawing data including the character data recorded in the second file is represented in the source text list format, and the character string to be extracted is searched for the identifiable character string replaced with the character data to be extracted. Creating a fourth file in which line numbers in the source text list of character data are extracted and recorded;
Extracting and recording the character string representing the order specified by the line number extracted in the fourth file from the drawing data including character data recorded in the third file in the source text list format. Creating a fifth file,
A sixth example in which character data specified by a line number extracted in the fourth file is extracted and recorded from drawing data including character data recorded in the first file in a source text list format. Creating a file;
Creating a seventh file in which the character data recorded in the sixth file is sorted and recorded using information of a character string representing the order recorded in the fifth file;
The character data recorded in the seventh file is recorded in the quantity calculation file based on the link information of the quantity calculation file in which link information with the character data previously recorded in the seventh file is recorded. A step of creating a quantity calculation document in which character data on the drawing of the first file is extracted;
Outputting at least the quantity statement from a computer;
A method for preparing a quantity statement, comprising:
文字データを含む図面データが記録された図面ファイルをコンピュータに読み込むステップと、
予めコンピュータに読み込まれた前記文字データを分類する分類種別名称が掲載された少なくとも一組の分類種別リストを呼び出すステップと、
前記文字データの中から選択された抽出すべき文字データと、前記分類種別リストの中から選択された分類種別名称とを互いに関連付けて一組のデータ行を作成すると共に、前記一組のデータ行を複数組作成し、該複数組のデータ行をまとめてデータ列として掲載したデータリストを作成するステップと、
前記データリストに含まれる前記抽出すべき文字データを、予め前記分類種別名称に基づくリンク情報が記録された数量計算書ファイルの前記リンク情報によって数量計算書ファイルの所定の箇所に記録することで、前記図面ファイルの図面上の文字データが抽出された数量計算書を作成するステップと、
少なくとも前記数量計算書をコンピュータから出力するステップと、
を具備することを特徴とする数量計算書作成方法。
Reading a drawing file containing drawing data including character data into a computer;
Invoking at least one set of classification type list in which a classification type name for classifying the character data previously read into the computer is posted;
The character data to be extracted selected from the character data and the category type name selected from the category type list are associated with each other to create a set of data rows, and the set of data rows Creating a data list in which a plurality of sets of data rows and a plurality of sets of data rows are put together as a data column;
By recording the character data to be extracted included in the data list in a predetermined part of the quantity calculation file by the link information of the quantity calculation file in which link information based on the classification type name is recorded in advance, Creating a quantity calculation document in which character data on the drawing of the drawing file is extracted;
Outputting at least the quantity statement from a computer;
A method for preparing a quantity statement, comprising:
請求項1に記載の図面上の文字データ抽出方法、又は請求項2又は3に記載の数量計算書作成方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the character data extraction method on a drawing according to claim 1 or the quantity calculation document creation method according to claim 2 or 3.
JP2004202298A 2003-07-14 2004-07-08 Method for extracting character data on drawing, method for forming quantity account, and program Pending JP2005050325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004202298A JP2005050325A (en) 2003-07-14 2004-07-08 Method for extracting character data on drawing, method for forming quantity account, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003273957 2003-07-14
JP2004202298A JP2005050325A (en) 2003-07-14 2004-07-08 Method for extracting character data on drawing, method for forming quantity account, and program

Publications (1)

Publication Number Publication Date
JP2005050325A true JP2005050325A (en) 2005-02-24

Family

ID=34277501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004202298A Pending JP2005050325A (en) 2003-07-14 2004-07-08 Method for extracting character data on drawing, method for forming quantity account, and program

Country Status (1)

Country Link
JP (1) JP2005050325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046643A (en) * 2019-11-23 2020-04-21 方正株式(武汉)科技开发有限公司 System and method for generating excel form by rapid customization, server and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046643A (en) * 2019-11-23 2020-04-21 方正株式(武汉)科技开发有限公司 System and method for generating excel form by rapid customization, server and medium

Similar Documents

Publication Publication Date Title
US9158751B2 (en) Persistently self-replicating multiple ranges of cells through a table
US7571392B2 (en) User definable task based interface
CN108762743B (en) Data table operation code generation method and device
JP2001216463A (en) Method and system for adding or removing element within cell designation range of spreadsheet
JP2022041865A (en) Online working system for template-based excel documents
KR20140021044A (en) Chart element variations
CN119202179A (en) A method and system for automatically generating drawing catalog based on CAD
JP2025102243A (en) Data input support device, data input support system, data input support method and program
US20040236754A1 (en) Method and system for linking data across multiple files
JP2007012067A (en) Method and system for hiding secret data within model in electronic spread sheet environment
JP2007241639A (en) Document management device, document management method and document management program
JP7180137B2 (en) Information processing device and program
CN116204267B (en) Method and device for generating intellectual property flow form
JP2005050325A (en) Method for extracting character data on drawing, method for forming quantity account, and program
JP2009134755A (en) Information processor, control method thereof, information processing system, program, and computer readable recording medium
JP2001022734A (en) INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD
JP5504212B2 (en) Test case automatic generation system, test case automatic generation method, and test case automatic generation program
JP2004013416A (en) Apparatus and method for document processing
JP3454987B2 (en) Document editing apparatus and method
JP4860272B2 (en) CAD data identity verification device
JP6611971B1 (en) Graph creating apparatus, graph creating method, and program
EP4435663A1 (en) Information processing system, information processing program, and information processing method
JP4948843B2 (en) CAD data identity guarantee server device, CAD data identity guarantee method
JP7298413B2 (en) Operation screen creation device, operation screen creation method and program
JP2009064347A (en) Work support information display device and work support information display method