Method and system for checking reference change of CAD drawing under editable environment, computer readable storage medium and computer terminal

文档序号:1937891 发布日期:2021-12-07 浏览:27次 中文

阅读说明:本技术 Cad图纸在可编辑环境下查看引用变化的方法、系统、计算机可读存储介质及计算机终端 (Method and system for checking reference change of CAD drawing under editable environment, computer readable storage medium and computer terminal ) 是由 席辉 王伟 邓涛 袁传杰 梁江 陆翔 于 2019-07-15 设计创作,主要内容包括:本发明涉及一种CAD图纸在可编辑环境下查看引用变化的方法,其特征在于,包括以下步骤:S101获取第一文件和第二文件;S102所述第一文件引用第二文件,将所述第二文件上的第一元素叠加到所述第一文件中;S103获取第三文件;S104获取所述第三文件对比所述第二文件的第一变化元素;并且S105将所述第一变化元素也叠加到所述第一文件中。本发明让CAD绘图用户在可以继续编辑当前CAD图纸的情况下,查看被引用图纸的更新情况,从而解决了现有CAD系统中需要在当前CAD图纸之外,显示、查看被引用图纸变化后,再回到当前CAD图纸继续编辑的技术问题,提高了CAD协同设计的便利性和效率。(The invention relates to a method for checking reference change of a CAD drawing under an editable environment, which is characterized by comprising the following steps: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file. The invention enables the CAD drawing user to check the updating condition of the quoted drawing under the condition that the current CAD drawing can be continuously edited, thereby solving the technical problem that the quoted drawing needs to be displayed and checked outside the current CAD drawing in the existing CAD system, and then returns to the current CAD drawing to be continuously edited, and improving the convenience and the efficiency of the CAD collaborative design.)

1. A method for viewing reference changes of a CAD drawing in an editable environment is characterized by comprising the following steps:

s101, acquiring a first file and a second file;

s102, the first file refers to a second file, and a first element on the second file is superposed in the first file;

s103, acquiring a third file;

s104, acquiring a first change element of the third file compared with the second file; and is

S105, overlaying the first variation element into the first file;

on the drawing interface of the first file,

1) displaying the superposed first element in a first display mode; and is

2) Displaying the superposed first variation elements in a second display mode; alternatively, the first and second electrodes may be,

on the drawing interface of the first file,

1) displaying elements common to the second file and the third file in a first pattern;

2) displaying elements that are only present in the second file in a second style; and is

3) Displaying elements that are only present in the third file in a third style.

2. The method for viewing a change in a reference in a CAD drawing in an editable environment according to claim 1, further comprising: editing the first file, and drawing a second element on the first file; alternatively, the first and second electrodes may be,

the first change element is based on delta data of the third file compared to the second file; alternatively, the first and second electrodes may be,

the second file and the third file are different versions of the same CAD drawing.

3. The method for viewing a change in a reference in a CAD drawing in an editable environment according to claim 1, further comprising:

s106, acquiring a fourth file;

s107, acquiring a second variation element of the fourth file compared with the third file;

s108 superimposes the second variation element into the first file.

4. The method for viewing a change in a reference on a CAD drawing in an editable environment according to claim 3, wherein the second change element superimposed is displayed in a third display manner on the first document.

5. The method for viewing a reference change in an editable environment according to claim 1 or 3, wherein the first change element comprises one or more of an add element, a delete element and a modify element.

6. A system for viewing citation changes on a CAD drawing in an editable environment is characterized by comprising,

the system comprises a file acquisition module, an element acquisition module, a copying and overlaying module and an updating monitoring module;

the file acquisition module is configured to acquire a first file and a second file;

the element acquisition module is connected with the file acquisition module and is configured to acquire the first element on the second file;

the copy overlay module is connected with the element acquisition module and configured to overlay the first element into the first file;

the update monitoring module is connected with the file acquisition module and is configured to prompt the file acquisition module to acquire a third file, and compare the second file with the third file to find a first change element;

the element acquisition module is connected with the updating monitoring module, acquires the first change element, and superimposes the first change element into the first file through the copying and superimposing module;

the system further comprises:

the display control module displays the superposed first element on a drawing interface of the first file in a first display mode; displaying the superposed first variation elements in a second display mode; alternatively, the first and second electrodes may be,

the display control module is arranged on a drawing interface of the first file,

1) displaying elements common to the second file and the third file in a first pattern;

2) displaying elements that are only present in the second file in a second style; and is

3) Displaying elements that are only present in the third file in a third style.

7. The system for viewing a change in a reference in a CAD drawing in an editable environment according to claim 6, further comprising: the file editing module is used for editing the first file and drawing a second element on the first file; alternatively, the first and second electrodes may be,

the first change element is based on delta data of the third file compared to the second file; alternatively, the first and second electrodes may be,

the second file and the third file are different versions of the same CAD drawing.

8. The system for viewing CAD drawings and reference changes in an editable environment according to claim 6, wherein the file retrieving module is configured to retrieve a fourth file; the update monitoring module is configured to compare the third file and the fourth file, find a second changed element, and overlay the second changed element into the first file through the copy overlay module.

9. The system for viewing a change in a reference in an editable environment on a CAD drawing of claim 8, wherein the display control module displays the second changed element overlaid in a third display manner on the first document.

10. The system for viewing reference changes in a CAD drawing in an editable environment according to claim 6 or 8, wherein the first change element includes one or more of an add element, a delete element, and a modify element.

11. A computer-readable storage medium of a CAD drawing for viewing reference changes in an editable environment, wherein the computer-readable storage medium comprises a set of instructions that, when executed, cause at least one processor to perform operations comprising:

s101 acquires a first file and a second file,

s102, the first file refers to a second file, and a first element on the second file is superposed in the first file;

s103, acquiring a third file;

s104, acquiring a first change element of the third file compared with the second file; and is

S105, overlaying the first variation element into the first file;

on the drawing interface of the first file,

3) displaying the superposed first element in a first display mode; and is

4) Displaying the superposed first variation elements in a second display mode; alternatively, the first and second electrodes may be,

on the drawing interface of the first file,

1) displaying elements common to the second file and the third file in a first pattern;

2) displaying elements that are only present in the second file in a second style; and is

3) Displaying elements that are only present in the third file in a third style.

12. A computer terminal for viewing a change in a reference in a CAD drawing in an editable environment, comprising at least one processor, and a computer-readable storage medium coupled to the processor, wherein the computer-readable storage medium comprises a set of instructions which, when executed by the at least one processor, cause the at least one processor to perform operations comprising:

s101 acquires a first file and a second file,

s102, the first file refers to a second file, and a first element on the second file is superposed in the first file;

s103, acquiring a third file;

s104, acquiring a first change element of the third file compared with the second file; and is

S105, overlaying the first variation element into the first file;

on the drawing interface of the first file,

5) displaying the superposed first element in a first display mode; and is

6) Displaying the superposed first variation elements in a second display mode; or, on the drawing interface of the first file,

1) displaying elements common to the second file and the third file in a first pattern;

2) displaying elements that are only present in the second file in a second style; and is

3) Displaying elements that are only present in the third file in a third style.

Technical Field

The present invention relates to Computer Aided Design (CAD), and more particularly, to a method, a system, a Computer readable storage medium, and a Computer terminal for viewing reference changes in a CAD drawing under an editable environment.

Background

Multiple workers cooperate to complete a project, the projects are not completely independent, reference relations exist, the work of the workers can be carried out on the basis of the work results of other people, and meanwhile reference is provided for the work of other people. And a meaningful design result cannot be formed once, and is gradually improved after being modified for many times. The above situation may lead to an important step in the collaborative work, namely, updating the modification (i.e., the reference document or the reference document) of the referenced CAD drawings of other people to synchronize the latest results, thereby ensuring that the subsequent design work is free from deviation. However, if the content of the work of the user is affected, the corresponding modification needs to be accurately located, and the work of the user is modified to adapt to the current state, which takes much effort and time.

Although the conventional CAD drawing platform is provided with a drawing comparison tool at present, a user is required to store new and old CAD drawings, the comparison tool is used for loading files of two versions, and then the difference of the two versions of CAD drawings is displayed in a drawing area. Such a drawing comparison tool has the following technical problems. In the process of performing collaborative drawing on the existing CAD drawing platform, referring to CAD drawings of other people, an External Reference (XREF for short) mode is used, for example, A refers to B, B is modified and stored into a new version B ', and after A updates Reference B, the content of the latest version B is directly seen, namely B', the old version B is not displayed any more; thus, if A wants to see which modifications have been made from B to B', it can only save an old version of the B file for comparison by itself each time it is prompted to update. The process of comparison is to compare old version B with new version B' using a comparison tool (e.g. the "DWG compare" tool provided in AUTOCAD), but this comparison is done outside the CAD drawings of a itself: for example, a new pattern is formed in AUTOCAD, which contains the comparison result, and the name of the comparison pattern is the combination of the names of the comparison pattern files, namely, Compare _ filename1 and filename2. dwg. Therefore, the CAD drawing content of a itself cannot be seen at this time. Even if the modification of B influences the design of A, A can only record the modification by itself and then open the CAD drawing of A to correspondingly modify.

According to the traditional method for checking the modification of the reference file by comparing the reference file, when the content of the referenced file is updated, the modified and updated content is difficult to quickly search and locate, each version of the referenced file needs to be maintained by self, and when the change of an external reference file is checked, the content of the current CAD drawing of the user cannot be seen, so that the efficient development of cooperative work is not facilitated.

Disclosure of Invention

The invention aims to provide a novel method for editing and checking changes in a CAD system, and aims to overcome or relieve the technical problem that the editing and checking changes cannot be performed simultaneously in the existing CAD system to a certain extent.

In order to achieve the purpose, the invention discloses a method for checking reference change of a CAD drawing under an editable environment, which is characterized by comprising the following steps of: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

Further, displaying the superposed first element on the first file in a first display mode; and displaying the superimposed first variation element in a second display manner.

Further, on the first file, 1) displaying elements common to the second file and the third file in a first pattern; 2) displaying elements that are only present in the second file in a second style; and 3) displaying elements that are present only in the third file in a third style.

Further, the present invention also includes: and editing the first file, and drawing a second element on the first file.

Further, the present invention also includes: s106, acquiring a fourth file; s107, acquiring a second variation element of the fourth file compared with the third file; s108 superimposes the second variation element into the first file.

Further, the second variation element superimposed is displayed in a third display mode on the first file.

Further, the first variation element includes one or more of an addition element, a deletion element, and a modification element.

Further, the first change element is based on delta data of the third file compared to the second file.

Further, the second file and the third file are different versions of the same CAD drawing.

Further, the invention also includes storing the first file, the second file, and the third file.

In order to overcome or alleviate the technical problem that the editing and viewing of changes can not be performed simultaneously in the existing CAD system, the invention also discloses a system 500 for viewing reference changes of CAD drawings in an editable environment, which is characterized by comprising: a file acquisition module 501, an element acquisition module 502, a copy and stack module 504 and an update monitoring module 507; the file obtaining module 501 is configured to obtain a first file and a second file; the element obtaining module 502 is connected to the file obtaining module 501, and is configured to obtain a first element on the second file; the copy overlay module 504 is connected to the element obtaining module 502, and is configured to overlay the first element into the first file; the update monitoring module 507 is connected to the file obtaining module 501, and is configured to prompt the file obtaining module 501 to obtain a third file, and compare the second file with the third file to find a first change element; the element obtaining module 501 is connected to the update monitoring module 507, obtains the first change element, and superimposes the first change element in the first file through the copy and superimpose module 504.

Further, the present invention further includes a display control module 508, which displays the superimposed first element in a first display manner; and displaying the superimposed first variation element in a second display manner.

Further, the present invention also includes a display control module 508, the display control module being on the first file, 1) displaying elements common to the second file and the third file in a first pattern; 2) displaying elements that are only present in the second file in a second style; and 3) displaying elements that are present only in the third file in a third style.

Further, the present invention further includes a file editing module 509, configured to edit the first file and draw the second element on the first file.

Further, the file obtaining module 501 is configured to obtain a fourth file; the update monitoring module 507 is configured to compare the third file and the fourth file, find a second changed element, and overlay the second changed element into the first file through the copy overlay module 504.

Further, on the first file, the display control module 508 displays the superimposed second variation element in a third display manner.

Further, the first variation element includes one or more of an addition element, a deletion element, and a modification element.

Further, the first change element is based on delta data of the third file compared to the second file.

Further, the second file and the third file are different versions of the same CAD drawing.

Further, the present invention further includes a file storage module configured to store the first file, the second file, and the third file.

In order to overcome or alleviate the technical problem that the editing and the viewing of the change cannot be performed simultaneously in the existing CAD system, the invention also discloses a computer-readable storage medium for viewing the reference change of the CAD drawing in an editable environment, which is characterized in that the computer-readable storage medium comprises a set of instructions which, when executed, cause at least one processor to execute the following operations: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

In order to overcome or alleviate the technical problem that the editing and the viewing of the change cannot be performed simultaneously in the existing CAD system, the invention also discloses a computer terminal for viewing the reference change of the CAD drawing in an editable environment, which is characterized by comprising at least one processor and a computer readable storage medium coupled to the processor, wherein the computer readable storage medium comprises a set of instructions which, when executed by the at least one processor, cause the at least one processor to execute the following operations: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale. It is obvious that the drawings in the following description are some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive exercise.

FIG. 1 is a flowchart of an embodiment of a method for viewing reference changes in a CAD graph in an editable drawing environment;

FIG. 2 is a schematic diagram of a CAD graph drawn by B in the embodiment of the present invention;

FIG. 3 is a schematic diagram of a CAD graph drawn by reference A and B in an embodiment of the present invention;

FIG. 4 is a schematic diagram of a CAD graph after modification B in the embodiment of the present invention;

FIG. 5 is an interface diagram of the modification graph of the viewing edit B in the embodiment of the invention;

FIG. 6 is a schematic diagram of CAD graphic rendering with reference to B after modification in A in the embodiment of the present invention;

FIG. 7a is a flowchart of an embodiment of a method for viewing reference changes in a CAD graph in an editable drawing environment in accordance with the invention;

FIG. 7b is a flowchart of an embodiment of a method for viewing reference changes in a CAD graph in an editable drawing environment.

FIG. 8 is a schematic diagram of a system for viewing reference changes in a CAD graph in an editable drawing environment according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Herein, suffixes such as "module", "part", or "unit" used to denote elements are used only for facilitating the description of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.

The term is defined as:

"entity" (entity): in this context, an entity refers to graphical data on a CAD file, displayed on a CAD drawing interface. An entity has attributes, i.e., data values that control entity or element specific visual characteristics (e.g., visibility, color, and line style). In various embodiments, entities may also be referred to as "pixels," primitives.

In this context, an object refers to information on a CAD file that is not displayed on a CAD drawing interface, such as layers, text styles, annotation styles, and the like. Herein, "style" refers to a named set of attributes used to classify and define a particular geometric and textual element (e.g., a line style or a text style).

An "element": in this context, an element refers to all possible information on a CAD file, i.e., including "entities" and "objects," and may also be block, group, unit definitions based on "entities" and/or "objects.

A "file": in this context, a file refers to any type of file that can be run in a CAD system for drawing, editing, modifying, storing, viewing a CAD drawing. Common CAD file formats include, but are not limited to, DWG, DXF, DWT, DWF, DWL, DWS, DWX, MNU, MNC, MNL, MNS, CUI, CUIX, SHX, PAT, LIN, CTB, STB, PLT, PC3, and the like.

"synergistic side": in this context, collaborators refer to users who participate together in a drawing project and collaborate with each other. The specialties may be the same between collaborators (e.g., multiple construction professional engineers drawing together) or different (e.g., construction engineers, plumbing engineers, electrical engineers, heating and ventilation engineers drawing together), with the collaborators referring to drawings drawn with respect to each other.

Example one

As shown in fig. 1, a method for viewing reference changes of a CAD graph in an environment of editable drawings includes the following steps:

for convenience of description, the current drawing personnel is set as A, and the quoted party is set as B;

b, drawing a drawing of the user (S01), submitting the drawing to a server (S02), and recording a version B1 by the server (S03);

drawing the drawing of the user A, quoting the work result of the user B, copying and overlaying the content of the user B on the drawing of the user A in the quoting process, and referring to the content of the user B when the user A draws the drawing of the user A (S04);

b, modifying the drawing of the user, and submitting the drawing to the server again (S05), wherein the server records a second version B2 (S06);

updating the referenced drawing by A, wherein the latest state of the B drawing is seen by A (S07);

viewing the change, the system compares the first version with the second version (namely, B1 compares with B2), and analyzes and obtains incremental data of the two versions, and the incremental and truncated objects are overlapped in the drawing interface of the A picture in different colors (S08);

a can see and modify its own contents while viewing these differences (S09).

Example two

An application scenario of the invention is simulated, and two CAD users a and B work cooperatively. A plots a.dwx, B plots b.dwx, A references/refers to the work product of B, self plots an outer frame to enclose the content of B as shown in FIG. 3, and b.dwx is currently in the state shown in FIG. 2. Where both the circle 202 and the square wire frame 204 are b.dwx content, a draws a bounding wire frame 302 around it. It should be noted that at this time a cannot modify the content of the referenced b.dwx, i.e., the circle 202 and the box 204 in the box 302 cannot be modified, and belong to the referenced reference file content-for example, a downstream plumbing engineer can only draw his/her own plumbing drawing with reference to the construction CAD drawing drawn by an upstream construction engineer, and usually has no authority to modify and adjust the construction engineer's drawing.

At this point B modifies the b.dwx file at its CAD operator, newly draws a line 406, and moves the position of the circle 202 (the circle at the new position is labeled 202a), and then B commits the modification, which is stored at the server, at which time the b.dwx file is as shown in fig. 4. At this time, the system prompts a that the drawing needs to be updated (for example, a receives a piece of prompt information at the CAD operation terminal of itself), and after the updating, a wants to see what contents are modified by the updating B, which will not affect the drawing which the system itself is drawing. In the embodiment of the invention, at this time, a does not need to search for the b.dwx of the previous version, when a requires to check the change by using a graphical interface, the system compares the incremental data of the new version and the old version, and then superimposes the updated and updated content onto the current drawing area in different colors (or in other different forms, for example, by using a dotted line or bold line), and the a can continuously edit and modify the drawing content while checking the change of the b.dwx.

The system display pair is such as shown in fig. 5, in an actual operating system, the newly added content (e.g., the newly added line 406) and the modified content (e.g., the circle 202a of the moved position) can be marked with different colors, and a list of all the modified content (e.g., the list on the left side) is given by using a specific interface, so that the graphic position can be accurately positioned by clicking one item in the list, and the graphic position can be conveniently viewed when the variation is large. In the process of viewing the changes, the wireframe 302 drawn by A itself is displayed on the CAD drawing currently drawn by A itself completely and can be directly modified, so that the current drawing is provided in an editable environment, and the changes of the drawings of other people to be referred to can be viewed. In this simulated scene, a draws up the self-drawn wire frame 302, thereby framing the newly added wire 406 and the moved circle 202a, the modification effect being as shown in fig. 6.

EXAMPLE III

The invention discloses a method for checking reference change of a CAD drawing under an editable environment, which is characterized by comprising the following steps (figure 7 a):

s101, acquiring a first file and a second file;

s102, the first file refers to a second file, and a first element on the second file is superposed in the first file;

s103, acquiring a third file;

s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

In some embodiments, the first element overlaid is displayed on the first file in a first display mode; and displaying the superimposed first variation element in a second display manner. According to different application scenarios, the first display mode and the second display mode may adopt different colors, different line patterns (e.g., virtual and real, thick and thin), and different highlighting modes (e.g., the variable elements may be made semi-transparent or in a watermark mode).

In some embodiments, on the first file, elements common to the second file and the third file are displayed in a first pattern; displaying elements that are only present in the second file in a second style; and displaying only elements present in the third file in a third style.

Note that different terms are used herein for the display modes, such as "X-th display mode" and "X-th style display," which is mainly for the convenience of distinguishing different display systems in different embodiments. In the embodiment of the present invention, the selection of the display mode is mainly for the convenience of the user to clearly view the change of the content of the cited file, and any display mode capable of achieving the purpose in the CAD system can be applied to the present invention and should be within the protection scope of the present invention.

In some embodiments, the invention further comprises: and editing the first file, and drawing a second element on the first file.

In some embodiments, the invention further comprises the following steps (fig. 7 b): s106, acquiring a fourth file; s107, acquiring a second variation element of the fourth file compared with the third file; s108 superimposes the second variation element into the first file.

In some embodiments, the present invention displays the second variation element superimposed on the first document in a third display manner.

In some embodiments, the first change elements include one or more of an add element (e.g., adding a new CAD entity line to the referenced drawing), a delete element (e.g., deleting a CAD entity line from the referenced drawing), and a modify element (e.g., moving or lengthening or shortening or angling or drawing an arc a position of a CAD entity line from the referenced CAD drawing).

In some embodiments, the first change element is based on delta data of the third file compared to the second file.

In some embodiments, the second file and the third file are different versions of the same CAD drawing.

In some embodiments, the present invention further comprises storing the first file, the second file, and the third file.

Example four

The invention also discloses a system 500 for checking the reference change of the CAD drawing in an editable environment, which is characterized by comprising a file acquisition module 501, an element acquisition module 502, a copying and overlaying module 504 and an updating monitoring module 507; the file obtaining module 501 is configured to obtain a first file and a second file; the element obtaining module 502 is connected to the file obtaining module 501, and is configured to obtain a first element on the second file; the copy overlay module 504 is connected to the element obtaining module 502, and is configured to overlay the first element into the first file; the update monitoring module 507 is connected to the file obtaining module 501, and is configured to prompt the file obtaining module 501 to obtain a third file, and compare the second file with the third file to find a first change element; the element obtaining module 502 is connected to the update monitoring module 507, obtains the first change element, and superimposes the first change element in the first file through the copy and superimpose module 504.

In some embodiments, the various modules described above may be implemented by computer software and hardware in the user's local computer terminal; or part of the module is in a local computer, and part of the module is in a remote server; or all the servers can be located at a remote server, and the running results can be displayed on a local display through a network.

Compared with the traditional CAD system, the method obviously superimposes the change elements and the updated content on the current CAD drawing being edited, so that the current CAD user can see the change while not closing or removing the current CAD drawing, the current CAD drawing can be continuously edited, the collaborative design is more convenient, and the working efficiency is higher.

In some embodiments, the file obtaining module 501 may obtain a file from a local computer terminal (i.e., a file that is originally stored in its local computer and can be used in a CAD system), may also be a newly created CAD file in local CAD drawing software, and may also be a CAD file obtained from a server remote end or a cloud end through network transmission. When the CAD file is obtained from the server remotely, all related files of a large CAD drawing item can be transmitted together in the form of a file package, or a locally existing CAD drawing base can be formed into a required CAD file by overlapping and absorbing incremental data.

In some embodiments, the element acquisition module 502 operates by analyzing, parsing attributes of elements (e.g., entities, objects, blocks, groups, etc.) to obtain elements that meet the requirements, or in some embodiment systems, screening for finding CAD elements with certain marks/identifications/tags to obtain the desired CAD elements.

In some embodiments, the duplication overlay is to duplicate the required elements and then add them to the CAD drawing currently being rendered. However, these overlaid drop elements are merely used as references for the current CAD drawing and cannot be modified by the current CAD user. For example, when an electrical engineer or a heating and ventilation engineer refers to a drawing of a building CAD, even if a suggestion is made on a wall arrangement of the drawing provided by the building engineer, the suggestion is fed back to the building engineer by means of, for example, a collaboration system add comment (comments) and the like, and cannot be modified by the building engineer, otherwise confusion may occur in collaboration design projects. In different application scenarios, the present invention can be implemented in different ways, for example, in some embodiments, the referenced content is only displayed on different layers, and can be modified, and when the CAD drawings are stored by the downstream electrical engineer and the warm-up engineer, only the content of the electrical and warm-up respectively is saved, and the content of the building is not saved (i.e., only the CAD elements of the electrical and warm-up respectively are on the CAD drawings of the electrical and warm-up). Of course, it is also possible to store the referenced contents such as buildings together if necessary. In other embodiments, the modification rights may be locked from modification by setting an identification/flag/tag to the referenced content. Of course, in some application scenarios and embodiments, there may be "master designers" or "master design teams" who may be given the authority to modify the referenced content-for example, the master designer may adjust elements of building, plumbing, electrical, and heating together at the end of a project.

In some embodiments, the present invention further includes a display control module 508, configured to display the superimposed first element in a first display manner; and displaying the superimposed first variation element in a second display manner.

In some embodiments, the present invention further comprises a display control module 508 that displays elements common to the second file and the third file in a first pattern on the first file; displaying elements that are only present in the second file in a second style; and displaying only elements present in the third file in a third style.

In some embodiments, the invention further comprises: a file editing module 509, configured to edit the first file, and draw a second element on the first file.

In some embodiments, the file obtaining module 501 is configured to obtain a fourth file; the update monitoring module 507 is configured to compare the third file and the fourth file, find a second changed element, and overlay the second changed element into the first file through the copy overlay module 504.

In some embodiments, the display control module 508 displays the second variation element superimposed on the first file in a third display manner.

In some embodiments, the first variation element includes one or more of an addition element, a deletion element, a modification element.

In some embodiments, the first change element is based on delta data of the third file compared to the second file.

In some embodiments, the second file and the third file are different versions of the same CAD drawing.

In some embodiments, the present invention further comprises a file storage module 510 configured to store the first file, the second file, and the third file. The file storage module 510 may be in a local computer terminal, or in a cloud server.

EXAMPLE five

The invention also discloses a computer-readable storage medium for viewing reference changes in a CAD drawing under an editable environment, which is characterized in that the computer-readable storage medium comprises a set of instructions, and when the instructions are executed, at least one processor is caused to execute the following operations: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

EXAMPLE six

The invention also discloses a computer terminal for viewing the reference change of the CAD drawing in an editable environment, which is characterized by comprising at least one processor and a computer readable storage medium coupled to the processor, wherein the computer readable storage medium comprises a set of instructions, and when the instructions are executed by the at least one processor, the at least one processor is caused to execute the following operations: s101, acquiring a first file and a second file; s102, the first file refers to a second file, and a first element on the second file is superposed in the first file; s103, acquiring a third file; s104, acquiring a first change element of the third file compared with the second file; and S105 superimposes the first variation element also into the first file.

Note that the purpose of the present invention is to view changes in the referenced, referred content, and not to view changes in the CAD drawing currently being edited, that is, a references B, a can see the content of B for reference only when drawing, but cannot modify B, a can only draw what modifies a itself. At this time, if B has been modified, a can use the system and method provided by the present invention to see what changes have been made to the current B with respect to the old B, so as to correspondingly modify a's own drawing content.

Through the above embodiments, it can be seen that the technical problems solved and technical effects achieved by the present invention are as follows: the invention provides a method for checking reference change of a CAD graph in an editable drawing environment, which enables a CAD user to conveniently check and confirm reference and modification contents, displays the modification contents graphically in an editing interface, and visually displays various modifications such as addition, deletion and change.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a computer terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

For example, the application scenario of the present invention may be performed in a local computer (i.e. in local software, PC version), or may be performed completely in the cloud, and only one display is provided locally (i.e. the present invention is applied to network software). In addition, in some embodiments and application scenarios, the display mode of some contents may be the same, for example, the first display mode and the second display mode in the third embodiment are set to be the same, but different from the third display mode (i.e. in this scenario, the first change does not need to be focused).

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种钻井液设计方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类