JPS6330976A - Macrocommand editing system - Google Patents

Macrocommand editing system

Info

Publication number
JPS6330976A
JPS6330976A JP61173667A JP17366786A JPS6330976A JP S6330976 A JPS6330976 A JP S6330976A JP 61173667 A JP61173667 A JP 61173667A JP 17366786 A JP17366786 A JP 17366786A JP S6330976 A JPS6330976 A JP S6330976A
Authority
JP
Japan
Prior art keywords
command
graphic
editing
memory
correspondence
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
JP61173667A
Other languages
Japanese (ja)
Inventor
Tetsuya Yamamoto
哲也 山本
Goro Suzuki
五郎 鈴木
Kanman Hamada
浜田 亘曼
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61173667A priority Critical patent/JPS6330976A/en
Publication of JPS6330976A publication Critical patent/JPS6330976A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To easily recognize relation between a displayed graphic, and a command, and to enable the editing of the command to be performed with a few quantity of operation, by obtaining the command used to generate the graphic from the graphic being displayed by a corresponding relation memory, at the time of editing a macrocommand. CONSTITUTION:Each command used at the time of generating the graphic, and the parameter of the command, and also, the identification information of a generated graphic corresponded to the graphic, are stored in the corresponding relation memory 6. At the time of editing the macrocommand, by selecting and instructing a required graphic out of the graphics generated and displayed until now by an operator, the identification information of an instructed graphic can be obtained,and the command, and a parameter value used to generate a selected and instructed graphic can be obtained as the information of the command to be edited. In such way, since it is possible to perform an operation to obtain a required command by selecting and instructing the graphic, the quantity to input the command for editing, can be reduced, and correspondence to the graphic being generated can be easily recognized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、図形処理システAにおけるコマンドの編集方
式に係り、コマンドを組み合わせてマクロコマンドを作
成するのに好適なマクロコマンドの編集方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a command editing method in a graphic processing system A, and more particularly to a macro command editing method suitable for creating a macro command by combining commands.

〔従来の技術〕[Conventional technology]

従来のマクロコマンド編集方式では、キーボードから文
字列としてコマンドを入力し文字列の編集によりコマン
ドの編集を行う方式や、メニューからのコマンドをシス
テムが文字列に変換しそれに対して編集を行う方式があ
った。前者では、現在までに使用されたコマンドを履歴
として記憶しておき編集では履歴を使用することでコマ
ンド入力の操作量を減らせるが、作成された図形とコマ
ンドとの関係について考慮されていなかった。
Conventional macro command editing methods include one in which the command is input as a string from the keyboard and the command is edited by editing the string, and another in which the system converts the command from the menu into a string and edits it. there were. In the former, the amount of command input operations can be reduced by storing the commands used so far as a history and using the history in editing, but it does not take into account the relationship between the created shape and the command. .

後者では、コマンド編集の為に新たにコマンドを入力し
なければならず、編集時のコマンド入力操−、 作゛量を減らすことについて考慮されていなかった。
In the latter method, a new command must be input in order to edit a command, and no consideration was given to reducing the amount of command input operation and effort required during editing.

−″〔発明が解決しようとする問題点〕上記従来技術は
、マクロコマンドの編集に際して表示されている図形情
報を使用する点について配慮されておらず必要とするコ
マンドを再入力しなければならない為操作量が多い。ま
た1作成される図形とパラメータの関係は操作者が知っ
ている必要がある為、使用するコマンド数が多いと誤り
が増えるという間開かあった。
-''[Problem to be solved by the invention] The above-mentioned prior art does not take into consideration the use of displayed graphic information when editing macro commands, and the necessary commands must be re-inputted. The amount of operations is large.Also, since the operator must know the relationship between the figure to be created and the parameters, the more commands that are used, the more errors occur.

本発明の目的は、表示された図形とコマンドの関係が分
かり易く少ない操作量によりコマンドのta集が行える
マクロコマンド編集方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a macro command editing method that makes it easy to understand the relationship between displayed figures and commands and allows a collection of commands to be created with a small amount of operation.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、入力されたコマンドとそれにより作成され
た図形情報との対応関係を記憶する対応関係メモリを設
け、マクロコマンドの編集に際して、表示されている図
形から前記対応関係メモリによりその図形を作成するの
に使用されたコマン操作者が図形を作成した場合、作成
された図形は修正の為に図形番号のような識別情報が付
加されシステムに管理されている。本方式では、図形を
作成したときに使用された各コマンドとそのコマンドの
パラメータと共に、作成された図形の識別情報を対応さ
せて対応関係メモリに記憶する。
The above purpose is to provide a correspondence memory that stores the correspondence between an input command and graphic information created by it, and when editing a macro command, create a graphic from the displayed graphic using the correspondence memory. When an operator creates a figure, the created figure is managed by the system with identification information such as a figure number added for modification. In this method, each command used when creating a graphic and the parameters of that command are associated with identification information of the created graphic and stored in a correspondence memory.

マクロコマンド編集に際しては、現在までに作成され表
示されている図形の中から必要な図形を操作者が選択指
示することによって、指示された図形の識別情報を得、
その情報から前期対応関係メモリにより1選択指示され
た図形を作成するのに使用されたコマンド及びパラメー
タ値を編集されるコマンドの情報として得る。それによ
って、必要とするコマンドを得る操作が図形を選択指示
することによって行えるので、g集の為のコマンド入力
操作量が少なく、表示されている図形が手本となるため
1作成される図形との対応が分かり易いマクロコマンド
の編集が行える。
When editing a macro command, the operator selects and instructs the required figure from among the figures that have been created and displayed so far, and obtains the identification information of the specified figure.
From this information, the command and parameter values used to create the figure specified by the previous correspondence memory are obtained as information on the command to be edited. As a result, the operation to obtain the required command can be performed by selecting and instructing the figure, so the amount of command input operations for the g collection is small, and since the displayed figure serves as a model, the figure to be created You can edit macro commands whose correspondence is easy to understand.

〔実施例〕〔Example〕

・第′1図は、本実施例装置の構成を示したもので。 ・Figure '1 shows the configuration of the apparatus of this embodiment.

1は図形情報を表示するグラフインクディスプレイ、2
は座標入力装置であるタブレット、3は文字を入力する
キーボード、4は図形の作成、修正、マクロコマンドの
編集などを行う計算機、5は図形、識別情報などの図形
情報を記憶する図形メモリ、6は入力されたコマンドと
作成された図形の識別情報を対応させて記憶する対応関
係メモリである。操作者は、2,3により4の計算機へ
コマンドや、コマンドに必要な座標パラメータ、文字パ
ラメータを入力し、図形を作成する。作成された図形は
5に記憶され1に表示される。この時、使用したコマン
ド及びパラメータと作成された図形の識別情報を対応関
係メモリ6に記憶する。マクロコマンド編集時には4に
より1に表示された図形情報から必要となる図形を2に
より指示することによってその図形を作成した時のコマ
ンドが編集の為のコマンドとして4に入力される。それ
ら入力されたコマンドに対して4との対話により)パラ
メータの変更などの詳細な編集が行われる。
1 is a graph ink display that displays graphical information, 2
3 is a tablet that is a coordinate input device; 3 is a keyboard for inputting characters; 4 is a calculator for creating and modifying figures; editing macro commands; 5 is a figure memory for storing figure information such as figures and identification information; is a correspondence memory that stores input commands and identification information of created figures in correspondence with each other. The operator inputs a command, coordinate parameters and character parameters necessary for the command into the computer 4 through 2 and 3, and creates a figure. The created figure is stored in 5 and displayed in 1. At this time, the used command and parameters and the identification information of the created figure are stored in the correspondence memory 6. When editing a macro command, by specifying a required figure by 2 from the figure information displayed in 1 by 4, the command used to create the figure is input to 4 as a command for editing. Detailed editing such as parameter changes is performed on the input commands through interaction with 4).

<42図は作成された図形の例であり1図形A、B。<Figure 42 is an example of the created figures, 1 figure A and B.

1ツバ ″Cが作成されている。7は図形表示用ウィンドウであ
る。PL、P2は図形Aの座標パラメータであり、同様
にP3.P4は図形Bの、P5.P6゜P7は図形Cの
座標パラメータである。これら作成された図形は、識別
情報として図形名A、B。
1 brim "C" has been created. 7 is the figure display window. PL and P2 are the coordinate parameters of figure A, similarly P3.P4 are the coordinate parameters of figure B, P5.P6゜P7 are the coordinate parameters of figure C. These are coordinate parameters.These created figures have figure names A and B as identification information.

Cが付加されて図形メモリ5に記憶される。第3図は、
図形メモリ5の内容である。第4図は、図2に於ける対
応関係メモリ6の内容である。ここでは図形Aは、識別
情報がAで矩形コマンドにより作成され、パラメータは
PL、P2となっている。このように、6には作成され
た図形の識別情報とその図形を作成するのに使わ九たコ
マンド及びパラメータが対応をとって記憶される。図形
B、Cにはついても図形Aと同様な情報が記憶される。
C is added and stored in the graphic memory 5. Figure 3 shows
This is the content of the graphic memory 5. FIG. 4 shows the contents of the correspondence memory 6 in FIG. Here, figure A is created by a rectangle command with identification information A, and parameters PL and P2. In this way, the identification information of the created figure and the commands and parameters used to create the figure are stored in correspondence with each other. Information similar to that for figure A is also stored for figures B and C.

また、これらの情報は操作者が図形を作成するごとに作
られる。第5図は、マクロコマンドの編集を行う場合を
示し、7は現在までに作成された図形の表示用ウィンド
ウ、8はマクロコマン〜、ド編集用ウィンドウであり、
マクロコマンド編集パ・ム )ム7を起動することにより表示される。ここではマク
ロコマンド[MACRO1]を新たに作成する場合を示
している。今マクロコマンドで必要とする図形が図形A
のようであった場合、タブレット2により操作されるグ
ラフィックカーソル9で図形表示用ウィンドウの図形A
の近傍を指示する。計算機4は、図形メモリに記憶され
ている各図形に対して各図形の座標パラメータを用いて
カーソル9の座標値との最短距離を求め、それらの中で
最も距離の短い図形を指示された図形として検出し、そ
の図形の識別情報、座標パラメータ、図形種類を得る。
Further, this information is created each time the operator creates a figure. FIG. 5 shows a case where macro commands are edited, 7 is a window for displaying figures created up to now, 8 is a window for editing macro commands,
This is displayed by starting the macro command editing program 7. Here, a case is shown in which a new macro command [MACRO1] is created. The shape required by the macro command now is shape A.
, the graphic cursor 9 operated by the tablet 2 can be used to select the graphic A in the graphic display window.
Indicates the vicinity of. The calculator 4 calculates the shortest distance between each figure stored in the figure memory and the coordinate value of the cursor 9 using the coordinate parameters of each figure, and selects the figure with the shortest distance among them as the indicated figure. is detected, and the identification information, coordinate parameters, and type of the figure are obtained.

そして、操作者が指示した図形が検出されたことを表示
用ウィンドウの前記の検出された図形を点滅表示するこ
とで操作者に知らせる。第5図では、図形Aが検出され
図形の識別情報Aを得る。次に、前記の検出された図形
の識別情報を用いて対応関係メモリにおいて同じ識別情
報を持つものを検索する。検索に於いては対応関係メモ
リの先頭から順次識別情報を読みだし前記の検出された
識別情報と比較して同一であったものの識別7ゝ\ パ情、報に対応して記憶されているコマンド及びパラ・
(・ツ ーヌータを結果として得る。図5の場合には、識別情報
がAなので図4の対応関係メモリの内容からコマンドと
して矩形作図がパラメータとしてPl。
Then, the operator is informed that the figure specified by the operator has been detected by blinking the detected figure in the display window. In FIG. 5, figure A is detected and figure identification information A is obtained. Next, using the identification information of the detected figure, the correspondence memory is searched for one having the same identification information. During the search, the identification information is read out sequentially from the beginning of the correspondence memory, and compared with the detected identification information, the command stored corresponding to the identification 7\\P information and information is compared with the detected identification information. and para.
(・Two nuters are obtained as a result. In the case of FIG. 5, the identification information is A, so from the contents of the correspondence memory in FIG. 4, a rectangular diagram is set as a command and Pl as a parameter.

P2が得られる。そして、図5のように得られたコマン
ド、パラメータを操作者に代ってコマンド編集ウィンド
ウの編集用カーソル10の位置に文字列として書き込む
。このコマンド、パラメータは、操作者がカーソル9に
よって指示した図形を作成するのに使用されたものとな
っている。操作者が図形の選択指示を誤った場合には4
に対して選択指示の取り消しを3から指示することによ
って図形の点滅表示が通常表示に戻り、コマンド編集ウ
ィンドウ内のコマンド文字の入力も取り消される。操作
者はコマンド編集ウィンドウ用に表示されたコマンドに
対してスクリーンエディタによりパラメータの変更等を
行ない前記操作によるコマンドの入力と組み合わせてマ
クロコマンドの編集作業を行っていく。これよって、操
作者は必要とする図形に似たものを表示図形の中から選
択相−1・′ マント入力の為の操作量が少なくてよく、また、コマン
ドが動作した結果である図形からコマンドを得るのでコ
マンドと図との関係が分かり易いマクロコマンド編集が
行える。以上述べた実施例では、図形メモリに記憶され
る図形情報と対応関係メモリに記憶されるコマンドが1
対1に対応しているが図6に示すように複数の図形情報
に同一の識別情報を与えて複数対1あるいは複数対複数
の対応としてもよく複数のコマンドにより一つの図形情
報が作成される場合のように1対複数であってもよい。
P2 is obtained. Then, the command and parameters obtained as shown in FIG. 5 are written as a character string at the position of the editing cursor 10 in the command editing window on behalf of the operator. These commands and parameters are those used to create the figure indicated by the cursor 9 by the operator. 4 if the operator makes a mistake in the instruction to select a shape.
By instructing 3 to cancel the selection instruction, the blinking display of the figure returns to the normal display, and the input of command characters in the command editing window is also cancelled. The operator uses a screen editor to change the parameters of the command displayed in the command editing window, and edits the macro command in combination with the input of the command by the above-mentioned operation. This allows the operator to select a figure similar to the required figure from among the displayed figures.The amount of operation required for cloak input is small. This allows you to edit macro commands that make it easy to understand the relationship between commands and diagrams. In the embodiment described above, the graphic information stored in the graphic memory and the command stored in the correspondence memory are one
Although the correspondence is one-to-one, as shown in Figure 6, the same identification information can be given to multiple pieces of graphic information, resulting in a multiple-to-one or multiple-to-many correspondence.One piece of graphic information is created using multiple commands. It may be one-to-multiple as in the case.

また、本実施例では作成された図形とそれを作るのに使
用されたコマンドとの対応を対応関係メモリに記憶しそ
いるが、図7に示すように使用される各コマンドに対し
てそのコマンドにより作られる典型的な図形とコマンド
との対応を対応関係メモリに記憶し、典型的な図形は図
形メモリに操作者の作成する図形と区別して記憶してお
き、マクロコマンドの編集では、典型的な図形のみを図
形表示用ウィンドウに表示しコマンド入力に使用するこ
とも出来る。また、対応関係メモリと図形メモリを同一
のメモリ上に設置することもでき、対応関係メモリを図
形メモリに含ませることも出来る。
In addition, in this embodiment, the correspondence between the created figure and the command used to create it is stored in the correspondence memory, but as shown in FIG. The correspondence between typical figures created and commands is stored in a correspondence memory, and typical figures are stored in the figure memory separately from figures created by the operator. When editing macro commands, typical figures are It is also possible to display only the figure in the figure display window and use it for command input. Further, the correspondence memory and the graphic memory can be installed on the same memory, and the correspondence memory can also be included in the graphic memory.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、マクロコマンドの編集に際して表示さ
れている図形を選択指示することによって、その図形を
作成するのに使われたコマンド及びパラメータを得られ
るので、コマンドと図形の関係が分かり易く少ない操作
量でマクロコマンド第1図は本実施例装置の構成図、第
2図、第3図、第4図、第5図は実際の動作を説明する
ための図形表示ウィンドウの内容及び図形メモリの内容
、対応関係メモリの内容及びマクロコマンドの編集動作
の説明の為の図形表示ウィンドウ、コマンド編集用ウィ
ンドウの内容を示す図、第6図。
According to the present invention, by selecting and instructing a displayed figure when editing a macro command, the command and parameters used to create that figure can be obtained, making it easy to understand the relationship between commands and figures. Figure 1 shows the configuration of the apparatus of this embodiment, and Figures 2, 3, 4, and 5 show the contents of the graphic display window and the graphic memory to explain the actual operation. FIG. 6 is a diagram showing the contents of the graphic display window and the command editing window for explaining the contents, the contents of the correspondence memory, and the editing operation of the macro command.

第7図は本実施例の変形例説明図である。FIG. 7 is an explanatory diagram of a modification of this embodiment.

1・・・ディスプレイ、2・・・タブレット、3・・・
キーボード、4・・・計算機、5・・・図形メモリ、6
・・・対応関名1 回 $2図 篤3図         第40 第5 ロ
1...display, 2...tablet, 3...
Keyboard, 4...Calculator, 5...Graphic memory, 6
... Corresponding Sekina 1 time $ 2 figure Atsushi 3 figure 40 5th b

Claims (1)

【特許請求の範囲】[Claims] 1、操作者からのコマンドを入力する入力装置と、図形
情報を表示する図形表示装置と、該図形情報を貯える図
形メモリと、図形情報の作成、修正を行なう計算機とか
ら成る対話型図形処理システムにおいて、入力されたコ
マンドとそれにより作成された図形情報の対応関係を記
憶する対応関係メモリを設け、表示された図形情報から
使用されたコマンドを得ることを特徴とするマクロコマ
ンド編集方式。
1. An interactive graphic processing system consisting of an input device for inputting commands from an operator, a graphic display device for displaying graphic information, a graphic memory for storing the graphic information, and a computer for creating and modifying the graphic information. A macro command editing method characterized in that a correspondence memory is provided to store the correspondence between input commands and graphic information created thereby, and the command used is obtained from the displayed graphic information.
JP61173667A 1986-07-25 1986-07-25 Macrocommand editing system Pending JPS6330976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61173667A JPS6330976A (en) 1986-07-25 1986-07-25 Macrocommand editing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61173667A JPS6330976A (en) 1986-07-25 1986-07-25 Macrocommand editing system

Publications (1)

Publication Number Publication Date
JPS6330976A true JPS6330976A (en) 1988-02-09

Family

ID=15964863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61173667A Pending JPS6330976A (en) 1986-07-25 1986-07-25 Macrocommand editing system

Country Status (1)

Country Link
JP (1) JPS6330976A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0217520A (en) * 1988-07-06 1990-01-22 Hitachi Ltd Command input system
JPH02123468A (en) * 1988-10-17 1990-05-10 Internatl Business Mach Corp <Ibm> Plotting of computer-aided plotting system
JP2001005857A (en) * 1999-05-24 2001-01-12 Parametric Technology Corp Method for incorporating analysis to feature of model of object and its using method
JP2001034653A (en) * 1999-05-24 2001-02-09 Parametric Technology Corp Feature-type macro language for defining customized analysis function and customized graphic function

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0217520A (en) * 1988-07-06 1990-01-22 Hitachi Ltd Command input system
JPH02123468A (en) * 1988-10-17 1990-05-10 Internatl Business Mach Corp <Ibm> Plotting of computer-aided plotting system
JP2001005857A (en) * 1999-05-24 2001-01-12 Parametric Technology Corp Method for incorporating analysis to feature of model of object and its using method
JP2001034653A (en) * 1999-05-24 2001-02-09 Parametric Technology Corp Feature-type macro language for defining customized analysis function and customized graphic function
JP4657420B2 (en) * 1999-05-24 2011-03-23 パラメトリック・テクノロジー・コーポレーション How to incorporate analysis into the features of an object model

Similar Documents

Publication Publication Date Title
JPH02293904A (en) Cad/cam device
US6546558B1 (en) Visual scenario editor for editing links between presentation screens in a multi-media application
KR100246862B1 (en) Method and editing system for setting tool button
JPS6330976A (en) Macrocommand editing system
JP6337810B2 (en) Information processing apparatus, information processing method, and program
CN115526015B (en) Command interaction-based power grid diagram generation method, device, medium and equipment
KR101498877B1 (en) Program-producing device and image control system
JP2007193425A (en) Screen data preparation device, screen data edition method, and screen data edition program
JPH10291183A (en) Robot language processing device
JPS6315322A (en) Acquiring and reclaiming system for command history
JPS63118820A (en) Menu display device
JPH10222689A (en) Method for displaying graphic and device therefor and storage medium for storing graphic display program
JPH0620021A (en) Method and device for graphic processing
JPH0954688A (en) Gui design supporting method
JPH0217574A (en) Interactive graphic processing system
JPH03119465A (en) Document editing device
JPS6255731A (en) Program editing and producing device
JPH07200226A (en) Visualizing device for operation string
JP5028644B2 (en) Electronic computer and computer control program
JPH0334098B2 (en)
JP2928858B2 (en) Multi-window display control apparatus and method
JPS63292306A (en) Nc command information generating device
JPH0814824B2 (en) Document logical structure editing device
JP2005259169A (en) Program generation method
JPH04169926A (en) Graphic processor