JPH0793396A - Method for altering and registering component figure information - Google Patents

Method for altering and registering component figure information

Info

Publication number
JPH0793396A
JPH0793396A JP5257739A JP25773993A JPH0793396A JP H0793396 A JPH0793396 A JP H0793396A JP 5257739 A JP5257739 A JP 5257739A JP 25773993 A JP25773993 A JP 25773993A JP H0793396 A JPH0793396 A JP H0793396A
Authority
JP
Japan
Prior art keywords
drawing information
graphic
information
added
part drawing
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
JP5257739A
Other languages
Japanese (ja)
Inventor
Akito Ozawa
明人 小沢
Atsushi Ito
淳 伊東
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.)
Mutoh Industries Ltd
Original Assignee
Mutoh Industries 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 Mutoh Industries Ltd filed Critical Mutoh Industries Ltd
Priority to JP5257739A priority Critical patent/JPH0793396A/en
Publication of JPH0793396A publication Critical patent/JPH0793396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To carry on an editing process for a figure without changing a mode even if a figure element which alters a gathering of figure elements registered as component figure information is added or deleted. CONSTITUTION:When one gathering of figure elements registered as the component figure information is altered, it is decided (S11) whether or not figure elements which are already registered as the component figure information are included in an object to be edited. When it is decided that the figure elements which are already registered as the component figure information are included, it is decided (S12) whether or not a figure element to be added or deleted is included in the object to be edited. When the figure element to be added or deleted is included, the figure element to be added or deleted is added to the component figure information or deleted from the component figure information (S13).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CADシステム等にお
いて、部品図情報として登録された一まとまりの図形要
素の集合に対して変更を加える際の部品図情報の変更登
録方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a part drawing information change registration method for making a change to a set of graphic elements registered as part drawing information in a CAD system or the like.

【0002】[0002]

【従来の技術】CADシステムでは、頻繁に使用される
一まとまりの図形要素の集合を部品図情報として登録
し、登録された複数の図形要素からなる部品図情報を一
つのまとまりとして取り扱うことにより、作図作業の能
率向上を図ることがなされている。一旦登録された部品
図情報を構成する図形要素の集合に対して一部コーナー
Rを付与したり、面取り処理を施す等して図形要素の追
加、削除等の変更を加えた場合、従来は、このような変
更操作の後に、もう一度、部品図情報の登録モードを設
定し、部品図情報を登録し直す操作が必要になる。
2. Description of the Related Art In a CAD system, a set of frequently used groups of graphic elements is registered as part drawing information, and part drawing information consisting of a plurality of registered graphic elements is handled as one set. The efficiency of drawing work is improved. Conventionally, when a corner R is added to a set of graphic elements that form part drawing information that has been registered once, or a change such as addition or deletion of graphic elements is performed by chamfering, After such a change operation, it is necessary to set the part drawing information registration mode again and register the part drawing information again.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のシステ
ムでは、部品図情報として登録されている図形要素の集
合を変更するような図形要素の追加又は削除が生じたと
きに、再度、部品図情報の登録モードにして部品図情報
を登録し直すというという操作が必要となるので、操作
が煩雑で作業効率が悪いという問題点がある。
In the above-mentioned conventional system, when a graphic element is added or deleted to change the set of graphic elements registered as part drawing information, the part drawing information is re-established. Since it is necessary to perform the operation of re-registering the part drawing information in the registration mode of 1), there is a problem that the operation is complicated and the work efficiency is low.

【0004】本発明はこのような問題点を解決するため
になされたもので、部品図情報として登録されている図
形要素の集合に変更を与えるような図形要素の追加又は
削除が生じても、モード変更を要さずに図形の編集処理
を続行させることができる部品図情報の変更登録方法を
提供することを目的とする。
The present invention has been made to solve such a problem, and even if a graphic element is added or deleted so as to change the set of graphic elements registered as part drawing information, An object of the present invention is to provide a part drawing information change registration method capable of continuing graphic editing processing without requiring mode change.

【0005】[0005]

【課題を解決するための手段】本発明に係る部品図情報
の変更登録方法は、部品図情報として登録された一まと
まりの図形要素の集合に対して変更を加える際の部品図
情報の変更登録方法において、オペレータの操作に従っ
て任意の図形要素を変更、追加又は削除する編集ステッ
プと、このステップにおける編集対象に前記部品図情報
として既に登録された図形要素が含まれているか否かを
判定する判定ステップと、このステップで前記部品図情
報として既に登録された図形要素が含まれていると判定
されたときに、前記編集対象に追加又は削除される図形
要素が含まれている場合には、当該追加又は削除される
図形要素を前記部品図情報に追加又は前記部品図情報か
ら削除する部品図情報変更ステップとを備えたことを特
徴とする。
A part registration information change registration method according to the present invention is a part registration information change registration when a change is made to a set of graphic elements registered as part drawing information. In the method, an edit step of changing, adding or deleting an arbitrary graphic element according to an operator's operation, and determining whether the edit target in this step includes a graphic element already registered as the part drawing information When it is determined that the step and the graphic element already registered as the part drawing information in this step are included, when the graphic element to be added or deleted to the edit target is included, A component drawing information changing step of adding or deleting a graphic element to be added or deleted from the component drawing information.

【0006】[0006]

【作用】本発明によれば、編集対象に含まれる図形要素
のなかに既に部品図情報として登録されている図形要素
が含まれているか否かを判定し、もし、部品図情報とし
て登録されている図形要素が含まれている場合には、そ
の編集対象に含まれる追加又は削除される図形要素を前
記部品図情報に追加又は前記部品情報から削除すること
により、部品図情報を変更するようにしているので、部
品図情報の登録モードによる再登録を行うことなく、図
形編集操作を続行させることができる。このため、作業
効率を向上させることができる。
According to the present invention, it is determined whether or not a graphic element already registered as part drawing information is included in the graphic elements included in the editing target, and if it is registered as part drawing information. If the included graphic element is included, the graphic element to be added or deleted included in the edit target is added to or deleted from the part drawing information to change the part drawing information. Therefore, the graphic editing operation can be continued without re-registering in the part drawing information registration mode. Therefore, working efficiency can be improved.

【0007】[0007]

【実施例】以下、添付の図面を参照して本発明の実施例
について説明する。図1は、本発明の実施例に係る部品
図情報の変更登録方法が適用されるCADシステムの概
略的な機能ブロック図である。このシステムは、マウ
ス、キーボード等の入力部1と、作成された図形データ
に対して入力部1の操作により図形要素の変更、追加及
び削除等の編集操作を加えるための図形編集処理部2
と、部品図登録モードで一まとまりの図形要素の集合を
部品図情報として登録するための部品図登録部3と、作
成、編集された図形及び入力部1によって操作されるカ
ーソル等を表示するためのCRTディスプレイ、液晶デ
ィスプレイ等の表示部4と、作成及び編集された図形要
素を図形データとして記憶すると共に部品図登録部3で
登録された部品図情報を記憶するCADデータ記憶部5
とを備えて構成されている。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a schematic functional block diagram of a CAD system to which a part drawing information change registration method according to an embodiment of the present invention is applied. This system includes an input unit 1 such as a mouse and a keyboard, and a graphic edit processing unit 2 for adding edit operations such as changing, adding and deleting graphic elements to the created graphic data by operating the input unit 1.
In order to display the component drawing registration unit 3 for registering a set of graphic elements as component drawing information in the component drawing registration mode, the created and edited graphics and the cursor operated by the input unit 1 Display unit 4 such as a CRT display or liquid crystal display, and a CAD data storage unit 5 for storing the created and edited graphic elements as graphic data and for storing the part drawing information registered by the part drawing registration unit 3.
And is configured.

【0008】次に、このように構成されたシステムの動
作を説明する。図2は、部品図登録モード指定時の動作
を示すフローチャートである。部品図登録を指定する
と、表示部4に部品図情報として登録する一まとまりの
図形要素の指定を促すメッセージが表示されるので、こ
のメッセージに従って、対象となる図形要素を入力部1
の操作で指定する(S1)。例えば、図3(a)に示す
ような直線要素S1 ,S2 ,S3 ,S4 からなる矩形状
の対象図形10を部品図情報として登録するためには、
これら直線要素S1 〜S4 を一つずつカーソル11で指
示していくか、図示のように対象図形10をカーソル1
1の操作で設定される矩形エリア12で囲むことによ
り、登録の対象となる図形を指定する。指定が終了した
ら(S2)、後述する部品図情報の作成が開始される
(S3)。次に部品図情報へ付加される付属情報の入力
をオペレータに促し、対話操作によって部品図情報の名
称、部品コード等の付属情報の入力操作が実行される
(S4)。付属情報が入力されたら、部品図情報をCA
Dデータ記憶部5に登録する(S5)。
Next, the operation of the system thus configured will be described. FIG. 2 is a flowchart showing the operation when the parts drawing registration mode is designated. When the parts drawing registration is designated, a message prompting the designation of a group of graphic elements to be registered as the parts drawing information is displayed on the display unit 4. Therefore, in accordance with this message, the target graphic elements are input unit 1
Is designated by the operation of (S1). For example, in order to register a rectangular target figure 10 composed of linear elements S1, S2, S3, S4 as shown in FIG.
Either the linear elements S1 to S4 are designated by the cursor 11 one by one, or the target graphic 10 is moved to the cursor 1 as shown in the drawing.
The figure to be registered is specified by enclosing it with the rectangular area 12 set by the operation 1. When the designation is completed (S2), the creation of parts diagram information described later is started (S3). Next, the operator is prompted to input the accessory information to be added to the component drawing information, and an interactive operation is performed to input the accessory information such as the name of the component drawing information and the component code (S4). When the attached information is entered, the part drawing information is CA
The data is registered in the D data storage unit 5 (S5).

【0009】図4は、CADデータを構成する図形デー
タ、部品図情報及び付属情報の一例を示す図である。部
品図情報は、要素番号と次要素へのインデックスIDX
とで構成される。要素番号は、図形データにおける要素
番号を特定する情報である。各図形要素の詳細データ
は、図形データに記述されており、要素番号は、図形デ
ータへのインデックスとなるものである。なお、図形デ
ータには、各図形要素に対応させて部品図インデックス
が記述されており、図形データの部品図情報を構成する
どの図形要素からでも対応する部品図情報へのアクセス
が可能になっている。部品図情報は、チェイン構造とな
っており、図示の例では、図形データから部品図IDX
を参照してアドレスA1 が抽出されると、アドレスA1
→A2 →A3 →A4 →A50の順に一つの部品図を構成す
る一連の図形要素と付属情報とが抽出される。
FIG. 4 is a diagram showing an example of graphic data, part drawing information, and auxiliary information constituting CAD data. The component drawing information is the element number and the index IDX to the next element.
Composed of and. The element number is information specifying the element number in the graphic data. Detailed data of each graphic element is described in the graphic data, and the element number serves as an index to the graphic data. In the graphic data, the part drawing index is described in association with each graphic element, and it is possible to access the corresponding part drawing information from any graphic element that constitutes the part drawing information of the graphic data. There is. The parts drawing information has a chain structure. In the illustrated example, the parts data IDX is converted from the graphic data.
When the address A1 is extracted by referring to
→ A2 → A3 → A4 → A50 A series of graphic elements and ancillary information that compose one part drawing are extracted in this order.

【0010】次に部品図情報として登録されている図形
を図形編集処理部2を用いて変更する場合の例を説明す
る。即ち、いま、図5(a)に示すような図形要素S1
,S2 ,S3 ,S4 で構成される矩形状の対象図形1
0の四隅に、例えば図5(b)に示すようなコーナーR
を付与する編集操作を行った場合について説明する。対
象図形10の右上隅にコーナーR処理を施すと、図6に
示す処理が起動される。即ち、まず、編集対象が部品図
情報として登録されている図形要素であるかどうかがチ
ェックされる(S11)。編集対象が部品図情報として
登録されている図形要素でない場合には、処理は終了す
る。
Next, an example in which the figure registered as the part drawing information is changed by using the figure edit processing section 2 will be described. That is, now, the graphic element S1 as shown in FIG.
, S2, S3, S4 rectangular target figure 1
0 at four corners, for example, a corner R as shown in FIG.
A case will be described where an edit operation for adding is performed. When the corner R process is performed on the upper right corner of the target graphic 10, the process shown in FIG. 6 is started. That is, first, it is checked whether the editing target is a graphic element registered as part drawing information (S11). If the edit target is not a graphic element registered as part drawing information, the process ends.

【0011】この例の場合、コーナーR処理により、円
弧要素S5 が新たに追加されると共に、直線要素S1 ,
S2 の各端点bが、円弧要素S5 の両端と接続されるよ
うに、それぞれb′,b″に変更されるので、編集対象
は、図形要素S1,S2 ,S5となる。図形要素S1 ,S
2 は、部品図情報に登録済みの図形要素であるから、次
に、編集対象に追加・削除の図形要素があるかどうかが
チェックされる(S12)。この例では、図形要素S5
が追加要素となるので、この追加要素が部品図情報に追
加される。追加の手順は、追加要素の図形データの部品
図インデックスにその部品図へのインデックスを書き込
み、部品図情報に追加要素の番号を追加する。そして、
その部品図情報を構成する一連の図形要素のなかで付属
情報へのインデックスを持つ要素のインデックスを追加
要素へのインデックス(アドレス)に変更し、追加要素
のインデックスとして付属情報へのインデックスを書き
込む。
In the case of this example, by the corner R processing, a circular arc element S5 is newly added, and a linear element S1,
Since each end point b of S2 is changed to b'and b "so as to be connected to both ends of the circular arc element S5, the editing objects are the graphic elements S1, S2, S5.
Since 2 is a graphic element registered in the part drawing information, it is next checked whether or not there is a graphic element to be added / deleted as an edit target (S12). In this example, the graphic element S5
Is an additional element, this additional element is added to the part drawing information. As an additional procedure, the index of the part drawing is written in the part drawing index of the graphic data of the additional element, and the number of the additional element is added to the part drawing information. And
The index of the element having the index to the auxiliary information is changed to the index (address) to the additional element in the series of graphic elements constituting the part drawing information, and the index to the additional information is written as the index of the additional element.

【0012】以上の操作により、チェイン構造が変更さ
れる。図7は、図5(b)に示すように、四隅にコーナ
ーRを付与した時点での図形データ、部品図情報及び付
属情報の内容を示す図である。このようなデータ構造で
あれば、図形要素の追加及び削除をインデックスの書換
のみで行えるので、処理が極めて簡単になる。なお、上
記実施例では、図形要素が追加される場合について説明
したが、図形要素が削除される場合にも、同様の処理を
実行すれば図形の編集操作時に部品図情報が適宜再登録
される。
By the above operation, the chain structure is changed. FIG. 7 is a diagram showing the contents of graphic data, part drawing information, and attached information at the time when the corners R are added to the four corners as shown in FIG. 5B. With such a data structure, the addition and deletion of the graphic element can be performed only by rewriting the index, so that the processing becomes extremely simple. In the above embodiment, the case where the graphic element is added has been described. However, even when the graphic element is deleted, the component drawing information is appropriately re-registered at the time of the graphic editing operation by performing the same process. .

【0013】[0013]

【発明の効果】以上述べたように、本発明によれば、編
集対象に含まれる図形要素のなかに既に部品図情報とし
て登録されている図形要素が含まれているか否かを判定
し、もし、部品図情報として登録されている図形要素が
含まれている場合には、その編集対象に含まれる追加又
は削除される図形要素を前記部品図情報に追加又は前記
部品情報から削除することにより、部品図情報を変更す
るようにしているので、部品図情報の登録モードによる
再登録を行うことなく、図形編集操作を続行させること
ができ、作業効率を大幅に向上させることができるとい
う効果を奏する。
As described above, according to the present invention, it is determined whether or not the graphic element included in the object to be edited includes the graphic element already registered as the component drawing information. When the graphic element registered as the component drawing information is included, the added or deleted graphic element included in the editing target is added to the component drawing information or deleted from the component information, Since the parts drawing information is changed, the graphic editing operation can be continued without re-registering in the registration mode of the parts drawing information, and the working efficiency can be greatly improved. .

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

【図1】 本発明の実施例に係るCADシステムの機能
ブロック図である。
FIG. 1 is a functional block diagram of a CAD system according to an embodiment of the present invention.

【図2】 同システムの部品図登録モードでの動作を示
すフローチャートである。
FIG. 2 is a flowchart showing an operation of the system in a parts drawing registration mode.

【図3】 同システムにおける部品図登録処理を説明す
るための図である。
FIG. 3 is a diagram for explaining a component drawing registration process in the system.

【図4】 同システムにおける図形データ、部品図情報
及び付属情報の一例を示す図である。
FIG. 4 is a diagram showing an example of graphic data, part drawing information, and attached information in the system.

【図5】 同システムにおける編集操作の一例を示す図
である。
FIG. 5 is a diagram showing an example of an editing operation in the system.

【図6】 同システムにおける図形編集時の部品図情報
の変更登録処理の手順を示すフローチャートである。
FIG. 6 is a flowchart showing a procedure of change registration processing of component drawing information at the time of graphic editing in the system.

【図7】 同システムにおける図形編集処理後の図形デ
ータ、部品図情報及び付属情報を示す図である。
FIG. 7 is a diagram showing graphic data, part drawing information, and attached information after graphic editing processing in the system.

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

1…入力部、2…図形編集処理部、3…部品図登録部、
4…表示部、5…CADデータ記憶部、10…対象図
形、11…カーソル、12…矩形エリア。
1 ... Input unit, 2 ... Graphic editing processing unit, 3 ... Parts diagram registration unit,
4 ... Display unit, 5 ... CAD data storage unit, 10 ... Target figure, 11 ... Cursor, 12 ... Rectangular area.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 部品図情報として登録された一まとまり
の図形要素の集合に対して変更を加える際の部品図情報
の変更登録方法において、 オペレータの操作に従って任意の図形要素を変更、追加
又は削除する編集ステップと、 このステップにおける編集対象に前記部品図情報として
既に登録された図形要素が含まれているか否かを判定す
る判定ステップと、 このステップで前記部品図情報として既に登録された図
形要素が含まれていると判定されたときに、前記編集対
象に追加又は削除される図形要素が含まれている場合に
は、当該追加又は削除される図形要素を前記部品図情報
に追加又は前記部品図情報から削除する部品図情報変更
ステップとを備えたことを特徴とする部品図情報の変更
登録方法。
1. A change registration method of part drawing information when making a change to a set of graphic elements registered as part drawing information, wherein any graphic element is changed, added or deleted according to an operator's operation. An editing step, and a determination step of determining whether or not the editing target in this step includes a graphic element already registered as the part drawing information, and a graphic element already registered as the part drawing information in this step. When it is determined that a graphic element to be added or deleted is included in the editing target when it is determined that the graphic element to be edited is included, the graphic element to be added or deleted is added to the part drawing information or the part. And a parts drawing information changing step of deleting the parts drawing information from the drawing information.
JP5257739A 1993-09-21 1993-09-21 Method for altering and registering component figure information Pending JPH0793396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5257739A JPH0793396A (en) 1993-09-21 1993-09-21 Method for altering and registering component figure information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5257739A JPH0793396A (en) 1993-09-21 1993-09-21 Method for altering and registering component figure information

Publications (1)

Publication Number Publication Date
JPH0793396A true JPH0793396A (en) 1995-04-07

Family

ID=17310434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5257739A Pending JPH0793396A (en) 1993-09-21 1993-09-21 Method for altering and registering component figure information

Country Status (1)

Country Link
JP (1) JPH0793396A (en)

Similar Documents

Publication Publication Date Title
US4905185A (en) Apparatus for transferring block data in original form and editing the block data
JPH04181423A (en) Version control system
JPH08137804A (en) Information processor
JPH0793396A (en) Method for altering and registering component figure information
JPH0778015A (en) Numerical controller with data displaying and alterating function
JPH05324555A (en) Already executed operation canceller
JP2001195432A (en) Cad system
JP3017478B1 (en) Layer conversion method for graphic data and recording medium recording layer conversion program
JPS6249528A (en) Help guidance system
JPH05324556A (en) Already executed operation canceller
JPH096981A (en) Drawing production and editing device
JPH0822490A (en) Selecting method for layer and editing method for layer attribute
JPS6386021A (en) Screen control method
JPH06290214A (en) Filing system device
JPH07200671A (en) Cad and operation method therefor
JPH05324734A (en) Electronic filing device
JPH1196040A (en) Process execution system and recording medium
JPH0644233A (en) Document processor
JPH04127268A (en) Document editor
JPH08328836A (en) Graphic information managing device
JPH08339413A (en) Data entry device
JPS62260219A (en) Reproduction and display system for input data on menu screen
JPH05189505A (en) Method and device for editing of drawing
JPH09305344A (en) Method for controlling screen display
JPH06124193A (en) Document managing system