CN102054282A - Method and device for changing attributes of graph elements of computer-aided design (CAD) files - Google Patents

Method and device for changing attributes of graph elements of computer-aided design (CAD) files Download PDF

Info

Publication number
CN102054282A
CN102054282A CN 201110027486 CN201110027486A CN102054282A CN 102054282 A CN102054282 A CN 102054282A CN 201110027486 CN201110027486 CN 201110027486 CN 201110027486 A CN201110027486 A CN 201110027486A CN 102054282 A CN102054282 A CN 102054282A
Authority
CN
China
Prior art keywords
attribute
cad system
window
module
cad
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
CN 201110027486
Other languages
Chinese (zh)
Inventor
张文智
王舒浩
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.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN 201110027486 priority Critical patent/CN102054282A/en
Publication of CN102054282A publication Critical patent/CN102054282A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for changing attributes of graph elements of computer-aided design (CAD) files. The method comprises the following steps: obtaining the graph elements needing to be changed; uploading the attributes of the graph elements to a CAD system so that the graph elements and the attributes of the graph elements are displayed in a window of the CAD system; and changing the attributes which need to be changed, of the graph elements in the window. The device comprises an obtaining module, an uploading module and a changing module, wherein the obtaining module is used for obtaining the graph elements needing to be changed; the uploading module is used for uploading the attributes of the graph elements to the CAD system; and the changing module is used for changing the attributes which need to be changed, of the graph elements in the window. Compared with the prior art, the method and the device have the following beneficial effects: various attributes which need to be changed, of various graph elements are displayed in one window in a unified manner, thus facilitating changing the attributes of the graph elements and greatly improving the drawing efficiency.

Description

Cad file figure element attribute modification method and device
Technical field
Computer realm of the present invention relates to a kind of cad file figure element attribute modification method and device.
Background technology
In all CAD softwares, all need the figure element of using (such as straight line, circle, mark, literal etc.) is made amendment.Comprise layer to the figure element, line style, color, various attributes such as geometrical property are made amendment.Because it is in common mechanical drawing process, very frequent to the modification of figure element.Therefore, to the speed of the modification of figure element, directly influence the efficient of mechanical drawing.
At present, the modification neither one uniform way of the attribute of figure element own being carried out, all is " fighting separately ".Such as: can revise layer by toolbar, line style, color etc., the geometric attribute that folder point that perhaps can be by pulling the figure element and stretch function are revised the figure element.
By above-mentioned alter mode, can make amendment to the attribute of pel, still, because each function all is dispersed in different places, the user uses very trouble, has influenced drawing efficiency greatly.
In prior art, CAD system figure element is revised complicated, and the problem that drawing efficiency is low does not propose effective solution at present as yet.
Summary of the invention
The purpose of this invention is to provide a kind of cad file figure element attribute modification method and device, revise complexity, the problem that drawing efficiency is low in order to solve the figure element that exists in the prior art.
To achieve these goals, according to an aspect of the present invention, provide a kind of cad file figure element attribute modification method, the present invention by the following technical solutions:
A kind of cad file figure element attribute modification method comprises: obtain the figure element that needs are revised; The figure attribute of an element is loaded in the CAD system, so that figure element and attribute display thereof are in a window of CAD system; And in window, revise the figure element attribute that needs modification.
Further, before obtaining the figure element that needs to revise, figure element attribute modification method also comprises: create the set of figure element in CAD system.
Further, the set of establishment figure element comprises: import pel from the outside and usually create the set of figure element; Perhaps import the pel establishment figure element set usually that the user draws in CAD system.
Further, after the figure element step that needs to revise was obtained in execution, figure element attribute modification method also comprised: judge whether successful the set of figure element is created; If, the figure element in the figure element set is classified and calculated, obtain the type and the quantity information of figure element; And if not, load the initial graph element property of CAD system.
Further, the figure attribute of an element is loaded in the CAD system so that figure element and attribute display thereof comprise in a window of CAD system: according to the type and the quantity information of figure element, with figure element and attribute display thereof in a window of CAD system.
According to another aspect of the present invention, provide a kind of cad file figure element attribute modification device, the present invention by the following technical solutions:
A kind of cad file figure element attribute modification device comprises: acquisition module is used to obtain the figure element that needs are revised; Load-on module is used for the figure attribute of an element is loaded into CAD system, so that figure element and attribute display thereof are in a window of CAD system; And modified module, be used at window, revise the figure element attribute that needs modification.
Further, also comprise: creation module is used for gathering at CAD system establishment figure element; And judge module, be used for judging whether successful the set of figure element is created.
Further, creation module comprises: import module, be used for from the establishment figure element set usually of outside importing pel; Perhaps import the pel establishment figure element set usually that the user draws in CAD system.
Further, judge module comprises: classification and computing module, and be used for display model and the figure element of figure element set is classified and calculate, obtain the type and the quantity information of figure element.
Further, load-on module comprises display module, be used for so that figure element and attribute display thereof at a window of CAD system.
Compared with prior art, the invention has the beneficial effects as follows: in CAD software was drawn, by figure element and attribute unification thereof are presented in the window, the user revised all properties of figure element in a window, improved CAD software drawing efficiency greatly.
Description of drawings
Accompanying drawing described herein is used to provide the further understanding to type 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 is the main process flow diagram according to the cad file figure element attribute modification method of the embodiment of the invention;
Fig. 2 is the particular flow sheet according to the cad file figure element attribute modification method of the embodiment of the invention;
Fig. 3 is the modification window synoptic diagram of cad file figure element attribute modification method according to the preferred embodiment of the invention;
Fig. 4 is the concrete synoptic diagram of modification window of cad file figure element attribute modification method according to the preferred embodiment of the invention;
Fig. 5 is the primary structure synoptic diagram according to the cad file figure element attribute modification device of the embodiment of the invention; And
Fig. 6 is the concrete structure synoptic diagram according to the cad file figure element attribute modification device of the embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 is the main process flow diagram according to embodiment of the invention cad file figure element attribute modification method, and referring to shown in Figure 1, a kind of cad file figure element attribute modification method comprises: a: obtain the figure element that needs are revised; B: the figure attribute of an element is loaded in the CAD system, so that figure element and attribute display thereof are in a window of CAD system; And c: in window, revise the figure element attribute that needs modification.
Preferably, referring to shown in Figure 2, Fig. 2 is the particular flow sheet according to embodiment of the invention cad file figure element attribute modification method;
At first, pick up the figure element that needs modification, create the set of figure element.
Preferably, the method for picking up the figure element can adopt: import pel from the outside and usually create the set of figure element; Perhaps import the pel establishment figure element set usually that the user draws in CAD system.
Preferably, after creating the set of figure element, system judges whether whether building work is successful, promptly have the figure element in the set; If have, the figure element in the set of figure element is classified and calculated, obtain the type and the quantity information of figure element; If not, load the initial graph element property of CAD system.
Secondly, the figure element in the set of figure element is loaded in the CAD system according to type and quantity, so that figure element and attribute display are in a window.
Preferably, the figure attribute of an element is loaded in the CAD system so that figure element and attribute display thereof comprise in a window of CAD system: according to the type and the quantity information of figure element, with figure element and attribute display thereof in a window of CAD system.
Alternatively, straight line as a figure element, is made amendment to the attribute of straight line, specifically referring to shown in Fig. 3-4.
In Fig. 3, from the set of figure element, promptly select figure element straight line in the CAD system toolbar, current window comes out the attribute display of straight line and straight line thereof, as shown in Figure 3, the current characteristic of straight line: layer, line style, line style ratio, live width and color all are displayed in the window, and be concrete, and layer attribute is: 0, line style is: ByLayer, the line style scale attributes is: 1.00, and the live width attribute is: 0.50mm, color attribute is: black and white.Simultaneously, the geometrical property of straight line also is displayed in the current window, starting point :-2658.848, and terminal point :-2233.186, length: 425.662, X: increment 425.662, Y increment: 0.000.
Preferably, cad file figure element attribute modification method according to the present invention is made amendment to the above-mentioned attribute of figure element straight line, specifically referring to shown in Figure 4, color to straight line is made amendment, click the button on current color the right, the color attribute of straight line all shows in window, for example: redness, yellow, green, cyan, fuchsin, dark green grass or young crops, bright ash, dull gray, black and white etc., click the color that the user needs, promptly finished modification the straight line color attribute.
Can find, by with all figure elements and attribute display thereof in a window, the user can revise all properties of figure element in a window, improved CAD software drawing efficiency greatly.Revise the mode that attribute not only can adopt pull-down menu as shown in Figure 4 to select, also can adopt the mode of in input window, importing corresponding attribute or property value.
According to another aspect of the present invention, provide a kind of cad file figure element attribute modification device, referring to shown in Figure 5, Fig. 5 is the primary structure synoptic diagram according to embodiment of the invention cad file figure element attribute modification device; Comprise: acquisition module 502 is used to obtain the figure element that needs are revised; Load-on module 504 is used for the figure attribute of an element is loaded into CAD system, so that figure element and attribute display thereof are in a window of CAD system; And modified module 506, be used at window, revise the figure element attribute that needs modification.
Preferably, cad file figure element attribute modification device can also comprise: creation module 601 is used for gathering at CAD system establishment figure element; And judge module 603, be used for judging whether figure element set establishment is successful, specifically referring to shown in Figure 6.
Preferably, creation module 601 comprises: import module, be used for from the establishment figure element set usually of outside importing pel; Perhaps import the pel establishment figure element set usually that the user draws in CAD system.
Preferably, judge module 603 comprises: classification and computing module, and be used for display model and the figure element of figure element set is classified and calculate, obtain the type and the quantity information of figure element.
Preferably, load-on module 504 comprises display module, be used for so that figure element and attribute display thereof at a window of CAD system.
Therefore, as can be seen, by with all figure elements and attribute display thereof in a window, the user can revise all properties of figure element in a window, improved CAD software drawing efficiency greatly.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, 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 (10)

1. a cad file figure element attribute modification method is characterized in that, comprising:
Obtain the figure element that needs modification;
Described figure attribute of an element is loaded in the CAD system, so that described figure element and attribute display thereof are in a window of described CAD system; And
In described window, revise the figure element attribute that needs modification.
2. figure element attribute modification method according to claim 1 is characterized in that, before obtaining the figure element that needs to revise, described figure element attribute modification method also comprises:
In described CAD system, create the set of figure element.
3. figure element attribute modification method according to claim 2 is characterized in that, described establishment figure element set comprises:
Import pel from the outside and usually create described figure element set; Perhaps
The pel that the importing user draws in described CAD system is usually created described figure element set.
4. figure element attribute modification method according to claim 2 is characterized in that,
Carry out described obtain the figure element step that needs to revise after, described figure element attribute modification method also comprises:
Judge whether successful described figure element set is created;
If, the figure element in the set of described figure element is classified and calculated, obtain the type and the quantity information of figure element; And
If not, load the initial graph element property of described CAD system.
5. figure element attribute modification method according to claim 4 is characterized in that, described described figure attribute of an element is loaded in the CAD system, so that described figure element and attribute display thereof comprise in a window of described CAD system:
According to the type and the quantity information of described figure element, with described figure element and attribute display thereof in a window of described CAD system.
6. a cad file figure element attribute modification device is characterized in that, comprising:
Acquisition module is used to obtain the figure element that needs are revised;
Load-on module is used for described figure attribute of an element is loaded into CAD system, so that described figure element and attribute display thereof are in a window of described CAD system; And
Modified module is used at described window, revises the figure element attribute that needs modification.
7. figure element attribute modification device according to claim 6 is characterized in that, also comprises:
Creation module is used in described CAD system establishment figure element set; And
Judge module is used to judge whether successful described figure element set is created.
8. figure element attribute modification device according to claim 7 is characterized in that described creation module comprises:
Import module, be used for importing pel and usually create described figure element set from the outside; Perhaps import the pel that the user draws and usually create described figure element set in described CAD system.
9. figure element attribute modification device according to claim 8 is characterized in that described judge module comprises:
Classification and computing module are used for display model and the figure element of described figure element set is classified and calculate, and obtain the type and the quantity information of figure element.
10. figure element attribute modification device according to claim 6 is characterized in that described load-on module comprises:
Display module, be used for so that described figure element and attribute display thereof at a window of described CAD system.
CN 201110027486 2011-01-25 2011-01-25 Method and device for changing attributes of graph elements of computer-aided design (CAD) files Pending CN102054282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110027486 CN102054282A (en) 2011-01-25 2011-01-25 Method and device for changing attributes of graph elements of computer-aided design (CAD) files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110027486 CN102054282A (en) 2011-01-25 2011-01-25 Method and device for changing attributes of graph elements of computer-aided design (CAD) files

Publications (1)

Publication Number Publication Date
CN102054282A true CN102054282A (en) 2011-05-11

Family

ID=43958568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110027486 Pending CN102054282A (en) 2011-01-25 2011-01-25 Method and device for changing attributes of graph elements of computer-aided design (CAD) files

Country Status (1)

Country Link
CN (1) CN102054282A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222148A (en) * 2011-06-30 2011-10-19 北京数码大方科技有限公司 Method and device for automatically generating detailed statement of three-dimensional assembly drawing
CN102799720A (en) * 2012-07-03 2012-11-28 武汉天喻软件有限责任公司 Computer-aided design (CAD) graph and image mixed editing system
CN102982213A (en) * 2012-12-06 2013-03-20 北京数码大方科技股份有限公司 Collaborative establishment method and device of CAD (Computer Aided Design) model
CN103366031A (en) * 2012-04-09 2013-10-23 鸿富锦精密工业(深圳)有限公司 System and method for integrating CAD objects and tree objects
CN108688321A (en) * 2017-04-11 2018-10-23 细美事有限公司 Utilize the printing process of the printing equipment with ink jet head unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240049A1 (en) * 2006-04-10 2007-10-11 Rogerson Michael C "for-each" label components in cad drawings
US20070288842A1 (en) * 2002-03-01 2007-12-13 Averitt John W Cad-Interfaced, Automated System for Assisting the Architectural Process
CN101571881A (en) * 2008-04-30 2009-11-04 北京数码大方科技有限公司 Method and device for processing graphic elements in situ in graphics processing software
CN101593223A (en) * 2008-05-28 2009-12-02 北京数码大方科技有限公司 The gallery management method that is used for CAD

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288842A1 (en) * 2002-03-01 2007-12-13 Averitt John W Cad-Interfaced, Automated System for Assisting the Architectural Process
US20070240049A1 (en) * 2006-04-10 2007-10-11 Rogerson Michael C "for-each" label components in cad drawings
CN101571881A (en) * 2008-04-30 2009-11-04 北京数码大方科技有限公司 Method and device for processing graphic elements in situ in graphics processing software
CN101593223A (en) * 2008-05-28 2009-12-02 北京数码大方科技有限公司 The gallery management method that is used for CAD

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《AutoCAD 2010 用户手册》 20090228 Autodesk Inc. AutoCAD 2010 用户手册 全文 1-10 , 1 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222148A (en) * 2011-06-30 2011-10-19 北京数码大方科技有限公司 Method and device for automatically generating detailed statement of three-dimensional assembly drawing
CN103366031A (en) * 2012-04-09 2013-10-23 鸿富锦精密工业(深圳)有限公司 System and method for integrating CAD objects and tree objects
CN102799720A (en) * 2012-07-03 2012-11-28 武汉天喻软件有限责任公司 Computer-aided design (CAD) graph and image mixed editing system
CN102799720B (en) * 2012-07-03 2014-10-29 武汉天喻软件股份有限公司 Computer-aided design (CAD) graph and image mixed editing system
CN102982213A (en) * 2012-12-06 2013-03-20 北京数码大方科技股份有限公司 Collaborative establishment method and device of CAD (Computer Aided Design) model
CN102982213B (en) * 2012-12-06 2016-02-03 北京数码大方科技股份有限公司 The collaborative method for building up of cad model and device
CN108688321A (en) * 2017-04-11 2018-10-23 细美事有限公司 Utilize the printing process of the printing equipment with ink jet head unit

Similar Documents

Publication Publication Date Title
CN107818162B (en) Bury a processing method, device, computer equipment and storage medium
CN106528129B (en) A kind of Web application interface generation system and method
US20110167336A1 (en) Gesture-based web site design
US8798775B2 (en) Binding graphic elements to controller data
CN102054282A (en) Method and device for changing attributes of graph elements of computer-aided design (CAD) files
US8468123B2 (en) Lifecycle marketing object oriented system and method
CN107861655A (en) Control matching process, device, computer equipment and storage medium
CN104462312A (en) Web page displaying method and browser client side
CN106250116B (en) A kind of software generic skeleton code generation method and system
CN105955888A (en) Page debugging and previewing method and system
CN107368550A (en) Information acquisition method, device, medium, electronic equipment, server and system
CN109523610A (en) Generation method, device and the storage medium of poster
CN105824965A (en) Data source finding method based on dynamic crawler technology
CN109344468A (en) CAD diagram paper introduction method, system and computer readable storage medium
CN105867930A (en) Display method and device for function calling relation and terminal
CN104391965B (en) The graphic software platform method of intelligent substation ICD void terminals
CN104572832A (en) Requirement meta model construction method and device
CN107562763A (en) The display methods and device of data variation
CN101847166A (en) Nuclear power control strategy diagram forming platform system and method
CN107566875A (en) A kind of UI flexible configurations on Intelligent set top box, the method for dynamic renewal
CN106250023A (en) The webpage of sing on web GL is set up and operational approach
US20170220704A1 (en) Object display system for relationship graph
CN103593118A (en) Irregular figure bookmark adding method and system based on Android platform reader
CN104462676A (en) Method and CAD system for judging part design change based on CAD platform
CN104714720B (en) To realize the method and client of itself scanning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Applicant after: Beijing CAXA Technology Co., Ltd.

Address before: 100080, Room 802, satellite building, No. 63, Zhichun Road, Beijing, Haidian District

Applicant before: Beijing Digital Dafang Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIJING DIGITAL DAFANG TECHNOLOGY CO., LTD. TO: CAXA TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110511