CN101650751A - Method for processing CAD drawing breadth - Google Patents
Method for processing CAD drawing breadth Download PDFInfo
- Publication number
- CN101650751A CN101650751A CN200810118117A CN200810118117A CN101650751A CN 101650751 A CN101650751 A CN 101650751A CN 200810118117 A CN200810118117 A CN 200810118117A CN 200810118117 A CN200810118117 A CN 200810118117A CN 101650751 A CN101650751 A CN 101650751A
- Authority
- CN
- China
- Prior art keywords
- template
- title block
- picture frame
- frame
- user
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention provides a method for processing CAD drawing breadth, which comprises the following steps: defining a picture frame template; saving the defined picture frame template in a template base; calling a picture frame in, namely providing a called-in picture frame menu so as to receive the selection for calling the picture frame template by a user from the template base; and generating a picture frame of the current drawing by the selected picture frame template. The invention also provides a method for processing the CAD drawing breadth, which comprises the following steps: defining title bar template; saving the defined title bar template in the template base; calling a title bar in, namely providing a called-in title bar menu so as to receive the selection for calling the titlebar template by the user from the template base; and generating a title bar of the current drawing by the selected title bar template. The methods solve the problems of low work efficiency of manual operation, high labor intensity and easy mistake making, further achieve the effect of quickly drawing, relieve the workload of designers, and reduce the mistake making possibility.
Description
Technical field
The present invention relates to CAD (Computer Aided Design, computer-aided design (CAD)) field, in particular to a kind of drawing breadth disposal route that is used for CAD.
Background technology
In utilization CAD software drawing course, when handling drawing breadth, all can use picture frame, title block usually, these all are the basic demands of drawing.In two-dimentional drawing drawing process, the designer need for every drawing with the heavy line picture frame that draws, its form also has multiple regulation, for example: whether bookbinding limit, diacritic, shearing symbol are arranged, and whether map sheet subregion etc.All title block should be arranged on every technical drawing, title block generally is made up of change district, signature district, title and code name district, other districts, also can increase or reduce by actual needs.
In two-dimentional drawing drawing process, the technique of painting of picture frame and title block all has standard usually, and for example GB, machine mark, emblem mark all need query criteria at every turn when drawing.In addition, to consider the conversion relation of length and physical length on the figure during drafting, so when drawing scale is not 1: 1, also will calculate length on the figure that multiply by behind the drawing scale.Drawing should guarantee unified method for drafting more for a long time: linear, color, font.
In realizing process of the present invention, the inventor finds in the drafting of the picture frame of The existing CAD software and title block and fills in the scheme, in the time can being used for the drawing of reference, can copy needed relational graph from referenced drawing, functions such as the conversion by straight line and literal, modification obtain the figure that oneself needs then.Yet, when not having to be used for the drawing of reference,,, draw with straight line and literal then Yi Bian calculate the map range that multiply by behind the drawing scale on one side picture frame and title block can only be inquired about handbook by the designer.
Above-mentioned operation all depends on designer's manual operations and finishes, and efficient is lower, and makes mistakes easily.
Summary of the invention
The present invention aims to provide the drawing breadth disposal route of a kind of CAD of being used for, need manual the generation when solving traditional C AD software processes breadth and the inefficiency that causes, labour intensity greatly and the problem that goes wrong easily.
In an embodiment of the present invention, provide the drawing breadth disposal route of a kind of CAD of being used for, may further comprise the steps: definition figure frame template; The figure frame template of definition is saved in the template base; Call in picture frame, specifically comprise: provide and call in the picture frame menu, be used for accepting the selection of user from template base calling graph frame template; Selected figure frame template is generated the picture frame of current drawing.
Preferably, definition figure frame template specifically comprises: draw picture frame according to application scenarios; Activate the function of definition picture frame; Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the picture frame of drawing, and accept the user and pick up a basic point to the title block location; With the straight line that picked up and the definition of literal pie graph frame template.
Preferably, definition figure frame template also comprises: judge that the user has picked up the pattern code name in the picture frame drawn; Pick up the sealing frame at pattern code name place; The sealing frame that is picked up is joined the definition of figure frame template.
Preferably, the figure frame template of definition is saved in the template base and specifically comprises: dialog box is provided, is used to accept the title of user's input, and accept the user figure frame template is saved in selection in the template base about the figure frame template.
Preferably, provide and call in the picture frame menu, be used for accepting the user and specifically comprise: activate the function of calling in picture frame from the selection of template base calling graph frame template; From template base, obtain the figure frame template of all breadths that meet current drawing; Dialog box is provided, lists the figure frame template that is obtained, be used to accept the selection of user for the figure frame template that is obtained.
Preferably, the picture frame that selected figure frame template is generated current drawing specifically comprises: judge whether have picture frame in the current drawing; If existing picture frame in the current drawing, then the existing picture frame of deletion enters next step then; If there is not block diagram, then directly enter next step; Drawing scale according to current drawing is provided with size and position; Selected figure frame template is generated as the picture frame of current drawing with size and position.
In an embodiment of the present invention, also provide the drawing breadth disposal route of a kind of CAD of being used for, may further comprise the steps: definition title block template; The title block template of definition is saved in the template base; Call in title block, specifically comprise: provide and call in the title block menu, be used for accepting the user calls the title block template from template base selection; Selected title block template is generated the title block of current drawing.
Preferably, definition title block template specifically comprises: draw title block according to application scenarios; Activate the function of definition title block; Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the title block of drawing; The straight line that picked up and literal are constituted the definition of title block template.
Preferably, definition title block template also comprises: judge that the user has picked up the interior circling point of the form of the title block of drawing; Dialog box is provided, is used to accept the specific definition of user for the list cell of drafting title block; The interior circling point that is picked up is joined the definition of title block template.
Preferably, the title block template of definition is saved in the template base and specifically comprises: dialog box is provided, is used to accept the title of user's input, and accept the user title block template is saved in selection in the template base about the title block template.
Preferably, provide and call in the title block menu, be used for accepting the selection that the user calls the title block template from template base and specifically comprise: activate the function of calling in title block; From template base, obtain the title block template of all breadths that meet current drawing; Dialog box is provided, lists the title block template of being obtained, be used to accept the selection of user for the title block template of being obtained.
Preferably, the title block that selected title block template is generated current drawing specifically comprises: judge whether have title block in the current drawing; If existing title block in the current drawing then duplicates the attribute of the same name in the existing title block, and the existing title block of deletion, next step entered then; If there is not title block, the ratio of current drawing then is set, enter next step then; Judge and whether have picture frame in the current drawing; If do not have picture frame in the current drawing, then, enter next step then according to the user-selected title block template of the lower right corner point location of current drawing breadth; If existing picture frame, then the selected title block template of anchor point consumer positioning that provides according to picture frame enters next step then; Drawing scale according to current drawing is provided with size and position; Selected title block template is generated as the title block of current drawing with size and position; Dialog box is provided, is used to accept the unit form that the user fills in title block.
In an embodiment of the present invention, also provide the drawing breadth disposal route of a kind of CAD of being used for, having comprised: definition figure frame template; The figure frame template of definition is saved in the template base; Definition title block template; The title block template of definition is saved in the template base; Provide and call in the picture frame menu, be used for accepting the selection of user from template base calling graph frame template; Selected figure frame template is generated the picture frame of current drawing; Provide and call in the title block menu, be used for accepting the user calls the title block template from template base selection; Selected title block template is generated the title block of current drawing.
The drawing breadth disposal route that is used for CAD of the foregoing description is because set up the template base of picture frame and title block and calls tool is provided, thereby the designer can directly call picture frame and title block from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention;
Fig. 2 shows the synoptic diagram according to the picture frame instrument that is used for CAD of the embodiment of the invention;
Fig. 3 shows the process flow diagram according to the definition picture frame of the picture frame instrument that is used for CAD of the embodiment of the invention;
Fig. 4 shows the process flow diagram according to the storage picture frame of the picture frame instrument that is used for CAD of the embodiment of the invention;
Fig. 5 shows the process flow diagram of calling in picture frame according to the picture frame instrument that is used for CAD of the embodiment of the invention;
Fig. 6 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention;
Fig. 7 shows the synoptic diagram according to the title block instrument that is used for CAD of the embodiment of the invention;
Fig. 8 shows the process flow diagram according to the definition title block of the title block instrument that is used for CAD of the embodiment of the invention;
Fig. 9 shows the process flow diagram according to the storage title block of the title block instrument that is used for CAD of the embodiment of the invention;
Figure 10 shows the process flow diagram of calling in title block according to the title block instrument that is used for CAD of the embodiment of the invention;
Figure 11 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S10, definition figure frame template;
Step S20 is saved in the figure frame template that defines in the template base;
Step S30 calls in picture frame, specifically comprises: provide and call in the picture frame menu, be used for accepting the selection of user from template base calling graph frame template; Selected figure frame template is generated the picture frame of current drawing.
This drawing breadth disposal route is because set up the template base of picture frame and calls tool is provided, thereby the designer can directly call picture frame from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.In addition, use the figure frame template to generate picture frame, can guarantee that the picture frame that generates has unified method for drafting and style.
In addition, in order to realize informationalized management, also need CAD software and PDM (Product Data Management, product data management)/ERP (EnterpriseResource Planning, Enterprise Resources Planning) software carries out integrated, but the CAD software of prior art is owing to manually operating the generation picture frame, so can not support the integrated of CAD software and PDM/ERP software.Therefore, the designer can only open drawing file one by one with CAD software at present, and not only efficient is very low, and is difficult to obtain active data.Above-mentioned drawing breadth disposal route is because set up the template base of picture frame, and template base can make things convenient for calling of PDM/ERP software, thus can realize the integrated of CAD software and PDM/ERP software at an easy rate, thus also alleviated manually-operated burden.
Preferably, step S10 specifically comprises: draw picture frame according to application scenarios; Activate the function of definition picture frame; Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the picture frame of drawing, and accept the user and pick up a basic point to the title block location; With the straight line that picked up and the definition of literal pie graph frame template.
Application scenarios can produce according to different standards, and for example according to following standard: GB, machine mark, emblem mark produce application scenarios, and the user can draw the picture frame that meets various criterion as required like this.The preferred embodiment has realized that the user can call in the picture frame of various application scenarioss by template base.
Preferably, step S10 also comprises: judge that the user has picked up the pattern code name in the picture frame drawn; Pick up the sealing frame at pattern code name place; The sealing frame that is picked up is joined the definition of figure frame template.
The preferred embodiment provides the more excellent scheme of a definition picture frame, and the user can finish the process of definition picture frame by directly picking up the pattern code name, has simplified the work of definition picture frame.Like this, if when the definition picture frame, specified the zone of pattern code name on the picture frame, can fill in the pattern code name of picture frame automatically according to the content of title block.When filling in title block, can check whether current picture frame has the pattern code name, if just have the content of drawing number is copied to the pattern code name, do not need to go again to fill in picture frame.
Preferably, step S20 specifically comprises: dialog box is provided, is used to accept the title of user's input about the figure frame template, and accept the user figure frame template is saved in selection in the template base.
The preferred embodiment provides user-defined figure frame template has been saved in function in the template base, and is each figure frame template name, makes things convenient for the user to search.Simultaneously, the template base of production can be only used for user oneself, also can be used as standard picture frame in the enterprise and is generalized in the whole enterprise and uses.During popularization, only need copy template base under the designated directory to and get final product.A template can be exactly a file, and these file set management constitute a template base.Obviously, template base can be various forms of template file set or adopt database to make up.
Preferably, provide and call in the picture frame menu, be used for accepting the user and specifically comprise: activate the function of calling in picture frame from the selection of template base calling graph frame template; From template base, obtain the figure frame template of all breadths that meet current drawing; Dialog box is provided, lists the figure frame template that is obtained, be used to accept the selection of user for the figure frame template that is obtained.
In the preferred embodiment, the designer can directly call the figure frame template of the breadth that meets current drawing from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.
Preferably, the picture frame that selected figure frame template is generated current drawing specifically comprises: judge whether have picture frame in the current drawing; If existing picture frame in the current drawing, then the existing picture frame of deletion enters next step then; If there is not block diagram, then directly enter next step; Drawing scale according to current drawing is provided with size and position; Selected figure frame template is generated as the picture frame of current drawing with size and position.
The preferred embodiment has taken into full account current drawing and whether has had picture frame, and provided processing scheme.Guarantee to have only a picture frame or title block in the drawing, just guaranteed the free hand drawing pattern.
Fig. 2 shows the synoptic diagram according to the picture frame instrument that is used for CAD of the embodiment of the invention, the picture frame instrument comprises three functions: define picture frame, store picture frame, call in picture frame, their relation as shown in the figure, at first, then the picture frame that defines is stored in the picture frame template base according to given graphic element definition picture frame.Here the picture frame template base of Sheng Chenging can be used for user oneself, also can be used as the standard picture frame in the enterprise, is generalized in the whole enterprise and uses.When needs are drawn picture frame, can from the picture frame template base, call in the figure frame template of the breadth that meets current drawing, use for the user.
Fig. 3 shows the process flow diagram according to the definition picture frame of the picture frame instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S102 draws the straight line and the literal of composition diagram frame template as the case may be;
Step S104 activates the function that defines picture frame;
Step S106 picks up composition according to prompting and draws good straight line and literal, picks up a basic point to the title block location again;
Step S108 judges whether the pattern code name is arranged on the picture frame;
Step S110 if the pattern code name is arranged on the picture frame, then picks up the sealing frame at pattern code name place.
From above description to the preferred embodiment, as can be seen, definition picture frame function provides two kinds of preferred embodiments to the user, may be by picking up straight line and the literal definition picture frame of forming picture frame, also can define by picking up the pattern code name, the user can freely select.
Fig. 4 shows the process flow diagram according to the storage picture frame of the picture frame instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S202 provides the dialog box that is saved in template, judges whether picture frame is saved in template file;
Step S204 is saved in template file to picture frame if desired, picture frame is deposited in the template after then filling in the title of template file.
The preferred embodiment provides user-defined figure frame template has been saved in function in the template base, and is each figure frame template name, makes things convenient for the user to search.
Fig. 5 shows the process flow diagram of calling in picture frame according to the picture frame instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S302 activates the function of calling in picture frame;
Step S304 ejects the function corresponding dialog box, has listed all and meet the figure frame template of current drawing breadth on dialog box;
Step S306 selects a figure frame template, judges whether to determine;
Step S308 is if determine whether in current drawing have picture frame, if there is not picture frame, then enter step S312 if then judging;
Step S310 if in the current drawing picture frame is arranged, then deletes former picture frame;
Step S312 is according to the drawing scale auto scaling and the position of current drawing;
Step S314, the title block in the adjustment drawing and the position of detail list;
Step S316 if the pattern code name is arranged on the picture frame, fills in the pattern code name automatically according to the content of title.
From above description to the preferred embodiment, as can be seen, the user can obtain required picture frame easily by the function of calling in of picture frame instrument from the picture frame template base.
Fig. 6 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S12, definition title block template;
Step S22 is saved in the title block template that defines in the template base;
Step S32 calls in title block, specifically comprises: provide and call in the title block menu, be used for accepting the user calls described title block template from described template base selection; Selected title block template is generated the title block of current drawing.
This drawing breadth disposal route is because set up the template base of title block and calls tool is provided, thereby the designer can directly call title block from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.In addition, use the title block template to generate title block, can guarantee that the title block that generates has unified method for drafting and style.
In addition, in order to realize informationalized management, it is integrated also to need CAD software and PDM/ERP software to carry out, but the CAD software of prior art is owing to manually operating the generation title block, so can not support the integrated of CAD software and PDM/ERP software.Therefore, the designer can only open drawing file one by one with CAD software at present, and not only efficient is very low, and is difficult to obtain active data.Above-mentioned drawing breadth disposal route is because set up the template base of title block, and template base can make things convenient for calling of PDM/ERP software, thus can realize the integrated of CAD software and PDM/ERP software at an easy rate, thus also alleviated manually-operated burden.
Preferably, step S12 specifically comprises: draw title block according to application scenarios; Activate the function of definition title block; Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the title block of drawing; The definition that the straight line that picked up and literal are constituted described title block template.
Application scenarios can produce according to different standards, and for example according to following standard: GB, machine mark, emblem mark produce application scenarios, and the user can draw the title block that meets various criterion as required like this.The preferred embodiment has realized that the user can call in the title block of various application scenarioss by template base.
Preferably, step S12 also comprises: judge that the user has picked up the interior circling point of the form of the title block of drawing; Dialog box is provided, is used to accept the specific definition of user for the list cell of drafting title block; The interior circling point that is picked up is joined the definition of described title block template.
The preferred embodiment provides the more excellent scheme of a definition title block, the user can be by directly picking up the interior circling point of the form of the title block of drawing finish the process that defines title block, simplified the work that defines title block.
Preferably, step S22 specifically comprises: dialog box is provided, is used to accept the title of user's input about described title block template, and accept the user described title block template is saved in selection in the described template base.
The preferred embodiment provides user-defined title block template has been saved in function in the template base, and is each title block template name, makes things convenient for the user to search.Simultaneously, the template base of production can be only used for user oneself, also can be used as stdtitle hurdle in the enterprise and is generalized in the whole enterprise and uses.During popularization, only need copy template base under the designated directory to and get final product.A template can be exactly a file, and these file set management constitute a template base.Obviously, template base can be various forms of template file set or adopt database to make up.
Preferably, provide and call in the title block menu, be used for accepting the selection that the user calls described title block template from described template base and specifically comprise: activate the function of calling in title block; From described template base, obtain the title block template of all breadths that meet described current drawing; Dialog box is provided, lists the title block template of being obtained, be used to accept the selection of user for the title block template of being obtained.
In the preferred embodiment, the designer can directly call the title block template of the breadth that meets current drawing from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.
Preferably, the title block that selected title block template is generated current drawing specifically comprises: judge whether have title block in the described current drawing; If existing title block then duplicates the attribute of the same name in the described existing title block, and deletes described existing title block in the described current drawing, enter next step then; If there is not title block, the ratio of described current drawing then is set, enter next step then; Judge and whether have picture frame in the described current drawing; If do not have picture frame in the described current drawing, then, enter next step then according to the user-selected title block template of the lower right corner point location of described current drawing breadth; If existing picture frame, then the selected title block template of anchor point consumer positioning that provides according to picture frame enters next step then; Drawing scale according to described current drawing is provided with size and position; Selected title block template is generated as the title block of described current drawing with described size and position; Dialog box is provided, is used to accept the unit form that the user fills in described title block.
The preferred embodiment has taken into full account current drawing and whether has had title block, and provided processing scheme.
Fig. 7 shows the synoptic diagram according to the title block instrument that is used for CAD of the embodiment of the invention, the title block instrument comprises four functions: define title block, store title block, call in title block and fill in title block, their relation as shown in the figure, at first according to given graphic element definition title block, and fill in the unit form of title block, then the title block that defines is stored in the title block template base.Here the title block template base of Sheng Chenging can be used for user oneself, also can be used as the stdtitle hurdle in the enterprise, is generalized in the whole enterprise and uses.When needs are drawn title block, can from the title block template base, call in the title block template of the breadth that meets current drawing, use for the user.
Fig. 8 shows the process flow diagram according to the definition title block of the title block instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S402 draws straight line and the literal (list cell of title block must have square frame to surround) of forming picture frame as the case may be;
Step S404 activates the function that defines title block;
Step S406 picks up straight line and the literal of forming title block according to prompting;
Step S408 has judged whether to pick up the interior circling point of a title block form;
Step S410 if picked up the interior circling point of the form of a title block, then ejects the dialog box of definition title block form, and the specific definition list cell enters step S408;
From above description to the preferred embodiment, as can be seen, definition title block function provides two kinds of preferred embodiments to the user, may be by picking up straight line and the literal definition title block of forming title block, also can define, make things convenient for the user freely to select by the interior circling point that picks up the title block form.
Fig. 9 shows the process flow diagram according to the storage title block of the title block instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S502 if do not pick up the interior circling point of the form of a title block, then judges whether title block is saved in template file;
Step S504 is saved in template file to title block if desired, title block is deposited in the template after then filling in the title of template file.
The preferred embodiment provides user-defined title block template has been saved in function in the template base, and is each title block template name, makes things convenient for the user to search.
Figure 10 shows the process flow diagram of calling in title block according to the title block instrument that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S602 activates the function of calling in title block;
Step S604 lists the title block template of all breadths that meet current drawing;
Step S606 selects one of them title block template, judges whether to determine;
Step S608 if determine, judges then whether title block is arranged in the current drawing;
Step S610 if do not have title block in the current drawing, then fills in drawing scale automatically, and enters step S614;
Step S612 if in the current drawing title block is arranged, then duplicates the attribute of the same name in the former title block, and deletes former title block;
Step S614 judges whether picture frame is arranged in the current drawing;
Step S616 if do not have picture frame in the current drawing, then according to the point location new title hurdle, the lower right corner of drawing breadth, and enters step S620;
Step S618, if in the current drawing picture frame is arranged, then the anchor point that provides according to picture frame is located the new title hurdle;
Step S620 adjusts size and position according to the ratio of current drawing;
Step S622 generates the title block of current drawing;
Step S624 fills in the unit form of title block.
From above description to the preferred embodiment, as can be seen, the user can obtain required title block easily by the function of calling in of title block instrument from the title block template base.
Figure 11 shows the process flow diagram according to the drawing breadth disposal route that is used for CAD of the embodiment of the invention, may further comprise the steps:
Step S15, definition figure frame template;
Step S25 is saved in the figure frame template that defines in the template base;
Step S35, definition title block template;
Step S45 is saved in the title block template that defines in the template base;
Step S55 provides and calls in the picture frame menu, is used for accepting the user calls described figure frame template from described template base selection;
Step S65 generates selected figure frame template the picture frame of current drawing;
Step S75 provides and calls in the title block menu, is used for accepting the user calls described title block template from described template base selection;
Step S85 generates selected title block template the title block of current drawing.
The preferred embodiment provides the drawing breadth that is used for CAD disposal route, comprises the operation of picture frame and title block, and wherein Ding Yi function is identical with the definition picture frame function operations method of foregoing picture frame instrument, and we here just repeat no more.
From above description, as can be seen, the above embodiments of the present invention have realized following technique effect: because set up the template base of picture frame and title block and calls tool is provided, thereby the designer can directly call picture frame and title block from template base, and need not generate by hand, so solved inefficiency hand-manipulated, labour intensity greatly, the problem of makeing mistakes easily, and then realized the fast drawing effect, and alleviated designer's workload, reduced the possibility that goes wrong.Use template to generate picture frame and title block, can guarantee that the picture frame and the title block that generate have unified method for drafting and style.
In addition, template base can make things convenient for calling of PDM/ERP software, thus can realize the integrated of CAD software and PDM/ERP software at an easy rate, thus also alleviated manually-operated burden.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (13)
1. a drawing breadth disposal route that is used for CAD is characterized in that, may further comprise the steps:
Definition figure frame template;
The figure frame template of definition is saved in the template base;
Call in picture frame, specifically comprise:
Provide and call in the picture frame menu, be used for accepting the user from described template base
Call the selection of described figure frame template;
Selected figure frame template is generated the picture frame of current drawing.
2. drawing breadth disposal route according to claim 1 is characterized in that, definition
The figure frame template specifically comprises:
Draw picture frame according to application scenarios;
Activate the function of definition picture frame;
Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the picture frame of drawing, and accept the user and pick up a basic point to the title block location;
The definition that the straight line that picked up and literal are constituted described figure frame template.
3. drawing breadth disposal route according to claim 2 is characterized in that, definition figure frame template also comprises:
Judge that the user has picked up the pattern code name in the picture frame drawn;
Pick up the sealing frame at described pattern code name place;
The sealing frame that is picked up is joined the definition of described figure frame template.
4. drawing breadth disposal route according to claim 1 is characterized in that, the figure frame template that defines is saved in the template base specifically comprise:
Dialog box is provided, is used to accept the title of user's input, and accept the user described figure frame template is saved in selection in the described template base about described figure frame template.
5. drawing breadth disposal route according to claim 1 is characterized in that, provides and calls in the picture frame menu, is used for accepting the selection that the user calls described figure frame template from described template base and specifically comprises:
The function of picture frame is called in activation;
From described template base, obtain the figure frame template of all breadths that meet described current drawing;
Dialog box is provided, lists the figure frame template that is obtained, be used to accept the selection of user for the figure frame template that is obtained.
6. drawing breadth disposal route according to claim 1 is characterized in that, the picture frame that selected figure frame template is generated current drawing specifically comprises:
Judge and whether have picture frame in the described current drawing;
If existing picture frame is then deleted described existing picture frame in the described current drawing, enter next step then; If there is not block diagram, then directly enter next step;
Drawing scale according to described current drawing is provided with size and position;
Selected figure frame template is generated as the picture frame of described current drawing with described size and position.
7. a drawing breadth disposal route that is used for CAD is characterized in that, may further comprise the steps:
Definition title block template;
The title block template of definition is saved in the template base;
Call in title block, specifically comprise:
Provide and call in the title block menu, be used to accept the user from described template base
In call described title block template selection;
Selected title block template is generated the title block of current drawing.
8. drawing breadth disposal route according to claim 7 is characterized in that, definition title block template specifically comprises:
Draw title block according to application scenarios;
Activate the function of definition title block;
Prompting is provided, is used for accepting the user and picks up straight line and the literal of forming the title block of drawing;
The definition that the straight line that picked up and literal are constituted described title block template.
9. drawing breadth disposal route according to claim 8 is characterized in that, definition title block template also comprises:
Judge that the user has picked up the interior circling point of the form of the title block of drawing;
Dialog box is provided, is used to accept the specific definition of user for the list cell of drafting title block;
The interior circling point that is picked up is joined the definition of described title block template.
10. drawing breadth disposal route according to claim 7 is characterized in that, the title block template that defines is saved in the template base specifically comprise:
Dialog box is provided, is used to accept the title of user's input, and accept the user described title block template is saved in selection in the described template base about described title block template.
11. drawing breadth disposal route according to claim 7 is characterized in that, provides and calls in the title block menu, is used for accepting the selection that the user calls described title block template from described template base and specifically comprises:
The function of title block is called in activation;
From described template base, obtain the title block template of all breadths that meet described current drawing;
Dialog box is provided, lists the title block template of being obtained, be used to accept the selection of user for the title block template of being obtained.
12. drawing breadth disposal route according to claim 7 is characterized in that, the title block that selected title block template is generated current drawing specifically comprises:
Judge and whether have title block in the described current drawing;
If existing title block then duplicates the attribute of the same name in the described existing title block, and deletes described existing title block in the described current drawing, enter next step then; If there is not title block, the ratio of described current drawing then is set, enter next step then;
Judge and whether have picture frame in the described current drawing;
If do not have picture frame in the described current drawing, then, enter next step then according to the user-selected title block template of the lower right corner point location of described current drawing breadth; If existing picture frame, then the selected title block template of anchor point consumer positioning that provides according to picture frame enters next step then;
Drawing scale according to described current drawing is provided with size and position;
Selected title block template is generated as the title block of described current drawing with described size and position;
Dialog box is provided, is used to accept the unit form that the user fills in described title block.
13. a drawing breadth disposal route that is used for CAD is characterized in that, may further comprise the steps:
Definition figure frame template;
The figure frame template of definition is saved in the template base;
Definition title block template;
The title block template of definition is saved in the template base;
Provide and call in the picture frame menu, be used for accepting the user calls described figure frame template from described template base selection;
Selected figure frame template is generated the picture frame of current drawing;
Provide and call in the title block menu, be used for accepting the user calls described title block template from described template base selection;
Selected title block template is generated the title block of current drawing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118117A CN101650751A (en) | 2008-08-12 | 2008-08-12 | Method for processing CAD drawing breadth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118117A CN101650751A (en) | 2008-08-12 | 2008-08-12 | Method for processing CAD drawing breadth |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101650751A true CN101650751A (en) | 2010-02-17 |
Family
ID=41672989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810118117A Pending CN101650751A (en) | 2008-08-12 | 2008-08-12 | Method for processing CAD drawing breadth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101650751A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968583A (en) * | 2012-10-25 | 2013-03-13 | 北京数码大方科技股份有限公司 | Drawing signing method and device |
CN103729514A (en) * | 2014-01-06 | 2014-04-16 | 广州天越电子科技有限公司 | Method for designing mobile communication network base station |
CN106021718A (en) * | 2016-05-19 | 2016-10-12 | 重庆阿泰可科技股份有限公司 | Drawing method and device used for engineering drawing in CATIA (Computer-graphics Aided Three-dimensional Interactive Application) |
-
2008
- 2008-08-12 CN CN200810118117A patent/CN101650751A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968583A (en) * | 2012-10-25 | 2013-03-13 | 北京数码大方科技股份有限公司 | Drawing signing method and device |
CN103729514A (en) * | 2014-01-06 | 2014-04-16 | 广州天越电子科技有限公司 | Method for designing mobile communication network base station |
CN106021718A (en) * | 2016-05-19 | 2016-10-12 | 重庆阿泰可科技股份有限公司 | Drawing method and device used for engineering drawing in CATIA (Computer-graphics Aided Three-dimensional Interactive Application) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103927317A (en) | Mobile Communication Device For Switching A Plurality Of Views Of Home Screen And Application Method Thereof | |
CN101739251A (en) | Method and system for generating interface control | |
CN103123660B (en) | A kind of method to software and hardware system CAD mathematics library | |
CN102222148A (en) | Method and device for automatically generating detailed statement of three-dimensional assembly drawing | |
CN105912314A (en) | Layout method and system for user interface control, and control method and system for user interface control | |
CN102043586B (en) | Method and device for displaying background color in electronic form | |
CN107391474B (en) | Business card editing method, server and computer readable storage medium | |
CN115344905B (en) | Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model | |
CN102591808B (en) | System and method for DCS (distributed control system) hardware configuration based on Excel | |
CN107590592A (en) | Job dependence relation method for expressing, operation displaying and dispatch control method and device | |
CN111596824B (en) | Drawing standardization compilation method and system and electronic equipment | |
CN112016173A (en) | Method for manufacturing electrical diagram | |
CN101650751A (en) | Method for processing CAD drawing breadth | |
CN101661516A (en) | Method for processing part sequence number and list of CAD | |
CN106651996A (en) | Element hierarchy management method and device in manuscript editing tool | |
CN106168949B (en) | The method and device that database is split | |
CN112862668B (en) | Method for implementing picture conversion from design effect diagram to visualization | |
CN102831267A (en) | Method for automatically cataloging construction drawings based on CAD (computer-aided design) software | |
CN106503283A (en) | A kind of two-dimentional drawing intelligence comparative approach and device | |
CN104714987B (en) | Device, method and system for sequencing and displaying search result data of social network site | |
CN101452383A (en) | Interface antetype design method and design system | |
CN109508466A (en) | A kind of hydraulic power station Fast design method | |
CN111115093B (en) | Method for realizing compatibility of warehouse management software | |
CN116664722A (en) | Intelligent environment-friendly big data visualization processing method and system | |
JP4582701B2 (en) | Screen creation method, apparatus, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100217 |