Method, system, computer-readable storage medium and computer terminal for viewing reference changes of CAD drawings in an editable environment
By obtaining and comparing different versions of CAD files in the CAD system and superimposing changing elements into the current file, the problem of difficulty in editing and viewing reference files at the same time in the existing technology is solved, and more efficient reference file management and editing is achieved in collaborative work.
Patent Information
- Application Number
- CN202111104826.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-16
- Filing Date
- 2019-07-15
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2039-07-15
AI Technical Summary
In collaborative work, it is difficult for existing CAD systems to edit and view changes in reference files at the same time, which makes it difficult to quickly find and locate modified and updated content, affecting the efficiency of collaborative work.
By obtaining the first file and the second file, and superimposing the elements on the second file into the first file, obtaining the changing elements of the third file compared to the second file, and superimposing the changing elements into the first file, the method of viewing reference changes in an editable environment is realized.
It realizes the visual display of the changed content of the referenced file in the editing interface, which facilitates users to edit their own graphic content based on the modified content, saves communication costs and improves work efficiency.
Smart Images

Figure HDA0003271708070000011 
Figure HDA0003271708070000012 
Figure HDA0003271708070000021
Abstract
Description
[0001] Priority application
[0002] This application claims priority to Chinese invention patent application 201810777826.7 “Method for viewing reference changes of CAD graphics in an editable drawing environment” filed on July 16, 2018, which is incorporated by reference in its entirety. Technical Field
[0003] The present invention relates to computer-aided design (CAD), and in particular to a method, system, computer-readable storage medium and computer terminal for viewing reference changes of CAD drawings in an editable environment. Background Art
[0004] When multiple people work together to complete a project, they are not completely independent of each other. There will be reference relationships between them. They will do their own work based on the work results of others, and also provide references for the work of others. And a meaningful design result will not be formed in one go, but will be gradually improved after many modifications. The above situation will lead to an important step in collaborative work, which is to update the modifications of other people's CAD drawings (that is, reference files or reference files) to synchronize the latest results and ensure that the subsequent design work will not deviate. However, after the update, you will often find that a lot of content has been changed. If it affects your own work content, you need to accurately locate the corresponding modifications and modify your work to adapt to the current status, which will take a lot of energy and time.
[0005] Although the current traditional CAD drawing platforms are equipped with drawing comparison tools, users are required to save the old and new versions of CAD drawings, use the comparison tool to load the two versions of files, and then the differences between the two versions of CAD drawings will be displayed in the drawing area. Such drawing comparison tools have the following technical problems. In the process of collaborative drawing on the existing CAD drawing platform, reference to other people's CAD drawings is always made using external references (XREF for short). For example, A refers to B, and B is modified and saved as a new version B'. After A updates the reference to B, he can directly see the content of the latest version of B, that is, B', and the old version of B is no longer displayed; therefore, if A wants to see what changes have been made from B to B', he can only manually save an old version of B file for comparison every time he is prompted to update. The comparison process is to use a comparison tool to compare the old version of B and the new version of file B' (for example, the "DWG Compare" tool provided in AUTOCAD), but this comparison process is performed outside of A's own CAD drawing: for example, a new drawing will be formed in AUTOCAD, which contains the comparison results, and the name of the comparison image is a combination of the comparison drawing file names, that is, Compare_filename1 and filename2.dwg. Therefore, A cannot see the contents of his own CAD drawing at this time. Even if A finds that B's modification affects his own design, he can only write down the modification and then open his own CAD drawing to make the corresponding modification.
[0006] This traditional method of comparing referenced files to view modifications to referenced files makes it difficult to quickly find and locate the modified and updated content when updating the content of the referenced files. Each version of the referenced file needs to be maintained by itself, and when viewing changes in external referenced files, the content of the current CAD drawing cannot be seen, which is not conducive to the efficient development of collaborative work. Summary of the invention
[0007] The purpose of the present invention is to provide a novel method for editing and viewing changes in a CAD system, attempting to overcome or alleviate to a certain extent the technical problem that editing and viewing changes cannot be performed simultaneously in the existing CAD system.
[0008] In order to achieve the above-mentioned purpose, the present invention discloses a method for viewing reference changes of CAD drawings in an editable environment, characterized in that it includes the following steps: S101 obtains a first file and a second file; S102 the first file references the second file, and superimposes the first element on the second file into the first file; S103 obtains a third file; S104 obtains the first change element of the third file compared with the second file; and S105 superimposes the first change element into the first file.
[0009] Further, on the first file, the superimposed first element is displayed in a first display mode; and the superimposed first changed element is displayed in a second display mode.
[0010] Further, on the first file, 1) elements common to the second file and the third file are displayed in a first style; 2) elements existing only in the second file are displayed in a second style; and 3) elements existing only in the third file are displayed in a third style.
[0011] Furthermore, the present invention also includes: editing the first file, and drawing a second element on the first file.
[0012] Furthermore, the present invention also includes: S106 obtaining a fourth file; S107 obtaining a second change element of the fourth file compared with the third file; S108 superimposing the second change element into the first file.
[0013] Furthermore, the superimposed second change element is displayed on the first file in a third display mode.
[0014] Furthermore, the first change element includes one or more of an added element, a deleted element, and a modified element.
[0015] Furthermore, the first change element is based on incremental data of the third file compared to the second file.
[0016] Furthermore, the second file and the third file are different versions of the same CAD drawing.
[0017] Furthermore, the invention also includes storing the first file, the second file, and the third file.
[0018] In order to overcome or alleviate the technical problem that editing and viewing changes cannot be performed simultaneously in the existing CAD system, the present invention also discloses a system 500 for viewing reference changes of CAD drawings in an editable environment, characterized in that it includes: a file acquisition module 501, an element acquisition module 502, a copy and overlay module 504, and an update monitoring module 507; the file acquisition module 501 is configured to acquire a first file and a second file; the element acquisition module 502 is connected to the file acquisition module 501 and is configured to acquire a first element on the second file; the copy and overlay module 504 is connected to the element acquisition module 502 and is configured to overlay the first element into the first file; the update monitoring module 507 is connected to the file acquisition module 501 and is configured to prompt the file acquisition module 501 to acquire a third file, and compare the second file and the third file to find a first changed element; the element acquisition module 501 is connected to the update monitoring module 507 to acquire the first changed element, and overlay the first changed element into the first file through the copy and overlay module 504.
[0019] Furthermore, the present invention further includes a display control module 508 that displays the superimposed first element in a first display mode; and displays the superimposed first changing element in a second display mode.
[0020] Furthermore, the present invention also includes a display control module 508, which, on the first file, 1) displays the elements common to the second file and the third file in a first style; 2) displays the elements that only exist in the second file in a second style; and 3) displays the elements that only exist in the third file in a third style.
[0021] Furthermore, the present invention also includes a file editing module 509, which is used to edit the first file and draw a second element on the first file.
[0022] Furthermore, the file acquisition module 501 is configured to acquire a fourth file; the update monitoring module 507 is configured to compare the third file and the fourth file, discover a second change element, and overlay the second change element onto the first file through the copy and overlay module 504.
[0023] Furthermore, on the first file, the display control module 508 displays the superimposed second change element in a third display mode.
[0024] Furthermore, the first change element includes one or more of an added element, a deleted element, and a modified element.
[0025] Furthermore, the first change element is based on incremental data of the third file compared to the second file.
[0026] Furthermore, the second file and the third file are different versions of the same CAD drawing.
[0027] Furthermore, the present invention also includes a file storage module, which is configured to store the first file, the second file, and the third file.
[0028] In order to overcome or alleviate the technical problem that editing and viewing changes cannot be performed simultaneously in the existing CAD system, the present invention also discloses a computer-readable storage medium for viewing reference changes of CAD drawings in an editable environment, characterized in that the computer-readable storage medium includes a set of instructions, which, when executed, cause at least one processor to perform operations including the following: S101 obtains a first file and a second file; S102 the first file references the second file, and superimposes the first element on the second file into the first file; S103 obtains a third file; S104 obtains the first change element of the third file compared with the second file; and S105 superimposes the first change element into the first file.
[0029] In order to overcome or alleviate the technical problem that editing and viewing changes cannot be performed simultaneously in the existing CAD system, the present invention also discloses a computer terminal for viewing reference changes of CAD drawings in an editable environment, characterized in that it includes at least one processor and a computer-readable storage medium coupled to the processor, wherein the computer-readable storage medium includes a set of instructions, and when at least one processor executes the instructions, it causes at least one processor to perform the following operations: S101 obtains a first file and a second file; S102 the first file references the second file, and superimposes the first element on the second file into the first file; S103 obtains a third file; S104 obtains the first change element of the third file compared with the second file; and S105 superimposes the first change element into the first file. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale. Obviously, the drawings described below are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without paying creative labor.
[0031] Figure 1 A flow chart of an embodiment of a method for viewing reference changes of a CAD drawing in an editable drawing environment of the present invention;
[0032] Figure 2 A CAD graphic schematic diagram drawn by B in an embodiment of the present invention;
[0033] Figure 3 A is a schematic diagram of a CAD graphic drawn by A with reference to B in an embodiment of the present invention;
[0034] Figure 4 This is a schematic diagram of a CAD graphic after modification by B in an embodiment of the present invention;
[0035] Figure 5 This is an interface diagram of A viewing and editing B modifying a graphic in an embodiment of the present invention;
[0036] Figure 6 A is a schematic diagram of a graphic drawn by A with reference to the modified CAD graphic of B in an embodiment of the present invention;
[0037] Figure 7a A flow chart of an embodiment of a method for viewing reference changes of a CAD drawing in an editable drawing environment of the present invention;
[0038] Figure 7b The present invention is a flow chart of a method for viewing reference changes of CAD graphics in an editable drawing environment.
[0039] Figure 8 The present invention is a schematic diagram of a system embodiment for viewing reference changes of CAD graphics in an editable drawing environment. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Herein, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings by themselves. Therefore, "module", "component" or "unit" can be used mixedly.
[0042] Definition of noun:
[0043] "Entity": In this article, an entity refers to the graphic data on a CAD file that is displayed on the CAD drawing interface. An entity has attributes, which are data values that control specific visual characteristics of an entity or element (such as visibility, color, and line style). In different embodiments, an entity may also be referred to as a "pixel" or "element".
[0044] "Object": In this article, objects refer to information on CAD files that will not be displayed in the CAD drawing interface, such as layers, text styles, dimension styles, etc. In this article, "style" refers to a named collection of attributes used to classify and define specific geometric and text elements (such as line styles or text styles).
[0045] "Element": In this article, element refers to all possible information on a CAD file, including "entities" and "objects", and can also be blocks, groups, and unit definitions based on "entities" and / or "objects".
[0046] "File": In this article, file refers to various files that can be run in the CAD system and are used to draw, edit, modify, store, and view CAD drawings. 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, etc.
[0047] "Collaborators": In this article, collaborators refer to users who participate in a drawing project and work together. The collaborators may have the same expertise (for example, multiple engineers from the architectural profession drawing together) or different expertise (for example, architectural engineers, water supply and drainage engineers, electrical engineers, and HVAC engineers drawing together). The collaborators refer to each other's drawings.
[0048] Embodiment 1
[0049] like Figure 1 As shown, the method for viewing reference changes of CAD graphics in an editable drawing environment includes the following steps:
[0050] For the convenience of description, the current draftsman is set as A and the referenced party is set as B;
[0051] B draws his own drawing (S01), submits the drawing to the server (S02), and the server records a version B1 (S03);
[0052] A draws his own drawings and cites B's work. The citing process will copy B's content and overlay it on A's drawings. A can refer to B's content when drawing his own drawings (S04);
[0053] B modifies his own drawing and submits it to the server again (S05). The server records the second version B2 (S06).
[0054] A updates the referenced drawing, and A will see the latest status of B's drawing (S07);
[0055] A checks the changes. The system compares the first and second versions (i.e. B1 vs. B2), analyzes and obtains the incremental data of the two versions. These added, deleted, and modified objects are superimposed in different colors on the drawing interface of A (S08);
[0056] A can see and modify his own content while viewing these differences (S09).
[0057] Embodiment 2
[0058] Simulate an application scenario of the present invention, two CAD users A and B work together. A draws file a.dwx, B draws file b.dwx, A quotes / refers to B's work results, and draws an outer frame to surround the content of B. Figure 3 As shown, the current status of b.dwx is as follows Figure 2 As shown. The circle 202 and the square wireframe 204 are the contents of b.dwx, and A draws a surrounding wireframe 302 around them. It should be noted that A cannot modify the contents of the referenced b.dwx at this time, that is, the circle 202 and the square frame 204 in the frame 302 cannot be modified, and they belong to the referenced reference file content - for example, the downstream water supply and drainage engineer can only draw his own water supply and drainage drawings by referring to the architectural CAD drawings drawn by the upstream construction engineer, and usually has no authority to modify and adjust the drawings of the construction engineer.
[0059] At this time, B modifies the b.dwx file in his CAD operation terminal, draws a new line 406, and moves the position of the circle 202 (the circle at the new position is marked as 202a). Then B submits the modification and stores it on the server. At this time, the b.dwx file is as follows: Figure 4 As shown. At this time, A is prompted by the system that an update is required (for example, A receives a prompt message on his CAD operation terminal). After the update, A hopes to check what content B has modified in this update, and whether it will have any impact on the drawing that A is drawing. In an embodiment of the present invention, A does not need to find the previous version of b.dwx at this time. When A uses a graphical interface to request to view the changes, the system will compare the incremental data of the new and old versions, and then superimpose the added, deleted, and modified content in different colors (or other different forms, for example, using dotted lines or bold) on the current drawing area. A can continue to edit and modify the content of his own drawing while viewing the changes in b.dwx.
[0060] The system displays the comparison Figure 5 As shown, in an actual operating system, different colors can be used to mark newly added content (for example, newly added line 406) and modified content (for example, circle 202a that has been moved), and a specific interface can be used to provide a list of all modified content (for example, the list on the left). Clicking on an item in the list can accurately locate the graphic position, which is convenient for viewing when the amount of change is large. In the process of viewing these changes, the wireframe 302 drawn by A himself is perfectly displayed on the CAD drawing that A is currently drawing, and can be modified directly, thereby providing the current drawing in an editable environment, and at the same time, changes in the drawings of others that are referenced can be viewed. In this simulated scenario, A enlarges the wireframe 302 drawn by himself to frame the newly added line 406 and the moved circle 202a, and the modification effect is as follows: Figure 6 shown.
[0061] Embodiment 3
[0062] The present invention discloses a method for checking reference changes of CAD drawings in an editable environment, which is characterized by comprising the following steps: Figure 7a ):
[0063] S101 obtains a first file and a second file;
[0064] S102 The first file references the second file, and superimposes the first element in the second file into the first file;
[0065] S103 obtains a third file;
[0066] S104 obtains a first change element between the third file and the second file; and S105 superimposes the first change element into the first file.
[0067] In some embodiments, the first element superimposed on the first file is displayed in a first display mode; and the first changing element superimposed on the first file is displayed in a second display mode. According to different application scenarios, the first display and the second display modes can use different colors, different line styles (for example, virtual and real, thick and thin), and different highlighting methods (for example, the changing element can be made semi-transparent or in watermark mode).
[0068] In some embodiments, on the first file, elements common to the second file and the third file are displayed in a first style; elements existing only in the second file are displayed in a second style; and elements existing only in the third file are displayed in a third style.
[0069] Please note that different terms are used for display modes, such as "Xth display mode" and "Xth style display", which is mainly to facilitate the distinction of different display systems in different embodiments. In the embodiments of the present invention, the selection of display modes is mainly to facilitate users to clearly view the changes in the content of the referenced files. As long as the display mode can achieve this purpose in the CAD system, it can be applied to the present invention and should also be within the protection scope of the present invention.
[0070] In some embodiments, the present invention further includes: editing the first file, and drawing a second element on the first file.
[0071] In some embodiments, the present invention further comprises the following steps: Figure 7b ): S106 obtains a fourth file; S107 obtains a second change element of the fourth file compared with the third file; S108 superimposes the second change element into the first file.
[0072] In some embodiments, the present invention displays the second changing element superimposed on the first file in a third display mode.
[0073] In some embodiments, the first change element includes one or more of adding elements (for example, adding a new CAD entity line on the referenced drawing), deleting elements (for example, deleting a CAD entity line on the referenced drawing), and modifying elements (for example, moving, lengthening, shortening, rotating, or drawing a CAD entity line on the referenced CAD drawing).
[0074] In some embodiments, the first change element is based on incremental data of the third file compared to the second file.
[0075] In some embodiments, the second file and the third file are different versions of the same CAD drawing.
[0076] In some embodiments, the present invention further includes storing the first file, the second file, and the third file.
[0077] Embodiment 4
[0078] The present invention also discloses a system 500 for viewing reference changes in a CAD drawing in an editable environment, characterized in that it includes a file acquisition module 501, an element acquisition module 502, a copy and overlay module 504, and an update monitoring module 507; the file acquisition module 501 is configured to acquire a first file and a second file; the element acquisition module 502 is connected to the file acquisition module 501, and is configured to acquire a first element on the second file; the copy and overlay module 504 is connected to the element acquisition module 502, and is configured to overlay the first element into the first file; the update monitoring module 507 is connected to the file acquisition module 501, and is configured to prompt the file acquisition module 501 to acquire a third file, and compare the second file with the third file to find a first changed element; the element acquisition module 502 is connected to the update monitoring module 507, acquires the first changed element, and overlays the first changed element into the first file through the copy and overlay module 504.
[0079] In some embodiments, the various modules described above may be implemented by computer hardware and software in the user's local computer terminal; or some modules may be in the local computer and some in a remote server; or all modules may be located in a remote server and their operating results may be displayed on a local display via the network.
[0080] Compared with traditional CAD systems, it is obvious that the present invention superimposes the changed elements and updated content into the CAD drawing currently being edited, allowing the current CAD user to see the changes without closing or moving the current CAD drawing, so that the current CAD user can continue to edit the current CAD drawing, making collaborative design more convenient and working more efficient.
[0081] In some embodiments, the file acquisition module 501 may be acquired from a local computer terminal (i.e., files that can be used in the CAD system and are originally stored in the local computer of the drawing engineer), or may be a newly created CAD file in the local CAD drawing software, or may be a CAD file acquired through network transmission from a remote server or the cloud. When acquiring a CAD file from a remote server, all relevant files of a large CAD drawing project may be transmitted together in the form of a file package, or the CAD drawings that already exist locally may be used as a basis to form the required CAD file by superimposing and absorbing incremental data.
[0082] In some embodiments, the operating mechanism of the element acquisition module 502 is to acquire elements that meet the requirements by analyzing and parsing the properties of elements (e.g., entities, objects, blocks, groups, etc.), or in some embodiment systems, identify and search for certain marks / identifications / tags to acquire the required CAD elements.
[0083] In some embodiments, the copying and superposition is to copy the required elements and then add them to the CAD drawing currently being drawn. However, these copied and superimposed introduced elements are only used as references for the current CAD drawing and cannot be modified by the current CAD user. For example, when electrical engineers and HVAC engineers quote architectural CAD drawings, even if they have suggestions for the wall arrangement of the drawings provided by the architectural engineer, they must also feedback to the architectural engineer through, for example, adding comments to the collaborative system, and cannot modify it by themselves, otherwise confusion may occur in the collaborative design project. 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. When downstream electrical engineers and HVAC engineers store CAD drawings, only the electrical and HVAC contents are saved respectively, and the architectural contents are not saved (i.e., the electrical and HVAC CAD drawings only have electrical and HVAC CAD elements respectively). Of course, if it is necessary to store the referenced content such as architecture together, it is also possible. In other embodiments, the modification permission can be locked by setting an identification / mark / tag for the referenced content so that it cannot be modified. Of course, in some application scenarios and embodiments, there may be a "chief designer" or a "chief design team" who can be given the authority to modify the referenced content - for example, the chief designer can adjust the architectural, water supply and drainage, electrical and HVAC elements at the end of the project.
[0084] In some embodiments, the present invention further includes a display control module 508 that displays the superimposed first element in a first display mode; and displays the superimposed first changing element in a second display mode.
[0085] In some embodiments, the present invention also includes a display control module 508, which displays the elements common to the second file and the third file in the first style on the first file; displays the elements that only exist in the second file in the second style; and displays the elements that only exist in the third file in the third style.
[0086] In some embodiments, the present invention further includes: a file editing module 509, which is used to edit the first file and draw a second element on the first file.
[0087] In some embodiments, the file acquisition module 501 is configured to acquire a fourth file; the update monitoring module 507 is configured to compare the third file and the fourth file, discover a second change element, and overlay the second change element onto the first file through the copy and overlay module 504.
[0088] In some embodiments, the display control module 508 displays the superimposed second change element in a third display mode on the first file.
[0089] In some embodiments, the first changed element includes one or more of an added element, a deleted element, and a modified element.
[0090] In some embodiments, the first change element is based on incremental data of the third file compared to the second file.
[0091] In some embodiments, the second file and the third file are different versions of the same CAD drawing.
[0092] In some embodiments, the present invention further includes a file storage module 510 configured to store the first file, the second file, and the third file. The file storage module 510 can be located in a local computer terminal or in a cloud server.
[0093] Embodiment 5
[0094] The present invention also discloses a computer-readable storage medium for viewing reference changes of CAD drawings in an editable environment, characterized in that the computer-readable storage medium includes a set of instructions, which, when executed, cause at least one processor to perform the following operations: S101 obtains a first file and a second file; S102 the first file references the second file, and superimposes the first element on the second file into the first file; S103 obtains a third file; S104 obtains a first change element of the third file compared with the second file; and S105 superimposes the first change element into the first file.
[0095] Embodiment 6
[0096] The present invention also discloses a computer terminal for viewing reference changes of CAD drawings in an editable environment, characterized in that it includes at least one processor and a computer-readable storage medium coupled to the processor, wherein the computer-readable storage medium includes a set of instructions, and when at least one processor executes the instructions, it causes at least one processor to perform the following operations: S101 obtains a first file and a second file; S102 the first file references the second file, and superimposes the first element on the second file into the first file; S103 obtains a third file; S104 obtains the first change element of the third file compared with the second file; and S105 superimposes the first change element into the first file.
[0097] Please note that the purpose of the present invention is to view changes in the referenced or referenced content, rather than to view changes in the CAD drawing currently being edited. That is, when A references B, A can see the content of B for reference only when drawing, but cannot modify B. A can only draw and modify A's own things. At this time, if B has been modified, A can use the system and method provided by the present invention to view what changes have been made to the current B relative to the old B, and thus modify A's own drawing content accordingly.
[0098] Through the above embodiments, it can be seen that the technical problems solved by the present invention and the technical effects achieved are as follows: the present invention provides a method for viewing reference changes in a CAD graphic in an editable drawing environment, so that CAD users can easily view and confirm the reference modified content, and the modified content is graphically displayed in the editing interface, which very intuitively shows the addition, deletion, and modification of various modifications, which is clear at a glance, and can conveniently edit the graphics content that you are drawing according to the modification of the reference content, which greatly saves the communication cost between CAD collaborative users and improves work efficiency, and allows CAD users to edit the content they are drawing while viewing the modification of the reference content, which is convenient and quick.
[0099] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a computer terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0101] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
[0102] For example, the application scenario of the present invention can be carried out in a local computer (i.e., in local software, PC version), or it can be carried out completely in the cloud, and the local is just a display (i.e., the present invention is applied to network software). In addition, in some embodiments and application scenarios, the display mode of certain content can be the same, for example, the first display mode in Example 3 is set to be the same as the second display mode, but different from the third display mode (i.e., in this scenario, the first change does not need to be paid attention to).
Claims
1. A method for viewing reference changes in a CAD drawing in an editable environment, characterized in that: The following steps are involved: S101 obtains a first file and a second file; S102 The first file references the second file, and superimposes the first element in the second file into the first file; S103 obtains a third file; S104: Obtain a first changed element between the third file and the second file; and S105: superimposing the first change element into the first file; On the drawing interface of the first file, 1) displaying the first superimposed element in a first display mode; and 2) displaying the superimposed first changing element in a second display mode; Among them, the first change element includes one or more of adding elements, deleting elements, and modifying elements, and the adding elements, deleting elements, and modifying elements are superimposed on the drawing interface in different forms; different forms include: different colors, different line styles, or different highlighting methods.
2. The method for viewing reference changes of a CAD drawing in an editable environment as claimed in claim 1, characterized in that: The method further includes: editing the first file and drawing a second element on the first file; or, The first change element is based on incremental data of the third file compared with the second file; or The second file and the third file are different versions of the same CAD drawing.
3. The method for viewing reference changes of a CAD drawing in an editable environment as claimed in claim 1, characterized in that: Also includes: S106 obtains a fourth file; S107: Obtain a second changed element between the fourth file and the third file; S108: Superimpose the second changed element into the first file.
4. The method for viewing reference changes of a CAD drawing in an editable environment as claimed in claim 3, characterized in that: The superimposed second change element is displayed on the first file in a third display mode.
5. A system for viewing reference changes in CAD drawings in an editable environment, characterized in that: include, A file acquisition module, an element acquisition module, a copy and overlay module, and an update monitoring module; the file acquisition module is configured to acquire a first file and a second file; The element acquisition module is connected to the file acquisition module and is configured to acquire the first element on the second file; The copy and overlay module is connected to the element acquisition module and is configured to overlay the first element into the first file; The update monitoring module is connected to 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 changed element; wherein the first changed element includes one or more of an added element, a deleted element, and a modified element; The element acquisition module is connected to the update monitoring module to acquire the first changed element, and superimposes the first changed element into the first file through the copy and superimpose module; The system further comprises: A display control module displays the first element superimposed on the drawing interface of the first file in a first display mode; and displays the first changed element superimposed in a second display mode, and the added element, the deleted element and the modified element are superimposed on the drawing interface in different forms; the different forms include: different colors, different line styles or different highlighting methods.
6. The system for viewing reference changes of CAD drawings in an editable environment as claimed in claim 5, characterized in that: The system further comprises: a file editing module, configured to edit the first file and draw a second element on the first file; or The first change element is based on incremental data of the third file compared with the second file; or The second file and the third file are different versions of the same CAD drawing.
7. The system for viewing reference changes of CAD drawings in an editable environment as claimed in claim 5, characterized in that: The file acquisition module is configured to acquire a fourth file; the update monitoring module is configured to compare the third file and the fourth file, find a second change element, and overlay the second change element into the first file through the copy and overlay module.
8. A computer-readable storage medium for viewing reference changes of CAD drawings in an editable environment, characterized in that: The computer readable storage medium includes a set of instructions that, when executed, cause at least one processor to perform operations including: S101 obtains a first file and a second file, S102 The first file references the second file, and superimposes the first element in the second file into the first file; S103 obtains a third file; S104: Obtain a first changed element between the third file and the second file; and S105: superimposing the first change element into the first file; On the drawing interface of the first file, 1) displaying the first superimposed element in a first display mode; and 2) displaying the first superimposed change element in a second display mode; wherein the first change element includes one or more of an added element, a deleted element, and a modified element, and the added element, the deleted element, and the modified element are superimposed on the drawing interface in different forms; the different forms include: different colors, different line styles, or different highlighting methods.
9. A computer terminal for viewing reference changes of CAD drawings in an editable environment, characterized in that: The invention comprises 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 at least one processor executes the instructions, the at least one processor is caused to perform operations including: S101 obtains a first file and a second file, S102 The first file references the second file, and superimposes the first element in the second file into the first file; S103 obtains a third file; S104: Obtain a first changed element between the third file and the second file; and S105: superimposing the first change element into the first file; On the drawing interface of the first file, 1) displaying the first superimposed element in a first display mode; and 2) displaying the superimposed first changing element in a second display mode; Wherein, the first change element includes an addition element, a deletion element and a modification element, and the addition element, the deletion element and the modification element are superimposed on the drawing interface in different forms; Different forms include: different colors, different line styles or different ways of highlighting.
Citation Information
Patent Citations
Graphic file processing method and device
CN102254045A
Primitive-based engineering collaborative design method and system
CN104036059A