JPH06168286A - Method and device for extracting cad drawing comment - Google Patents

Method and device for extracting cad drawing comment

Info

Publication number
JPH06168286A
JPH06168286A JP4321951A JP32195192A JPH06168286A JP H06168286 A JPH06168286 A JP H06168286A JP 4321951 A JP4321951 A JP 4321951A JP 32195192 A JP32195192 A JP 32195192A JP H06168286 A JPH06168286 A JP H06168286A
Authority
JP
Japan
Prior art keywords
comment
character
area
input
characters
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
JP4321951A
Other languages
Japanese (ja)
Inventor
Masayuki Tsuchida
雅之 土田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4321951A priority Critical patent/JPH06168286A/en
Publication of JPH06168286A publication Critical patent/JPH06168286A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce erroneous inputs of retrieval keywords, the handling time of preparation, and the labor and time of batch conversion in the management of drawing data prepared by the CAD. CONSTITUTION:The CAD drawing comment extraction device is provided with a comment area specification section 101 specifying a comment area where comment characters are described on the drawing, input section 102 inputting information on the drawing to the non-comment area of the drawing where the comment area is specified and inputting information 011 the comment characters to the comment area, storage section 103 storing information on the inputted comment area, information on the drawing, and information on the comment characters, comment extraction section 104 extracting the comment characters 10 the comment area, and output section 105 preserving the extracted comment characters with proper attribute added on a file and outputting it to the outside.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はCADに関し、特に図面
から必要なコメント文字情報を抽出するCAD図面コメ
ント抽出装置並びに抽出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to CAD, and more particularly to a CAD drawing comment extracting device and extracting method for extracting necessary comment character information from a drawing.

【0002】[0002]

【従来の技術】従来より、CADで図面の管理をデータ
ベースシステムを用いて行うときには、表題や図面名称
等検索などに際してキーとなる項目や改正履歴等を示す
注記等のコメントを別にその旨の指定や特殊な記号をわ
ざわさ付した上で、一般図形情報とは別にキーボードか
ら直接入力するものが殆どである。
2. Description of the Related Art Conventionally, when managing a drawing by CAD using a database system, a comment such as a note indicating a key item or revision history etc. when searching for a title, drawing name, etc. is designated separately. In most cases, a special symbol or a special symbol is added, and the information is directly input from the keyboard separately from the general graphic information.

【0003】また、一部のCAD図面では、コメント用
の特別な属性をもつ文字列要素を設け、あらかじめ指定
された要素については、その内容を別途抽出できるよう
になっているものもある(例えば伊藤忠テクノサイエン
ス社の「Advance CAD 」)。またこのため、一連の図面
中のコメントを一括して変更しようとする場合には、一
連の図面を全てCAD装置で起動して、この上でコメン
トの指定等をもとにコメントを抽出の上編集するのが一
般的である。
In some CAD drawings, a character string element having a special attribute for comment is provided so that the content of a predesignated element can be extracted separately (for example, "Advance CAD" of ITOCHU Techno Science Co., Ltd.). Therefore, if you want to change the comments in a series of drawings all at once, start all the series of drawings with the CAD device, and then extract the comments based on the specified comments. It is common to edit.

【0004】[0004]

【発明が解決しようとする課題】以上説明したごとく、
従来のCADでは、図面を管理システムに入力するとき
には、キーとなる項目等を別途のコメントとしての指定
の上で、一般図形情報とは別にキーボードから手入力す
るため、別途の注意やかなりの手間が必要とされる。ま
た、手入力の転記の際に誤記が生じるおそれもある。ま
た、一部のCADでは、コメント用に特別な属性を備え
ており、それを利用することによりキーボードからの入
力の手間および誤記のおそれは避けられるものの、やは
り設計者が図面毎に予め定められた手順のもとで文字列
を入力していかなければならず、更には大型プラントの
設計図等図面枚数が多いときには入力、転記や書き換え
に際してかなりの時間と手間がかかる。
As described above,
In conventional CAD, when a drawing is input to the management system, items such as keys are specified as separate comments and manually input from the keyboard separately from general graphic information, so extra caution and considerable effort is required. Is required. In addition, there is a possibility that an error may occur when manually transcribing. In addition, some CAD has a special attribute for comments, and by using it, it is possible to avoid the trouble of inputting from the keyboard and the risk of erroneous writing, but again, the designer is set in advance for each drawing. It is necessary to input the character string according to the procedure described above, and when the number of drawings such as the design drawing of a large plant is large, it takes a lot of time and effort to input, transfer or rewrite.

【0005】本発明は、以上の課題に鑑み、コメントの
入力に手間のかからないCAD図面コメント抽出装置及
び方法を提供することを目的としている。
In view of the above problems, it is an object of the present invention to provide a CAD drawing comment extracting device and method which does not require any trouble in inputting comments.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、請求項1の発明においては、入力される図面にコメ
ント文字を記述する領域であるコメント領域を指定する
コメント領域指定部と、前記コメント領域指定部により
指定されたコメント領域を有する図面の非コメント領域
に図面についての情報と該図面のコメント領域へコメン
ト文字についての情報を入力する入力部と、前記コメン
ト領域指定部で指定されたコメント領域についての情報
及び前記図面入力部により入力された図面についての情
報並びにコメント文字を記憶しておく記憶部と、前記記
憶部に記憶されているコメント領域のコメント文字を抽
出するコメント抽出部と、前記コメント抽出部で抽出さ
れたコメント文字をそのまま若しくはこれに適当な属性
を付加した上でファイルに保存すること及び外部のデー
タベースに登録することの少なくも一方を可能とする出
力部とを有することを特徴とするCAD図面コメント抽
出装置としている。
In order to achieve the above object, in the invention of claim 1, a comment area designating section for designating a comment area which is an area in which comment characters are described in an input drawing, and An input unit for inputting information about the drawing in the non-comment region of the drawing having the comment region designated by the comment region designating unit and information for comment characters in the comment region of the drawing, and the comment region designating unit A storage unit that stores information about the comment area, information about the drawing input by the drawing input unit, and comment characters, and a comment extraction unit that extracts the comment characters in the comment area stored in the storage unit. , The comment characters extracted by the comment extraction unit as they are or after adding appropriate attributes to them Is a CAD drawing comment extracting apparatus characterized by comprising an output section for enabling at least one registering to and external database is stored in yl.

【0007】請求項2の発明においては、前記入力部若
しくはその他の入力部から新しく入力された文字列を前
記記憶部に記憶されたコメント領域内にコメント文字と
して新たに追加すること若しくは既に記入されているコ
メント文字と置き換えることの少なくも一の機能を有す
るコメント追加置換部を更に有することを特徴とする請
求項1記載のCAD図面コメント抽出装置としている。
In the invention of claim 2, a character string newly input from the input unit or another input unit is newly added or already entered as a comment character in the comment area stored in the storage unit. The CAD drawing comment extracting device according to claim 1, further comprising a comment adding / substituting unit having at least one function of replacing the comment character with the comment character.

【0008】請求項3の発明においては、CAD固有の
外字や記号を表す文字コードと標準的な文字コードの対
応関係を表した対応表と、前記コメント領域内のコメン
ト文字を抽出して出力手段に送る際に、そのコメント文
字中のCAD固有の外字や記号を表す文字コードを前記
対応表に従い標準的な文字に変換するコード変換部とを
更に有していることを特徴とする請求項1記載のCAD
図面コメント抽出装置としている。
According to the third aspect of the present invention, a correspondence table showing the correspondence between the character codes representing the external characters and symbols unique to CAD and the standard character codes, and the comment character in the comment area are extracted and output means. The code conversion unit for converting the character code representing the external character or symbol peculiar to CAD in the comment character into a standard character according to the correspondence table when the character is sent to the comment character. Described CAD
It is used as a drawing comment extraction device.

【0009】請求項4の発明においては、入力される図
面にコメント文字を記述する領域を指定するコメント領
域指定ステップと、前記コメント領域指定ステップにて
指定されたコメント領域を有する図面の非コメント領域
に図面についての情報を入力し、該図面のコメント領域
へコメント文字を入力する入力ステップと、前記コメン
ト領域指定ステップで指定されたコメント領域について
の情報及び前記入力ステップにより入力された図面につ
いての情報並びにコメント文字についての情報を記憶し
ておくデータ格納ステップと、前記コメント領域指定ス
テップと入力ステップで入力の上格納されたデータに対
して、コメント領域のコメント文字を抽出するコメント
抽出ステップと、前記コメント抽出ステップにより抽出
された文字をそのまま若しくはこれに適当な属性を付加
した上でファイルに保存すること及び外部のデータベー
スに登録することの少なくも一方をなす出力ステップと
からなることを特徴とするCAD図面コメント抽出方法
としている。
According to another aspect of the present invention, a comment area designating step for designating an area in which comment characters are described in an input drawing, and a non-comment area of a drawing having the comment area designated in the comment area designating step are provided. Inputting information about the drawing in, and inputting comment characters in the comment area of the drawing, information about the comment area specified in the comment area specifying step, and information about the drawing input by the input step And a data storing step of storing information about comment characters, a comment extracting step of extracting comment characters in the comment area from the data input and stored in the comment area specifying step and the input step, and The characters extracted by the comment extraction step It is or or a CAD drawing comment extraction method characterized by comprising the output step of forming the at least one to be and registered in the external database is stored in a file on that appending appropriate attributes thereto.

【0010】請求項5の発明においては、前記入力ステ
ップ若しくはその他の入力ステップで新しく入力された
文字列をデータ格納ステップで格納された図面上のコメ
ント領域にコメント文字として新たに追加すること若し
くは既に記入されているコメント文字と置き換えること
の少なくも一方を有するコメント追加置換ステップを更
に有することを特徴とする請求項4記載のCAD図面コ
メント抽出方法としている。
In the invention of claim 5, the character string newly input in the input step or other input step is newly added as a comment character to the comment area on the drawing stored in the data storing step, or already added. 5. The CAD drawing comment extracting method according to claim 4, further comprising a comment adding / substituting step having at least one of replacing the written comment character.

【0011】請求項6の発明においては、コメント領域
内のコメント文字を前記出力ステップで出力する際に、
前記コメント抽出ステップで抽出された前記コメント文
字中のCAD固有の外字や記号を表す文字コードを、あ
らかじめ作成された両者の対応関係を示す表にもとづい
て、標準的な文字コードに変換するコード変換ステップ
とを更に有していることを特徴とする請求項3記載のC
AD図面コメント抽出方法としている。
According to the invention of claim 6, when the comment character in the comment area is output in the output step,
Code conversion for converting the character code representing the external character or symbol peculiar to CAD in the comment character extracted in the comment extracting step to a standard character code based on a table showing the correspondence between the two created in advance. The method according to claim 3, further comprising steps
The AD drawing comment extraction method is used.

【0012】[0012]

【作用】上記構成により、請求項1の発明ではコメント
領域指定部が入力される図面にコメント文字を記述する
領域であるコメント領域を指定する。入力部がコメント
領域指定部により指定されたコメント領域を有する図面
の非コメント領域への図面についての情報と該図面のコ
メント領域へのコメント文字の入力を可能とする。記憶
部は、コメント領域指定部で指定されたコメント領域に
ついての情報及び入力部により入力された図面について
の情報並びにコメント文字についての情報を記憶してお
く。コメント抽出部が入力部より入力され、記憶部に記
憶されている図面のコメント領域のコメント文字を抽出
する。出力部がコメント抽出部で抽出されたコメント文
字をそのまま若しくはこれに対して適当な属性を付加し
た上でファイルに保存すること及び外部のデータベース
に登録することの少なくも一方をなす。
With the above construction, in the first aspect of the invention, the comment area designating section designates a comment area which is an area in which comment characters are described in the drawing. It is possible to input information about a drawing into a non-comment area of a drawing having a comment area designated by the comment area designating section and a comment character in the comment area of the drawing. The storage unit stores information about the comment area designated by the comment area designation unit, information about the drawing input by the input unit, and information about the comment character. The comment extraction unit receives an input from the input unit and extracts comment characters in the comment area of the drawing stored in the storage unit. The output unit does at least one of saving the comment character extracted by the comment extracting unit as it is or adding an appropriate attribute thereto and then saving it in a file and registering it in an external database.

【0013】請求項2の発明では、請求項1の発明に係
るCAD図面コメント抽出装置において、コメント追加
置換部が入力部若しくはその他の入力部から新しく入力
された文字列をコメント文字として新たに追加したり若
しくはこれらで既に記憶部で記憶されている図面上のコ
メント領域内のコメント文字を置換えたりすることの少
なくも一方の機能を可能とする。
According to a second aspect of the invention, in the CAD drawing comment extracting device according to the first aspect of the invention, the comment addition / replacement unit newly adds a character string newly input from the input unit or another input unit as a comment character. It is possible to perform at least one of these functions by replacing the comment character in the comment area on the drawing that is already stored in the storage unit.

【0014】請求項3の発明では、請求項2の発明に係
るCAD図面コメント抽出装置において、コメント領域
内のコメント文字を抽出して出力手段に送る際に、前記
コメント抽出部で、抽出されたコメント文字中のCAD
固有の外字や記号を表す文字コードをそれらと標準的な
文字コードの対応関係を表した表をもとに、コード変換
部がJISなどの標準化規約で定められた一般的な文字
コードに変換する。
According to the third aspect of the invention, in the CAD drawing comment extracting device according to the second aspect of the invention, when the comment character in the comment area is extracted and sent to the output means, the comment is extracted by the comment extracting section. CAD in comment characters
The code conversion unit converts a character code representing a unique external character or symbol into a general character code defined by a standardized convention such as JIS, based on a table showing the correspondence between them and standard character codes. .

【0015】請求項4の発明では、請求項1の発明と同
じ作用方法でCAD図面コメント抽出がなされる。請求
項5の発明では、請求項2の発明と同じ作用方法でCA
D図面コメント抽出がなされる。請求項6の発明では、
請求項3の発明と同じ作用方法でCAD図面コメント抽
出がなされる。
According to the fourth aspect of the invention, CAD drawing comment extraction is performed by the same operating method as that of the first aspect of the invention. According to the invention of claim 5, the CA operates in the same manner as that of the invention of claim 2.
D Drawing comment extraction is performed. In the invention of claim 6,
The CAD drawing comment extraction is performed by the same operation method as that of the third aspect of the invention.

【0016】[0016]

【実施例】以下、本発明に係るCAD図面コメント抽出
装置を実施例に基づいて説明する。 (第1実施例)図1は、請求項1及び請求項4の発明に
係るCAD図面コメント抽出装置の一実施例の構成図で
ある。本図において、101は、図面の表題などのコメ
ントを記述するコメント領域を座標で指定する若しく
は、プログラム的に定義するコメント領域指定部であ
る。102は、一般のCADシステム同様に線、図形、
通常の文字、記号、図面枠などからなる図面についての
情報及び本願発明に係るコメント領域内の文字、すなわ
ちコメント文字を入力する入力部である。103は、メ
モリ装置などの1次記憶とディスク装置などの2次記憶
を有し、前記入力部102で入力された図形及び前記コ
メント領域指定部101で指定されたコメント領域及び
その内部の入力部102で入力されたコメント文字を記
憶している記憶部である。104は、前記記憶部103
に記憶されている情報をもとに、コメント領域内に記述
されているコメント文字を抜き出すコメント抽出部であ
る。105は、前記コメント抽出部104で抜き出され
たコメント文字に適当な属性を付加した上で、ファイル
に格納したり、外部のデータベースに登録したりする出
力部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A CAD drawing comment extracting device according to the present invention will be described below based on embodiments. (First Embodiment) FIG. 1 is a block diagram of an embodiment of a CAD drawing comment extracting device according to the inventions of claims 1 and 4. In the figure, reference numeral 101 designates a comment area designating section for designating a comment area in which a comment such as a title of the drawing is described by coordinates or is defined programmatically. 102 is a line, a figure, like the general CAD system.
It is an input unit for inputting information about a drawing including normal characters, symbols, drawing frames, etc. and characters in the comment area according to the present invention, that is, comment characters. Reference numeral 103 has a primary storage such as a memory device and a secondary storage such as a disk device, and includes the graphic input by the input unit 102, the comment area designated by the comment area designating unit 101, and an input unit inside thereof. The storage unit stores the comment character input in 102. 104 is the storage unit 103
The comment extraction unit extracts the comment characters described in the comment area based on the information stored in the comment area. An output unit 105 adds appropriate attributes to the comment characters extracted by the comment extraction unit 104, and then stores them in a file or registers them in an external database.

【0017】以上の他、本装置はCAD図面作成システ
ムの一部を構成するものであるため、その他にCPU、
CRT、キーボード、磁気ディスク等よりなるCAD図
面作成装置本体やこれとの接続に必要な各種機器類があ
り、またCRT、キーボード等の入力手段は本体と共有
することが多いが、これらはいわば自明の事項であるた
め、その図示や説明は省略する。
In addition to the above, since this device constitutes a part of the CAD drawing creation system, a CPU,
There is a CAD drawing creation device main body consisting of a CRT, a keyboard, a magnetic disk, etc., and various equipment necessary for connection with this, and input means such as a CRT and a keyboard are often shared with the main body, but they are self-explanatory. Therefore, the illustration and description thereof are omitted.

【0018】次に、以上のように構成された本実施例の
具体的な動作、データ構造等について説明する。本実施
例においては、コメント領域は数値情報たるX方向及び
Y方向の座標で特定された枠で指定するものとされ、一
番最初にコメント領域指定部101により図面右下に枠
づきで指定され、記憶部103内の高速半導体メモリ1
03aよりなるコメント領域情報部へ記憶される。な
お、このコメント領域情報部が高速半導体メモリで構成
されているのは、後に説明するCAD図面の作図等にあ
たって、すぐ呼び出しが必要なことによる。またここ
に、コメント領域の位置が図面の右下に位置するのは通
常、設計図、計画図、生産図を問わずCADの対象とな
る図面は右下枠にプラント件名、製造番号、部品名、図
面番号、図面名、製図者名若しくは設計者名、部署名、
必要に応じてのキーワード等の管理情報(広義のコメン
ト)を記載する欄を設けるのが普通であること、しかも
それらの記載位置や順序もほぼ一定であることとの整合
を図ったものである。従って、設計者は既にコメント領
域の指定されている図面枠に対して、入力部102を使
用して図面を描いていき、併せてコメント文字も記入し
ていくこととなる。すなわち、通常の製図用紙に対する
設計製図と異ならないこととなる。この際の、本CAD
図面抽出装置の入力情報の判定処理及び記憶の手順を図
2のフロー図に示す。以下、本図に基づいてそのフロー
を示す。CAD製図装置による入力の際、最初にその入
力手段が判定される(ステップ21)。もし、コメント
領域指定部101からの入力であるならば、この入力は
図面のコメント領域の指定と判断され、入力された情報
は、記憶部内103のコメント領域情報部へ記憶される
(ステップ22)。もし、そうでないならば、この入力
は一般図形情報かコメント文字と判断され、更にそのい
ずれであるかが、入力される図面上の位置で判断される
(ステップ24)。もし、その入力位置が先にコメント
領域指定部101で指定された枠内であれば、入力され
る文字はコメント文字と判断され、自動的に記憶部10
3内のコメント文字情報部に記憶される(ステップ2
5)。逆に枠外であれば、入力される文字、図形等は一
般図形情報と判断され、同じく自動的に一般図形情報部
に記憶される(ステップ26)。
Next, the specific operation, data structure, etc. of this embodiment configured as described above will be explained. In this embodiment, the comment area is specified by a frame specified by the coordinates in the X and Y directions, which is numerical information, and is first specified by the comment area specifying unit 101 in the lower right of the drawing by a frame. , High-speed semiconductor memory 1 in the storage unit 103
03a is stored in the comment area information section. The reason why the comment area information section is composed of a high-speed semiconductor memory is that it needs to be called immediately when drawing a CAD drawing, which will be described later. The position of the comment area is usually located in the lower right corner of the drawing. Normally, drawings subject to CAD regardless of design drawings, plan drawings, and production drawings are displayed in the lower right frame with the plant title, serial number, and part name. , Drawing number, drawing name, drafter name or designer name, department name,
This is consistent with the fact that it is usual to provide a field for entering management information (broadly defined comments) such as keywords, if necessary, and that the description position and order are almost constant. . Therefore, the designer uses the input unit 102 to draw a drawing in the drawing frame in which the comment area has already been specified, and also writes the comment character. That is, it is not different from the design drafting for the ordinary drafting paper. This CAD at this time
The procedure for determining and storing the input information of the drawing extracting apparatus is shown in the flowchart of FIG. The flow will be shown below based on this figure. When inputting by the CAD drafting device, the input means is first determined (step 21). If the input is from the comment area designating unit 101, this input is determined to be the designation of the comment area of the drawing, and the entered information is stored in the comment area information unit of the storage unit 103 (step 22). . If this is not the case, this input is judged to be general graphic information or a comment character, and which one of them is judged at the input position on the drawing (step 24). If the input position is within the frame previously specified by the comment area specifying unit 101, the input character is determined to be the comment character and the storage unit 10 is automatically operated.
3 is stored in the comment character information section (step 2
5). On the contrary, if it is outside the frame, the input character, figure, etc. are judged to be general graphic information, and are automatically stored in the general graphic information section (step 26).

【0019】図3は図面入力部およびコメント領域指定
部の作用のもとで作成された図面の表示例である。本図
では、本来の図面として例えば直方体の三面図D1,D
2,D3が図面の中央部に配され、設計者のイニシャル
「M.T.」がコメント文字として図面の右下の表題欄
301に記入されている。そして、コメント領域として
は、X座標が150から190、Y座標が10から30
の表題欄301であることを表している。なお、これら
の座標はコメント領域指定部で指定される。なおまた、
ここに「150」、「190」、「10」、「30」は
各々通常の図面における右下の管理情報記載欄の大きさ
と整合させたものである。
FIG. 3 is a display example of a drawing created under the action of the drawing input section and the comment area designating section. In this figure, as an original drawing, for example, a three-sided view D1, D of a rectangular parallelepiped
2, D3 are arranged in the center of the drawing, and the designer's initial "MT" is entered as a comment character in the title box 301 at the lower right of the drawing. The comment area has an X coordinate of 150 to 190 and a Y coordinate of 10 to 30.
The title column 301 indicates Note that these coordinates are designated by the comment area designation section. Again,
Here, "150", "190", "10", and "30" are matched with the size of the management information entry column in the lower right part of a normal drawing.

【0020】図4は、記憶部103に記憶されている図
3に示す図面のデータ構造を概念的に示すものである。
本図において、401は一般図形情報であり、端点の
X,Y座標が(50,30)から(80,20)である
線分を表している。402はコメント文字情報であり、
同じく座標(160,15)にコメント文字としての文
字列「M.T.」があることを表している。403はコ
メント領域情報であり、同じく座標(150,11
0),(190,130)に囲まれた長方形領域がコメ
ント領域#1であることを表している。なお、図3にお
いてはコメント領域は右下の欄1カ所のみであるため、
この「#1」はデータ構造若しくはコメント領域の指定
としては実質的な意味はない。
FIG. 4 conceptually shows the data structure of the drawing shown in FIG. 3 stored in the storage unit 103.
In the figure, reference numeral 401 is general graphic information, which represents a line segment whose X, Y coordinates of the end points are (50, 30) to (80, 20). 402 is comment character information,
Similarly, it indicates that there is a character string "MT" as a comment character at the coordinate (160, 15). Reference numeral 403 is comment area information, which similarly has coordinates (150, 11
The rectangular area surrounded by (0) and (190, 130) is the comment area # 1. In addition, in FIG. 3, since the comment area is only one place in the lower right column,
This "# 1" has no substantial meaning as the designation of the data structure or the comment area.

【0021】図5(a)は、図3に示す図面のコメント
文字が、コメント抽出部で抽出された上で出力部から出
力された結果を概念的に示すものである。本図5(a)
では、図3、図4に整合してコメント#1の内容が文字
列「M.T.」である旨出力されている。次に、抽出さ
れたこのコメント文字列をファイルに保存する場合には
保存日時を特定する数字「1992.11.10」が、
また外部のデータベースに登録する場合には保存日時と
当該CAD図面装置そのものを特定する記号「ABC」
が、操作者の後日の整理、保管等の管理の便宜のため
に、出力部の作用のもと自動的に付加された上で出力さ
れる。図5(b)及び(c)にそれぞれこれらを概念的
に示す。更にまた、別途図示しないキーボード等から操
作者により指示された、若しくはあらかじめ定められた
プログラムに従ってのその他の属性を付加した上で出力
することも勿論可能である。
FIG. 5 (a) conceptually shows the result of the comment characters of the drawing shown in FIG. 3 being extracted by the comment extracting section and then output from the output section. This Figure 5 (a)
In this case, it is output that the content of the comment # 1 is the character string "MT" in conformity with FIGS. Next, when saving the extracted comment character string in a file, the number "1992.11.10" that specifies the saving date and time is
In addition, when registering in an external database, the symbol "ABC" that specifies the date and time of saving and the CAD drawing device itself
Is automatically added under the action of the output unit and outputted for the convenience of management such as rearranging and storage of the operator later. These are conceptually shown in FIGS. 5B and 5C, respectively. Furthermore, it is of course possible to output after adding other attributes specified by the operator from a keyboard or the like (not shown) or according to a predetermined program.

【0022】なお、本実施例では、コメント文字として
理解容易性の面から純粋な文字「M」、「T」を使用し
たが、これは何も純粋な文字に限定されず、その他
「○」、「×」等の記号、図形は勿論後に説明するCA
D固有の文字や記号でもよいのは勿論である。更にま
た、既述のごとく、この右下の欄には図番、プラント件
名等が記載されるのが通常であり、またこれらの記載は
図面の整理、検索のためのコメント文字として使用され
るのが普通であるため、別途わざわざコメントを一般図
形情報とは別に入力するという手間も不要である。更
に、わざわざの入力に際しての誤記等も防止できる(と
いうよりも発生のしようがなくなる)。 (第2実施例)図6は請求項2及び請求項4の発明に係
るCAD図面コメント抽出装置の一実施例の構成図であ
る。本図において、101はコメント領域指定部であ
り、102は入力部であり、103は記憶部であり、1
04はコメント抽出部であり、105は入力部である。
そして、これら各部の基本的機能、作用、構造は先の第
1実施例と基本的には同じであるため、同一の図番を付
すと共にその説明は省略する。次に、607は入力部1
01とは別の外部入力部であり、608はCRT608
aをも構成要素とするコメント追加置換部である。
In this embodiment, the pure characters "M" and "T" are used as the comment characters from the viewpoint of easy understanding, but these are not limited to pure characters and other "○". , Symbols such as "x" and figures, as well as CA, which will be described later
Of course, it may be a D-specific character or symbol. Furthermore, as described above, it is usual that the figure number, the plant subject, etc. are described in the lower right column, and these descriptions are used as comment characters for organizing drawings and searching. Since it is usual, there is no need to separately enter a comment separately from the general graphic information. Further, it is possible to prevent erroneous writing and the like at the time of deliberate input (or rather, it is unlikely to occur). (Second Embodiment) FIG. 6 is a block diagram of an embodiment of a CAD drawing comment extracting device according to the inventions of claims 2 and 4. In the figure, 101 is a comment area designation unit, 102 is an input unit, 103 is a storage unit, and 1
Reference numeral 04 is a comment extraction unit, and 105 is an input unit.
Since the basic functions, actions, and structures of these respective parts are basically the same as those of the first embodiment, the same reference numerals are given and the description thereof will be omitted. Next, 607 is the input unit 1
01 is another external input unit, and 608 is a CRT 608.
A comment adding / substituting unit having a as a component.

【0023】以下、図7の動作フロー図を参照しつつ、
本実施例におけるコメント文字の置換、追加について説
明する。コメント抽出部104より抽出され、出力部1
05を介して呼び出されたコメント領域及びこのコメン
ト領域内のコメント文字が、コメント追加置換部に付設
されたCRT608aへ表示される(ステップ71)。
なお、この場合別々に記憶されているコメント領域情報
とコメント文字情報を相互の表示位置を整合させた上で
CRT608aに表示させるのはCPUにおけるマルチ
ウィンドウシステムはもとより大型テレビジョン受像機
における裏番組の画面右下部へ小さく表示すること等極
く家庭的なものにまで採用されている技術であるため、
その説明は省略する。なおこの際、コメント領域は枠で
指定されている上にその位置と大きさもほぼ定まってい
るため、操作の面からもプログラムの面からも多くの図
面情報から図面を特定した上で、そのコメント領域のみ
表示するのも容易となる。そして、この表示を参照しつ
つ操作者は外部入力部607を介して、新しく文字入力
を行うのみならず、指定したファイルの内容や、外部の
データベースシステムから検索された内容などの新しい
文字列をコメント追加置換部608へ入力する。この場
合、既にコメント文字の存在する位置に新しく入力され
た文字が位置することとなれば、古いコメント文字は新
しく入力された文字と置き換えられて表示され、もし既
入力のコメント文字が存在しない位置であれば、新しく
入力された文字はそのまま追加して表示されることとな
る(ステップ72)。ただし、これらのハード、ソフ
ト、入力操作等はCAD装置は勿論のこと、CPUを使
用したウインドウシステムやワードプロセッサーのごと
く極く日常的なものにまで採用されている技術であるた
め、その説明は省略する。コメント追加置換部608
は、この表示された内容をコメント領域を示す枠に対し
て占める位置の情報と共に入力部102を介して入力す
る(ステップ73)。このため再び記憶部103内の相
応するコメント文字情報記憶部にこの置き換えの終了し
たコメント文字を記憶させることとなる(ステップ7
4)。
Hereinafter, referring to the operation flow chart of FIG. 7,
Replacement and addition of comment characters in this embodiment will be described. Extracted by the comment extraction unit 104 and output by the output unit 1
The comment area called via 05 and the comment characters in this comment area are displayed on the CRT 608a attached to the comment adding / substituting unit (step 71).
In this case, the comment area information and the comment character information, which are separately stored, are displayed on the CRT 608a after matching their display positions with each other not only in the multi-window system in the CPU but also in the back program in the large-sized television receiver. Since it is a technology that has been adopted even for extremely home-like things, such as displaying in a small size at the bottom right of the screen,
The description is omitted. At this time, since the comment area is specified by the frame and its position and size are almost fixed, the comment area must be identified from a large amount of drawing information from the viewpoint of both operation and program. It is easy to display only the area. While referring to this display, the operator not only newly inputs characters via the external input unit 607, but also inputs a new character string such as the contents of the specified file or contents retrieved from an external database system. Input to the comment addition / substitution unit 608. In this case, if the newly input character is located at the position where the comment character already exists, the old comment character is displayed by being replaced with the newly input character, and if the comment character that has already been input does not exist. If so, the newly input character is added and displayed as it is (step 72). However, since the hardware, software, input operation, etc. are technologies that are used not only in CAD devices, but also in windows systems that use CPUs and word processors, which are extremely everyday, explanations thereof are omitted. To do. Comment addition and replacement unit 608
Inputs the displayed content together with information on the position occupied by the frame indicating the comment area via the input unit 102 (step 73). Therefore, the comment character whose replacement has been completed is stored again in the corresponding comment character information storage unit in the storage unit 103 (step 7).
4).

【0024】以上の操作で、既に入力されていたコメン
ト文字にかわって若しくは追加して、この新しく入力さ
れた文字列がコメント文字となる。なお、このコメント
文字の置き換えや追加は、ワードプロセッサーにおける
CRTに表示された内容でフロッピーディスクに記憶さ
れているものを置き換えたりするのと基本的には同じ技
術であるため、そのハード、ソフト面の説明は省略す
る。更に、操作者の指示のもと、既入力のコメント文字
やコメント領域をCRTに表示させることなく、外部入
力部607から入力された新しい文字列を直接入力部1
02を介して記憶部103内の図面のコメント領域内に
記憶させることにより、新しくコメント文字として追加
記憶あるいは置換記憶させることも可能である。なお、
この場合にも、コメント領域を図面枠の右下に枠として
指定してあるため、置き換え及び新規入力に際しての新
旧コメント文字のコメント領域内に占める位置や置き換
え及び追加の様子はCAD図面抽出装置にとっては勿論
のこと、操作者にとってもコメント領域やその内部のコ
メント文字をCRTに表示しなくても容易に検出し、確
認可能なことが多い。そして勿論、本CAD図面コメン
ト抽出装置の製造、設計者のプログラム作業も容易とな
る。特に、CAD図面に限らず、設計図、計画図、生産
図等は図面用紙の大きさがA0、A1等規格化されてい
るだけでなく、コメント領域の大きさやその中に記載さ
れるコメント文字、具体的には会社名、受注件番名、図
番等の記載位置や順序はもとよりその大きさ、字体まで
もが各社ともほぼ共通している。従って、多数の図面に
対するこれらの一括変換も、多くの場合一々CRTに表
示等しなくても誤りなくなしえる。更に、この場合にも
コメント領域情報は高速半導体メモリに記憶されている
だけでなく、図面枠に占める位置も一定であるため、本
CAD図面抽象装置への外部からの直接入力という、人
手よりもずっと早い入力操作に際しても充分迅速な呼び
出し等が可能である。更にまた、多数の図面のコメント
領域及びコメント文字のみ呼び出して順次CRTに表示
することも極めて容易である。 (第3実施例)図8は請求項3及び請求項6の発明に係
るCAD図面コメント抽出装置の一実施例の構成図であ
る。本図において、101は、コメント領域指定部であ
り、102は入力部であり、103は記憶部であり、1
04はコメント抽出部であり、105は出力部である。
そして、これら各部の基本的機能、作用、構造は先の第
1、第2実施例と同じであるため、同一の図番を付すと
共にその説明は省略する。次に、809は、記憶部10
3に記憶されているCAD固有の文字コードと出力部1
05に出力するJISなどの標準化規約で定められた一
般的な文字コードとの対応表である。810は、コメン
ト抽出部104で抽出されたコメント文字の文字コード
を対応表809の内容に基づいて一般的な文字コードに
変換するコード変換部である。次に、対応表809と変
換部810の内容について詳しく説明する。CAD固有
の外字、記号であるが、CADのみならず、技術図にお
いては、改正がなされた場合にはその旨の注意書き若し
くは管理情報あるいは本発明でいうコメント文字とし
て、通常「△」内にその改正回数を示す数字、例えば
「1」が記載されたJISコードにない図形的文字、が
図中の右上若しくは右下隅の欄あるいはそれらの欄と共
に図番の最後に記載される。その他、JISコードにな
い多種の文字、外字あるいは記号が多々使用される。ひ
いては、現在のCAD装置では、これらのJISコード
にない特殊な外字、記号のコードが多数使用されること
となる。このため、請求項1、2、4又は5の発明に係
るCAD図面抽出装置において、コメント領域内にこれ
らのCAD特有の外字や記号が記入されている場合に
は、これらを文字としてそのまま通常のワードプロセッ
サーや印字機等に入力し若しくは打ち出すわけにはいか
ない。そこで、かかる場合には例えば上記の図形的文字
(「△」の中に「1」)は「△1」や単に「1」のごと
く変換して打ち出す必要がある。以上の理由により両者
は設けられたものである。これにより、コメント文字が
たとえCAD固有の外字や記号を表す特殊な文字コード
で記憶部103にコメント文字として記憶されていて
も、出力部105からの出力結果は通常の者が容易に読
むことが可能となる。なお、この変換そのものは原理的
にはワードプロセッサーにおけるCRTに表示された
「入力されたかな文字」を「所定の漢字」に変換するこ
と、より複雑なものでは自動翻訳装置における辞書等と
同じであり、ハード、ソフトとも周知技術であるため、
その説明は省略する。
By the above operation, the newly input character string becomes a comment character in place of or in addition to the comment character that has already been input. Note that this replacement or addition of comment characters is basically the same technique as replacing the contents stored on the floppy disk with the contents displayed on the CRT in the word processor. The description is omitted. Further, under the instruction of the operator, the new character string input from the external input unit 607 is directly input unit 1 without displaying the already input comment character or comment area on the CRT.
It is also possible to additionally store or replace and store as a new comment character by storing it in the comment area of the drawing in the storage unit 103 via 02. In addition,
Also in this case, since the comment area is specified as a frame at the lower right of the drawing frame, the position of the old and new comment characters occupied in the comment area and the state of replacement and addition at the time of replacement and new input are determined by the CAD drawing extraction device. Of course, it is often possible for the operator to easily detect and confirm the comment area and the comment characters inside the comment area without displaying it on the CRT. And, of course, the manufacturing of the CAD drawing comment extracting device and the program work of the designer are facilitated. In particular, not only CAD drawings but also design drawings, planning drawings, production drawings, etc. are not only standardized in the size of drawing paper such as A0 and A1, but also the size of the comment area and the comment characters written in them. , Specifically, not only the position and order of the company name, order number, drawing number, etc., but also their size and font are almost common to all companies. Therefore, in many cases, these batch conversions for a large number of drawings can be correctly performed without displaying them on the CRT one by one. Further, in this case as well, since the comment area information is not only stored in the high-speed semiconductor memory but also occupies a fixed position in the drawing frame, it is more difficult to manually input from outside the CAD drawing abstract device. Even if the input operation is much faster, it is possible to call it sufficiently quickly. Furthermore, it is extremely easy to call only the comment areas and comment characters of many drawings and sequentially display them on the CRT. (Third Embodiment) FIG. 8 is a block diagram of an embodiment of a CAD drawing comment extracting device according to the inventions of claims 3 and 6. In the figure, 101 is a comment area designation unit, 102 is an input unit, 103 is a storage unit, and 1
Reference numeral 04 is a comment extraction unit, and 105 is an output unit.
Since the basic functions, actions, and structures of these respective parts are the same as those of the first and second embodiments, the same reference numerals are given and the description thereof will be omitted. Next, 809 indicates the storage unit 10.
CAD specific character code stored in 3 and output unit 1
It is a correspondence table with a general character code defined by a standardization rule such as JIS output to 05. A code conversion unit 810 converts the character code of the comment character extracted by the comment extraction unit 104 into a general character code based on the content of the correspondence table 809. Next, the contents of the correspondence table 809 and the conversion unit 810 will be described in detail. Although it is an external character or symbol unique to CAD, not only in CAD but also in technical drawings, when revision is made, it is usually written in "△" as a caution note or management information to that effect or a comment character in the present invention. A number indicating the number of revisions, for example, a graphic character that does not exist in the JIS code in which "1" is written, is written at the end of the drawing number, together with the column at the upper right or lower right corner in the figure or those columns. In addition, various characters, external characters or symbols that are not in the JIS code are often used. Consequently, in the current CAD device, a large number of special external character and symbol codes which are not included in these JIS codes are used. Therefore, in the CAD drawing extracting device according to the invention of claim 1, 2, 4 or 5, when these external characters or symbols peculiar to CAD are entered in the comment area, these are used as they are as normal characters. You can't type or type it into a word processor or printing machine. Therefore, in such a case, for example, the above-mentioned graphic character (“1” in “Δ”) needs to be converted and launched as “Δ1” or simply “1”. Both are provided for the above reasons. As a result, even if the comment character is stored as the comment character in the storage unit 103 with a special character code representing a CAD-specific external character or symbol, the output result from the output unit 105 can be easily read by an ordinary person. It will be possible. In principle, this conversion is to convert "input kana characters" displayed on a CRT in a word processor into "predetermined kanji". In more complicated ones, it is the same as a dictionary in an automatic translation device. , Hardware and software are well-known technologies,
The description is omitted.

【0025】図9〜図12はこの文字コード変換時の表
現やデータ構造の変化を概念的に示す模式図である。図
9は基本となるCAD図面である。本図において、90
1は第2のコメント領域を兼ねた修正履歴欄であり、内
部には修正を表すCAD特有の記号たる「△マーク1」
と修正内容「mod」がコメントとして記入されてい
る。そして、このコメント領域兼修正履歴欄は長方形で
あり、その座標は(150,110)から(190,1
30)である。図10は、この図面の記憶状態を概念的
に示すものである。本図において、1001は第2のコ
メント領域を示し、1002はコメント文字を表すデー
タ構造である。そして、1003に示すように「△マー
ク1」はCAD固有の内部コード「ESC2001」で
表されている。図11は、この対応表の概念図であり、
変換前のコードと変換後のコードが対応して記述されて
いる。本変換テーブルでは、文字コード「ESC200
1」は変換された後に「<1>」となることなどを示し
ている。図12は、抽出された上で変換された後出力さ
れたコメント文字の例であり、下の段では「△マーク
1」が「<1>」に変換されて出力されているのがわか
る。
9 to 12 are schematic views conceptually showing changes in the expression and data structure at the time of character code conversion. FIG. 9 is a basic CAD drawing. In this figure, 90
Reference numeral 1 is a correction history field that also serves as a second comment area, and inside it is a "Δ mark 1" that is a CAD-specific symbol that represents a correction.
And the correction content "mod" are entered as comments. The comment area / correction history column is a rectangle, and its coordinates are from (150,110) to (190,1).
30). FIG. 10 conceptually shows the storage state of this drawing. In the figure, 1001 indicates a second comment area, and 1002 is a data structure representing a comment character. Then, as indicated by 1003, “Δ mark 1” is represented by the internal code “ESC2001” unique to CAD. FIG. 11 is a conceptual diagram of this correspondence table,
The code before conversion and the code after conversion are described in correspondence with each other. In this conversion table, the character code "ESC200
“1” indicates that it becomes “<1>” after conversion. FIG. 12 shows an example of the comment characters that are extracted and converted and then output. In the lower row, it can be seen that the “Δ mark 1” is converted to “<1>” and output.

【0026】以上、本発明を実施例にもとづき説明して
きたが、本発明は何も上記実施例に限定されないのは勿
論である。すなわち、例えば、以下のものも本発明に包
含されるのは勿論である。 (1)各請求項の発明において、製造等の都合で一の構
成要素(要件、ステップ)を複数のものに分割してい
る。又逆に複数の構成要素を一のものとしている。ま
た、記憶装置は高速半導体メモリ、磁気ディスク等その
種類を問わない。更に、どの情報の記憶に如何なる種類
の記憶装置を使用するかも問わない。また、コメント領
域についての情報は迅速な呼び出しが可能なように高速
半導体メモリに記憶すると共にコメント文字の置換、新
規追加の際の便宜のため磁気ディスク内にコメント文字
と併せても記憶されるがごとく、記憶装置内のデータ構
造の如何等も問わない。 (2)入力部にてコメント文字を入力する際に、同時に
その属性も入力可能としている。また、コメント領域内
に非コメントである文字列を入力可能としている。これ
は以下のような場合に便利である。例えばCAD図面作
成者にとり図面に記入する会社名そのものはまずかわら
ない、特に大企業であればあるほどそうである。このた
め、コメント文字の一括変換の際の誤操作による消去の
防止、他社との共同受注プラントにおける現場での出図
先についての混乱防止等に役立つ。 (3)コメント領域の指定は、CAD図面上での枠を使
用しての該当する位置の指定によるものでなく、この他
に特許明細書における「〔〕」類似の記号の使用による
記載項目等の指定と同じく、特殊な記号を使用し指定す
るものとしている。又逆に、特殊な記号を使用すること
により、コメント領域として指定された枠内に非コメン
トの文字を記入可能としている。また、コメント領域内
の文字であっても、製造会社名等極く当たり前の文字は
コメントとしての作用をなさないようプログラムされて
いる。そして、これらは、機器の操作手順書における文
章中のコメント文字に使用する際便利である。 (4)製造製作要領図、プラントの運転手順書等多数頁
にわたる図面において、表示や目次として使用すること
を考慮の上、コメント領域の指定としてページ数でなす
ことを可能としている。なお、かかる場合、文章のみの
ページも出現しえるが、かかる文章のみのページもCA
D装置を使用する限り本発明にいう「図面」に該当する
のは勿論である。また、この場合には、上記(3)の
「〔〕」類似の記号の役割を果たすのは、ページ下部中
央に位置するページを示す数字となる。 (5)複数のコメント領域を設け、これら相互をその番
号で区別することにより、操作者の指示する個々のコメ
ント領域毎に各請求項に係る作用をなしえる構成として
いる。 (6)コメント領域指定部と入力部とは、ハード的若し
くは機械的、物理的には同一の物であり、スイッチやプ
ログラムで切り換え可能とされている。 (7)請求項1及び請求項4の発明において、コメント
抽出部で抽出されたコメント文字を印字出力することや
CRT表示可能な機能が付加されている。 (8)第1実施例においては、コメント文字に先立ちコ
メント領域を指定するものとしたが、逆に既に文字の
記入されている領域に対し、後からそこをコメント領域
として指定可能なようにし、更に既に記入されている
文字は、(i) 新規にコメント文字となる、(ii)コメント
文字でなく通常の文字のままとされる、(iii) 消去され
る以上 (i)〜(iii) の選択可能な機能が付加されてい
る。 (9)コメント文字として不適当な図形入力はコメント
文字と扱わない若しくはコメント文字として採用するの
はアルファベット、数字、一定の漢字等に限定する機能
が付加されている。これにより、過誤で曲線等一般的な
図面の要素がコメント領域に入力され、製図者がこれに
気付いていないときでも、これをコメント文字として扱
うことにより生じる不都合発生の防止が図れる。 (10)手書きワードプロセッサーのプログラムや辞書
等を組み込み、ペン入力装置等特別な入力装置からコメ
ント領域内に文字入力があったときにはこれを活字体の
定型文字として入力する機能(いわば、請求項3の発明
の逆に似た機能)が付加されている。これにより、第三
者のコメント文字の誤読防止等がなしえる。 (11)請求項2及び請求項5の発明においてコメント
文字が、受注件番、担当部所、製図者等複数種類あると
き、それらのうちのいずれか1種若しくは幾種かを特定
の上、一括変換可能としている。この機能は、例えば、
プラントの引き渡しに伴い、関連ある図面の番号を受注
を示す番号からアフターサービスや補修を示す番号に変
更する等の場合に便利である。なお、この際の手段とし
てはワードプロセッサーにおける既入力された文字や単
語の一括変換と同じ手法の他、キーワードや特殊な記号
を使用して一括変換の対象を認識する等がある。 (12)請求項3及び請求項6の発明において、同じ機
能を有するCAD図面装置間での記憶する図面の転送の
便宜等のため、操作者の指示のもとコード変換部が不作
動となる機能が付加されている。 (13)請求項2若しくは5及び請求項3若しくは6の
発明が組み合わされたCAD図面抽出装置としている。
Although the present invention has been described above based on the embodiments, it goes without saying that the present invention is not limited to the above embodiments. That is, for example, the following are of course included in the present invention. (1) In the invention of each claim, one component (requirement, step) is divided into a plurality of components for the convenience of manufacturing. On the contrary, a plurality of constituent elements are integrated. The storage device may be of any type such as a high speed semiconductor memory or a magnetic disk. Further, it does not matter what kind of storage device is used to store which information. The information about the comment area is stored in the high-speed semiconductor memory so that it can be called up quickly, and is also stored together with the comment character in the magnetic disk for the convenience of replacement of comment characters and addition of new characters. As described above, the data structure in the storage device does not matter. (2) When a comment character is input in the input section, its attribute can be input at the same time. Also, a non-comment character string can be input in the comment area. This is useful in the following cases. For example, for a CAD drawing creator, the company name itself to be entered on the drawing is almost unchanged, especially for larger companies. Therefore, it is useful for preventing erasure due to an erroneous operation when collectively converting comment characters, and for preventing confusion about the destination of drawings on site at a joint order plant with another company. (3) The designation of the comment area is not based on the designation of the corresponding position using the frame on the CAD drawing, but also the description items by using the symbol similar to "[]" in the patent specification, etc. As in the case of, the special symbols are used for the designation. Conversely, by using a special symbol, non-comment characters can be entered in the frame designated as the comment area. Further, even the characters in the comment area are programmed so that characters such as the manufacturer's name that are quite common do not act as comments. And these are convenient when using for the comment character in the text in the operation manual of a device. (4) It is possible to specify the comment area by the number of pages in consideration of its use as a display and a table of contents in a drawing over a large number of pages such as a manufacturing and manufacturing procedure diagram and a plant operation procedure manual. Note that in such a case, a page containing only sentences may appear, but a page containing only such sentences may be CA.
Of course, as long as the D device is used, it corresponds to the "drawing" in the present invention. Further, in this case, it is the numeral indicating the page located at the center of the lower part of the page that serves as a symbol similar to “[]” in (3) above. (5) By providing a plurality of comment areas and distinguishing them from each other by their numbers, the operation according to each claim can be performed for each comment area instructed by the operator. (6) The comment area designating section and the input section are the same in terms of hardware, mechanical or physical, and can be switched by a switch or a program. (7) In the inventions of claims 1 and 4, a function of printing out the comment character extracted by the comment extracting unit and capable of CRT display is added. (8) In the first embodiment, the comment area is specified prior to the comment character, but conversely, for the area where the character is already entered, the comment area can be specified later as the comment area. Furthermore, the characters that have already been entered are (i) new comment characters, (ii) normal characters instead of comment characters, (iii) erased and above (i) to (iii) A selectable function is added. (9) A graphic input that is inappropriate as a comment character is not treated as a comment character, or a function to limit the use of a comment character to alphabets, numbers, certain kanji, etc. is added. As a result, even if a general drawing element such as a curve is erroneously input to the comment area and the drafting person is not aware of this, it is possible to prevent the inconvenience caused by handling this as a comment character. (10) A function of incorporating a program of a handwriting word processor, a dictionary, or the like, and inputting it as a standard character of a typeface when a character is input in a comment area from a special input device such as a pen input device (so to speak, in claim 3). A function similar to the reverse of the invention) is added. As a result, misreading of comment characters of a third party can be prevented. (11) In the inventions of claims 2 and 5, when there are plural types of comment characters such as order number, department in charge, drafter, etc., after identifying any one or some of them, It is possible to convert all at once. This feature is, for example,
This is convenient when the number of the related drawing is changed from the number indicating the order received to the number indicating after-sales service or repair when the plant is delivered. As a means at this time, there is the same method as the batch conversion of the already-input characters or words in the word processor, or the recognition of the batch conversion target using a keyword or a special symbol. (12) In the inventions of claims 3 and 6, the code conversion unit is inactivated under the instruction of the operator for the convenience of transferring the drawings to be stored between the CAD drawing devices having the same function. A function is added. (13) The CAD drawing extracting device is a combination of the inventions of claim 2 or 5 and claim 3 or 6.

【0027】[0027]

【発明の効果】以上説明したように請求項1及び請求項
4の発明においては、あらかじめ定義されたコメント領
域内に記述された文字を、コメント文字とする。このた
め、図面作成者は図面の作成の際に、図面に記入する情
報の一部としてコメント文字の入力ができる。外部のデ
ータベースなどを用いて図面管理などを行う際も、図面
内の管理情報記入欄兼コメント領域に記述されている内
容をキー項目、コメント等としてそのまま用いることが
可能となる。ひいては、コメントを指定したり入力する
際の別途の手間を省略できる。また転記の際の誤入力の
防止も図れる。
As described above, in the inventions of claims 1 and 4, the characters described in the previously defined comment area are the comment characters. Therefore, the drawing creator can input comment characters as part of the information to be entered in the drawing when creating the drawing. Even when drawing management is performed using an external database or the like, the contents described in the management information entry column / comment area in the drawing can be directly used as key items, comments, and the like. As a result, it is possible to omit the additional work of specifying and inputting the comment. In addition, it is possible to prevent erroneous input at the time of transcription.

【0028】請求項2及び請求項5の発明においては、
別途入力した内容によって図面中のコメント文字を変換
することができる。この際、コメント文字は多くの図面
で記入されている領域や内容が共通している。従って、
プランの引き渡し、組織変更、設計変更等で比較的多数
の図面のコメントを一括して変更する必要のある場合な
どに作業が容易であり、また全ての図面に対していちい
ち呼び出した上で、あらためて図面入力部から入力しな
おすという手間を省くことが可能である。更に、過誤入
力の防止も図れる。
In the inventions of claims 2 and 5,
The comment character in the drawing can be converted according to the content input separately. At this time, the comment characters have common areas and contents filled in in many drawings. Therefore,
It is easy to work when it is necessary to collectively change the comments of a relatively large number of drawings due to the delivery of plans, organizational changes, design changes, etc. It is possible to save the trouble of inputting again from the drawing input unit. Further, it is possible to prevent erroneous input.

【0029】請求項3及び請求項6の発明においては、
CAD図面で用いられている特別な外字やシンボルを表
す文字コードを、JIS標準規格などの一般的な文字コ
ードからなる文字に置き換えることにより、抽出された
文字列を外部でのファイルやデータベースシステムに使
用したとき、容易にその内容を表示、把握することが可
能となる。
In the inventions of claims 3 and 6,
By replacing the character codes that represent special external characters and symbols used in CAD drawings with characters that consist of general character codes such as JIS standards, the extracted character strings can be stored in an external file or database system. When used, the contents can be easily displayed and grasped.

【図面の簡単な説明】[Brief description of drawings]

【図1】請求項1及び請求項4の発明の一実施例の構成
図である。
FIG. 1 is a configuration diagram of an embodiment of the inventions of claims 1 and 4. FIG.

【図2】上記実施例コメント領域の指定、図形情報、コ
メント文字の入力に伴う動作フロー図である。
FIG. 2 is an operation flow chart associated with designation of a comment area, input of graphic information, and comment characters in the embodiment.

【図3】上記実施例での図面表示の一例である。FIG. 3 is an example of a drawing display in the above embodiment.

【図4】上記実施例での図面データ記憶部のデータ構造
の概念図である。
FIG. 4 is a conceptual diagram of a data structure of a drawing data storage unit in the above embodiment.

【図5】上記実施例での出力結果の概念図である。FIG. 5 is a conceptual diagram of an output result in the above embodiment.

【図6】請求項2及び請求項5の発明の一実施例の構成
図である。
FIG. 6 is a configuration diagram of an embodiment of the inventions of claims 2 and 5;

【図7】上記実施例におけるコメント文字の置き換え、
追加の動作フロー図である。
FIG. 7 shows replacement of comment characters in the above embodiment,
It is an additional operation | movement flow diagram.

【図8】請求項3及び請求項6の発明の一実施例の構成
図である。
FIG. 8 is a configuration diagram of an embodiment of the inventions of claims 3 and 6;

【図9】上記実施例での画面表示の一例である。FIG. 9 is an example of a screen display in the above embodiment.

【図10】上記実施例での図面データの構造図である。FIG. 10 is a structural diagram of drawing data in the above embodiment.

【図11】上記実施例での変換テーブルの図である。FIG. 11 is a diagram of a conversion table in the above embodiment.

【図12】上記実施例での出力結果の概念図である。FIG. 12 is a conceptual diagram of an output result in the above embodiment.

【符号の説明】[Explanation of symbols]

101 コメント領域指定部 102 入力部 103 記憶部 104 コメント抽出部 105 出力部 301 表題欄(コメント領域) 401 一般図形情報 402 コメント文字情報 403 コメント領域情報 607 外部入力部 608 コメント追加置換部 809 対応表 810 コード変換部 101 comment area designation section 102 input section 103 storage section 104 comment extraction section 105 output section 301 title block (comment area) 401 general graphic information 402 comment character information 403 comment area information 607 external input section 608 comment addition and replacement section 809 correspondence table 810 Code converter

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力される図面にコメント文字を記述す
る領域であるコメント領域を指定するコメント領域指定
部と、 前記コメント領域指定部により指定されたコメント領域
を有する図面の非コメント領域に図面についての情報
と、該図面のコメント領域へコメント文字を入力する入
力部と、 前記コメント領域指定部により指定されたコメント領域
についての情報及び前記入力部により入力された図面に
ついての情報並びにコメント文字についての情報を記憶
しておく記憶部と、 前記記憶部に記憶されているコメント領域のコメント文
字を抽出するコメント抽出部と、 前記コメント抽出部で抽出されたコメント文字をそのま
ま若しくはこれに適当な属性を付加した上でファイルに
保存すること及び外部のデータベースに登録することの
少なくも一方を可能とする出力部とを有することを特徴
とするCAD図面コメント抽出装置。
1. A drawing in a non-comment area of a drawing having a comment area designating section for designating a comment area which is an area for writing comment characters in an input drawing and a comment area designated by the comment area designating section. Information, an input unit for inputting comment characters into the comment area of the drawing, information about the comment area specified by the comment area specifying unit, information about the drawing input by the input unit, and comment characters. A storage unit for storing information, a comment extraction unit for extracting comment characters in the comment area stored in the storage unit, and the comment characters extracted by the comment extraction unit as they are or with an appropriate attribute. Less need to add and save in a file and register in an external database CAD drawings comment extracting apparatus characterized by also having an output section for enabling one.
【請求項2】 前記入力部若しくはその他の入力部から
新しく入力された文字列を前記記憶部に記憶されたコメ
ント領域内にコメント文字として新たに追加すること若
しくは既に記入されているコメント文字と置き換えるこ
との少なくも一の機能を有するコメント追加置換部を更
に有することを特徴とする請求項1記載のCAD図面コ
メント抽出装置。
2. A character string newly input from the input unit or another input unit is newly added as a comment character in the comment area stored in the storage unit or is replaced with a comment character already written. 2. The CAD drawing comment extracting device according to claim 1, further comprising a comment adding / substituting unit having at least one function.
【請求項3】 CAD固有の外字や記号を表す文字コー
ドと標準的な文字コードの対応関係を表した対応表と、 前記コメント領域内のコメント文字を抽出して出力手段
に送る際に、そのコメント文字中のCAD固有の外字や
記号を表す文字コードを前記対応表に従い標準的な文字
に変換するコード変換部とを更に有していることを特徴
とする請求項1記載のCAD図面コメント抽出装置。
3. A correspondence table showing a correspondence relationship between a character code representing a CAD-specific external character or symbol and a standard character code, and when extracting comment characters in the comment area and sending them to the output means. The CAD drawing comment extraction according to claim 1, further comprising a code conversion unit for converting a character code representing a CAD-specific external character or symbol in the comment character into a standard character according to the correspondence table. apparatus.
【請求項4】 入力される図面にコメント文字を記述す
る領域を指定するコメント領域指定ステップと、 前記コメント領域指定ステップにて指定されたコメント
領域を有する図面の非コメント領域に図面についての情
報を入力し、該図面のコメント領域へコメント文字を入
力する入力ステップと、 前記コメント領域指定ステップで指定されたコメント領
域についての情報及び前記入力ステップにより入力され
た図面についての情報、並びにコメント文字についての
情報を記憶しておくデータ格納ステップと、 前記コメント領域指定ステップと入力ステップで入力の
上格納されたデータに対して、コメント領域のコメント
文字を抽出するコメント抽出ステップと、 前記コメント抽出ステップにより抽出された文字をその
まま若しくはこれに適当な属性を付加した上でファイル
に保存すること及び外部のデータベースに登録すること
の少なくも一方をなす出力ステップとからなることを特
徴とするCAD図面コメント抽出方法。
4. A comment area designating step for designating an area in which comment characters are written in an input drawing, and information about the drawing is provided in a non-comment area of the drawing having the comment area designated in the comment area designating step. An input step of inputting a comment character into the comment area of the drawing, information about the comment area specified in the comment area specifying step, information about the drawing input by the input step, and comment character A data storing step for storing information, a comment extracting step for extracting comment characters in a comment area from the data input and stored in the comment area specifying step and the input step, and a comment extracting step for extracting the comment character Typed characters as they are or suitable for this CAD drawings comment extracting method characterized by and be made of a less output step of forming the one that registered in the external database is stored in a file on added with attributes.
【請求項5】 前記入力ステップ若しくはその他の入力
ステップで新しく入力された文字列をデータ格納ステッ
プで格納されたコメント領域にコメント文字として新た
に追加すること若しくは既に記入されているコメント文
字列と置き換えることの少なくも一方を有するコメント
追加置換ステップを更に有することを特徴とする請求項
4記載のCAD図面コメント抽出方法。
5. A character string newly input in the input step or another input step is newly added as a comment character to the comment area stored in the data storage step or replaced with a comment character string already written. 5. The CAD drawing comment extraction method according to claim 4, further comprising a comment addition / replacement step having at least one of the following.
【請求項6】 コメント領域内のコメント文字を前記出
力ステップで出力する際に、前記コメント抽出ステップ
で抽出された前記コメント文字中のCAD固有の外字や
記号を表す文字コードを、あらかじめ作成された両者の
対応関係を示す表にもとづいて標準的な文字コードに変
換するコード変換ステップを更に有していることを特徴
とする請求項3記載のCAD図面コメント抽出方法。
6. A character code representing a CAD-specific external character or symbol in the comment character extracted in the comment extracting step is previously created when the comment character in the comment area is output in the output step. 4. The CAD drawing comment extraction method according to claim 3, further comprising a code conversion step of converting into a standard character code based on a table showing a correspondence relationship between the two.
JP4321951A 1992-12-01 1992-12-01 Method and device for extracting cad drawing comment Pending JPH06168286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4321951A JPH06168286A (en) 1992-12-01 1992-12-01 Method and device for extracting cad drawing comment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4321951A JPH06168286A (en) 1992-12-01 1992-12-01 Method and device for extracting cad drawing comment

Publications (1)

Publication Number Publication Date
JPH06168286A true JPH06168286A (en) 1994-06-14

Family

ID=18138255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4321951A Pending JPH06168286A (en) 1992-12-01 1992-12-01 Method and device for extracting cad drawing comment

Country Status (1)

Country Link
JP (1) JPH06168286A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861485A (en) * 2021-03-23 2021-05-28 台山核电合营有限公司 Method, device and equipment for processing nuclear power DCS control logic drawing
CN117953187A (en) * 2024-03-26 2024-04-30 北京鸿鹄云图科技股份有限公司 Drawing overlapping labeling rapid optimization method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861485A (en) * 2021-03-23 2021-05-28 台山核电合营有限公司 Method, device and equipment for processing nuclear power DCS control logic drawing
CN112861485B (en) * 2021-03-23 2024-02-09 台山核电合营有限公司 Nuclear power DCS control logic drawing processing method, device and equipment
CN117953187A (en) * 2024-03-26 2024-04-30 北京鸿鹄云图科技股份有限公司 Drawing overlapping labeling rapid optimization method and system
CN117953187B (en) * 2024-03-26 2024-05-24 北京鸿鹄云图科技股份有限公司 Drawing overlapping labeling rapid optimization method and system

Similar Documents

Publication Publication Date Title
US5982365A (en) System and methods for interactively generating and testing help systems
US5572642A (en) Data input display system for preparing and editing structural data
JPH06348750A (en) Document preparation supporting device
JPH06168286A (en) Method and device for extracting cad drawing comment
JP2006276912A (en) Device, method, and program for editing document
JPS60176169A (en) Sentence processor
JP3726323B2 (en) Kana-kanji conversion device
JP2000057134A (en) Documentation device
JP2659092B2 (en) Cursor display control method in logic diagram creation processor
JP2562497B2 (en) Annotation word processor
JPH0697455B2 (en) Kana-Kanji conversion device
JP2962718B2 (en) Character processor
JPH10198667A (en) Character string conversion device and program recording medium for the device
JPH01293463A (en) Character processor
JPS61229161A (en) Documentation and editing device
JPS62145463A (en) Kana/kanji (japanese syllabary/chinese character) conversion system
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JPH0716192Y2 (en) Text processor
JPH08185401A (en) Document retrieving device
JPS61169961A (en) Character processor provided with user dictionary
JPH0555910B2 (en)
JPH0310368A (en) Attended data display processing system
JPH03142558A (en) Kana/kanji converting device
JPH03160580A (en) Character correction method in character recognition system
JPH0758486B2 (en) Document file device