CN117632874A - Automatic drawing storage method, device, equipment and medium for CAD software - Google Patents

Automatic drawing storage method, device, equipment and medium for CAD software Download PDF

Info

Publication number
CN117632874A
CN117632874A CN202311627396.8A CN202311627396A CN117632874A CN 117632874 A CN117632874 A CN 117632874A CN 202311627396 A CN202311627396 A CN 202311627396A CN 117632874 A CN117632874 A CN 117632874A
Authority
CN
China
Prior art keywords
target
information
target drawing
storage
processing
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
CN202311627396.8A
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.)
Shanghai Merchant Ship Design and Research Institute
Original Assignee
Shanghai Merchant Ship Design and Research Institute
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 Shanghai Merchant Ship Design and Research Institute filed Critical Shanghai Merchant Ship Design and Research Institute
Priority to CN202311627396.8A priority Critical patent/CN117632874A/en
Publication of CN117632874A publication Critical patent/CN117632874A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an automatic drawing storage method of CAD software, which comprises the following steps: responding to a closing request of a user for a target drawing in CAD software, and verifying whether the title information of the target drawing is correct; after verifying that the title information of the target drawing is correct, determining a storage path of the target drawing according to a preset characteristic information type and the title information, and displaying a drawing processing dialog box by a user; and responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished. By the technical scheme, the automatic storage of the drawing files in the CAD software can be realized, the storage flow of the drawing files is simplified, and the working efficiency of related personnel is improved.

Description

Automatic drawing storage method, device, equipment and medium for CAD software
Technical Field
The present invention relates to the field of data storage, and in particular, to a method, an apparatus, a device, and a medium for automatically storing a drawing of CAD software.
Background
CAD (Computer Aided Design) is an application software for two-dimensional drawing, detailed drawing, design documentation, and basic three-dimensional design, and has become a drawing tool widely used internationally. CAD has a good user interface and can perform various operations by means of interactive menus or command lines. The multi-document design environment of the system can be quickly learned by non-computer professionals. The method can better master various application and development skills in the continuous practice process, thereby continuously improving the working efficiency. CAD has a wide range of adaptations that can run on various operating system supported microcomputers and workstations.
When the existing CAD software stores the drawing file, the project target path is positioned in the software, and then the user selects the local file path to be uploaded, so that the uploading is completed. The method requires manual positioning of the two paths by the user, and is cumbersome in process. The path is manually selected, so that errors are easy to occur, and errors occur in file management. Meanwhile, due to non-uniform filing rules and requirements, drawing management is very chaotic, drawing files cannot be called and managed, storage flow of the drawing files is complex, and working efficiency of related personnel is reduced.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for automatically storing drawings of CAD software, which can solve the problem that the existing CAD software has complex storage flow of drawing files, so that the working efficiency of related personnel is low.
In a first aspect, an embodiment of the present invention provides a method for automatically storing drawings of CAD software, where the method includes:
responding to a closing request of a user on a target drawing, and verifying whether the title information of the target drawing is correct; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
after verifying that the title information of the target drawing is correct, determining a storage path of the target drawing according to a preset characteristic information type and the title information, and displaying a drawing processing dialog box by a user;
and responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
In a second aspect, an embodiment of the present invention provides an automatic drawing storage device for CAD software, where the device includes:
the title information verification module is used for responding to a closing request of a user for a target drawing in CAD software and verifying whether the title information of the target drawing is correct or not; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
the storage path determining module is used for determining the storage path of the target drawing according to the preset characteristic information type and the title information after verifying that the title information of the target drawing is correct, and displaying a drawing processing dialog box for a user;
and the drawing processing module is used for responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method for automatically storing drawings of CAD software according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where a computer instruction is stored, where the computer instruction is configured to cause a processor to execute a method for automatically storing a drawing of CAD software according to any one of the embodiments of the present invention.
According to the technical scheme, firstly, whether the title information of the target drawing is correct is verified in response to a closing request of a user for the target drawing in CAD software, then after the title information of the target drawing is verified to be correct, a storage path of the target drawing is determined according to the preset characteristic information type and the title information, a drawing processing dialog box is displayed for the user, finally, in response to the selection operation of the user for at least one target processing item in the drawing processing dialog box, the processing operation matched with the target processing item is executed for the target drawing, and the target drawing is stored in the storage path after the processing operation is finished, so that the problems that the storage flow of the drawing file by the existing CAD software is complex, the working efficiency of related personnel is low are solved, the automatic storage of the drawing file in the CAD software is realized, the storage flow of the drawing file is simplified, and the working efficiency of related personnel is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for automatically storing drawings of CAD software according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a dialog box for processing a drawing according to a method according to a first embodiment of the present invention;
fig. 3 is a flowchart of a method for automatically storing drawings of CAD software according to the second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an automatic drawing storage device for CAD software according to the third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device for implementing a method for automatically storing drawings of CAD software according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for automatically storing drawings of CAD software according to a first embodiment of the present invention, where the method may be performed by an automatic drawing storage device of CAD software, the automatic drawing storage device of CAD software may be implemented in hardware and/or software, and the automatic drawing storage device of CAD software may be configured in a terminal or a server having an automatic drawing storage function of CAD software.
As shown in fig. 1, the method includes:
s110, responding to a closing request of a user for a target drawing in CAD software, and verifying whether the title information of the target drawing is correct.
Wherein the title information includes: at least one of drawing name information, drawing number information, item number information and related personnel information of the target drawing.
The CAD software is application software for two-dimensional drawing, detailed drawing, design document and basic three-dimensional design, and when the CAD software is used for drawing, graphic editing is actually carried out on a drawing file established by the CAD software.
Further, the title information may be a file name with a certain format automatically generated by a current target drawing according to a preset rule, or may be a file name manually input by a user, which is a name of the target drawing for displaying the user; the drawing name information marks the drawing names of the target drawings, the drawing number information can be used for marking the sequence numbers of the target drawings, the item number information can be used for marking items of the target drawings, the related personnel information can be used for marking personnel name information of drawing personnel, proofreading personnel, auditors and other related personnel of the target drawings, and the related personnel can conveniently inquire about sponsors of the target drawings through the target drawings.
Specifically, the step of responding to a closing request of a user for a target drawing in CAD software to verify whether the title information of the target drawing is correct comprises the following steps: acquiring attribute information of the target drawing, and judging whether at least one attribute parameter in the attribute information has consistency with the title information; if the target drawing has consistency, verifying that the title information of the target drawing is correct; if the attribute information is not consistent, updating the title information of the target drawing by using at least one attribute parameter in the attribute information, taking the updated title information as current title information, and returning to execute the operation of judging whether the at least one attribute parameter in the attribute information is consistent with the title information.
It should be known by those skilled in the art that, before drawing creation is performed by using CAD software, a blank or existing drawing file needs to be created or opened first, on the one hand, when creating a drawing file, a storage location of the drawing file needs to be set first, and drawing name information, drawing number information, project number information and related personnel information of the drawing file need to be configured as each attribute parameter of the current drawing file, after the drawing file is created, the CAD software exits from the task creation interface, and generates an operation drawing interface of the CAD software according to the set information, at this time, each attribute parameter is stored in a database of third party software as attribute information of the drawing file, where the third party database may be SQL server or the like.
In this embodiment, it is verified whether the header information of the target drawing is correct, and exemplary, if the attribute information of the current target drawing is set specifically is: the picture name B DECK CONSTRUCTION +picture number SC 4768-142-01+item number SC 4768+related person tenses three, and the picture name information and picture number information of the target drawing contained in the current title information are detected as follows: b DECK CONSTRUCTION and SC4700 (HH) G1-142-01, on the basis of which the title information in the title information is identical to the picture name information in the attribute information, but the picture number information is different, namely, it is judged that at least one attribute parameter in the attribute information does not have consistency with the title information; at this time, the drawing number information in the attribute information is called, the title information of the target drawing is modified to SC4768-142-01_A_SB DECK CONSTRUCTION, wherein_A is a version number, and_S is a drawing state, and two attribute parameters in the attribute information are consistent with the title information, so that the title information of the target drawing is verified to be correct.
It should be noted that, the name information or the number information provided in the present embodiment is only one specific method provided in the present embodiment, and the specific form of each item of attribute information may be set according to the actual application requirement of the relevant staff, which is not limited in the present embodiment.
And S120, after verifying that the title information of the target drawing is correct, determining a storage path of the target drawing according to the preset feature information type and the title information, and displaying a drawing processing dialog box for a user.
Wherein the storage path comprises: at least one of a cloud storage path and a local storage path; further, the cloud storage is a cloud computing model, which can store data and files on the internet through a cloud computing provider, and users can access the data and files through the public internet or a private network connection; accordingly, the local storage may be a storage module of a local computer or a specific computer set for a storage function in a computer cluster matched with a current host; furthermore, in this embodiment, each drawing file is stored in an independent storage device, and only the drawing backup index position and the modification description are stored in the third-party software database, so that the database has low storage pressure and high retrieval efficiency.
Furthermore, the method of the embodiment can automatically determine the storage path of the target drawing according to the preset characteristic information type and the title information, and a user does not need to manually specify a local file path and a server-side storage path to be uploaded, so that the storage flow of the drawing file is simplified, and the working efficiency of related personnel is improved.
S130, responding to the selection operation of at least one target processing item in the drawing processing dialog box by a user, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
Fig. 2 is a schematic structural diagram of a dialog box for processing drawings according to the present embodiment; the drawing processing dialog box comprises target processing items for responding to user operation, a title information display interface for displaying title information and a text box for text input.
In this embodiment, the target processing item includes: target drawing submission items, operation exit items, operation termination items, content change items, and pick-up items.
Specifically, the target drawing submission item is configured to store the target drawing to the storage path and close the drawing processing dialog box; the operation exit item is used for closing the drawing processing dialog box and canceling the automatic storage operation of the target drawing; the operation termination item is used for closing the drawing processing dialog box and returning to a target drawing editing interface of CAD software; the content change item is used for responding to the text input operation of a user in the text box and generating corresponding change text in the text box; the pick-up item is used for identifying a text primitive object in the target drawing, extracting text content in the text primitive object, and filling the text content into the text box as a change text.
Further, storing the target drawing to the storage path after the processing operation is completed, including: when a change text exists in the text box, binding and storing the change text and a storage path of the target drawing, and generating target index information matched with the target drawing; storing the target index information into a preset index storage module; wherein the address information of the index storage module is different from the storage path.
According to the method, after the target drawing is stored in the storage path, the target index information matched with the target drawing is generated according to the storage path of the change text and the target drawing, when a user needs to check the target drawing in the follow-up process, the storage position of the target drawing and the annotation content of the change text related to the target drawing can be found through checking the target index information, so that the tracing of the historical version of the later drawing and the comparison after the change of the target drawing are facilitated, and the efficiency of the later file management work is improved.
Optionally, after the processing operation is finished, storing the target drawing in the storage path, further including: when no changed text exists in the text box, generating target index information matched with a target drawing based on a storage path of the target drawing; and storing the target index information into a preset index storage module.
According to the technical scheme, firstly, whether the title information of the target drawing is correct is verified in response to a closing request of a user for the target drawing in CAD software, then after the title information of the target drawing is verified to be correct, a storage path of the target drawing is determined according to a preset characteristic information type and the title information, a drawing processing dialog box is displayed for the user, finally, processing operation matched with at least one target processing item in the drawing processing dialog box is executed for the target drawing in response to the selection operation of the user for the target processing item, and the target drawing is stored in the storage path after the processing operation is finished, so that automatic storage of the drawing file in the CAD software is realized, the storage flow of the drawing file is simplified, and the working efficiency of related personnel is improved.
Example two
Fig. 3 is a flowchart of an automatic drawing storage method for CAD software according to a second embodiment of the present invention, which is based on the foregoing embodiment, and in this embodiment, specifically, a method for determining a storage path of the target drawing according to a preset feature information type and header information is refined.
As shown in fig. 3, the method includes:
s210, responding to a closing request of a user for a target drawing in CAD software, and verifying whether the title information of the target drawing is correct.
Wherein the title information includes: at least one of drawing name information, drawing number information, item number information and related personnel information of the target drawing.
S220, acquiring a preset characteristic information type, and extracting target information matched with the characteristic information type according to the title information of the target drawing based on the preset characteristic information type.
Wherein, the characteristic information type is: at least one of a graph name type, a graph number type, an item number type, or a related person type.
In this embodiment, a plurality of types of the picture name type, the picture number type, the item number type, and the related person type may be combined to obtain the feature information type, or one type of the picture name type, the picture number type, the item number type, and the related person type may be used alone as the feature information type, which is not limited in this embodiment.
S230, creating a secondary storage catalog matched with the target information in a preset primary storage catalog according to the target information, and determining the secondary storage catalog as a storage path of the target drawing.
The position of the preset primary storage directory can be set in cloud storage or local storage according to actual needs.
In a specific manner of this embodiment, exemplary, title information of the set target drawing includes drawing name information and drawing number information of the target drawing, which are respectively: b DECK CONSTRUCTION and SC4700 (HH) G1-142-01, and the set feature information type is a graph name type, on the basis of the above, determining that the target information of the target drawing is graph name information: b DECK CONSTRUCTION, then creating a secondary storage catalog named B DECK CONSTRUCTION in a preset primary storage catalog, and determining the secondary storage catalog as a storage path of the target drawing.
It should be noted that, the name information or the number information provided in the present embodiment is only one specific method provided in the present embodiment, and the specific form of each item of attribute information may be set according to the actual application requirement of the relevant staff, which is not limited in the present embodiment.
S240, displaying the drawing processing dialog box for the user.
S250, responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
According to the technical scheme, firstly, whether the title information of the target drawing is correct is verified in response to a closing request of a user for the target drawing in CAD software, then, after the title information of the target drawing is verified to be correct, a preset characteristic information type is obtained, then, based on the preset characteristic information type, target information matched with the characteristic information type is extracted according to the title information of the target drawing, then, a secondary storage catalog matched with the target information is created in a preset primary storage catalog according to the target information, the secondary storage catalog is determined to be a storage path of the target drawing, a drawing processing dialog box is displayed by the user, finally, processing operation matched with the target processing item is executed for the target drawing in response to the selection operation of the user for at least one target processing item in the drawing processing dialog box, and the target drawing is stored to the storage path after the processing operation is finished, so that automatic storage of drawing files in the CAD software is realized, the storage flow of the drawing files is simplified, and the working efficiency of related staff is improved.
Example III
Fig. 4 is a schematic structural diagram of an automatic drawing storage device for CAD software according to the third embodiment of the present invention.
As shown in fig. 4, the apparatus includes:
the title information verification module 410 is configured to verify whether title information of a target drawing is correct in response to a closing request of a user for the target drawing in CAD software; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
the storage path determining module 420 is configured to determine a storage path of the target drawing according to a preset feature information type and title information after verifying that the title information of the target drawing is correct, and display a drawing processing dialog box for a user;
the drawing processing module 430 is configured to execute a processing operation matched with the target processing item on the target drawing in response to a user selection operation on at least one target processing item in the drawing processing dialog box, and store the target drawing to the storage path after the processing operation is completed.
According to the technical scheme, firstly, whether the title information of the target drawing is correct is verified in response to a closing request of a user for the target drawing in CAD software, then after the title information of the target drawing is verified to be correct, a storage path of the target drawing is determined according to a preset characteristic information type and the title information, a drawing processing dialog box is displayed for the user, finally, processing operation matched with at least one target processing item in the drawing processing dialog box is executed for the target drawing in response to the selection operation of the user for the target processing item, and the target drawing is stored in the storage path after the processing operation is finished, so that automatic storage of the drawing file in the CAD software is realized, the storage flow of the drawing file is simplified, and the working efficiency of related personnel is improved.
On the basis of the above embodiment, the title information verification module 410 further includes:
the consistency judging unit is used for acquiring the attribute information of the target drawing and judging whether at least one attribute parameter in the attribute information has consistency with the title information or not;
the first verification unit is used for verifying that the title information of the target drawing is correct if the target drawing has consistency;
and the second verification unit is used for updating the title information of the target drawing by using at least one attribute parameter in the attribute information if the attribute information does not have consistency, and returning to execute the operation of judging whether the at least one attribute parameter in the attribute information has consistency with the title information after taking the updated title information as the current title information.
On the basis of the above embodiment, the storage path determining module 420 further includes:
acquiring a preset characteristic information type; wherein, the characteristic information type is: at least one of a graph name type, a graph number type, an item number type, or a related person type;
the characteristic information type acquisition unit is used for extracting target information matched with the characteristic information type according to the title information of the target drawing based on a preset characteristic information type;
and the storage path creation unit is used for creating a secondary storage catalog matched with the target information in a preset primary storage catalog according to the target information, and determining the secondary storage catalog as the storage path of the target drawing.
Based on the above embodiment, the drawing processing module 430 further includes:
the target drawing submitting unit is used for responding to a target drawing submitting item, storing the target drawing into the storage path and closing the drawing processing dialog box;
an operation exit unit for closing the drawing processing dialog box and canceling the automatic storage operation of the target drawing in response to the operation exit item;
the operation termination unit is used for responding to the operation termination item, closing the drawing processing dialog box and returning to a target drawing editing interface of the CAD software;
a content changing unit, configured to respond to the content changing item, respond to a text input operation of a user in the text box, and generate a corresponding changed text in the text box;
and the pick-up unit is used for responding to the pick-up item, identifying a text primitive object in the target drawing, extracting text content in the text primitive object and filling the text content into the text box as a change text.
Based on the above embodiment, the drawing processing module 430 further includes:
the first index information generation unit is used for binding and storing the changed text and the storage path of the target drawing when the changed text exists in the text box, and generating target index information matched with the target drawing;
the first index information storage unit is used for storing the target index information into a preset index storage module; wherein the address information of the index storage module is different from the storage path.
Based on the above embodiment, the drawing processing module 430 further includes:
the second index information generation unit is used for generating target index information matched with the target drawing based on the storage path of the target drawing when no changed text exists in the text box;
and the second index information storage unit is used for storing the target index information into a preset index storage module.
The automatic drawing storage device for the CAD software provided by the embodiment of the invention can execute the automatic drawing storage method for the CAD software provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a method for automatically storing drawings of CAD software.
Accordingly, the method comprises the following steps: responding to a closing request of a user for a target drawing in CAD software, and verifying whether the title information of the target drawing is correct; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
after verifying that the title information of the target drawing is correct, determining a storage path of the target drawing according to a preset characteristic information type and the title information, and displaying a drawing processing dialog box by a user;
and responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
In some embodiments, a method of automatically storing drawings of CAD software may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of a method for automatically storing drawings of CAD software described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a method of drawing automatic storage of CAD software in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.

Claims (10)

1. The automatic drawing storage method of the CAD software is characterized by comprising the following steps of:
responding to a closing request of a user for a target drawing in CAD software, and verifying whether the title information of the target drawing is correct; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
after verifying that the title information of the target drawing is correct, determining a storage path of the target drawing according to a preset characteristic information type and the title information, and displaying a drawing processing dialog box by a user;
and responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
2. The method of claim 1, wherein verifying whether the title information of the target drawing is correct in response to a user's close request for the target drawing in CAD software, comprises:
acquiring attribute information of the target drawing, and judging whether at least one attribute parameter in the attribute information has consistency with the title information;
if the target drawing has consistency, verifying that the title information of the target drawing is correct;
if the attribute information is not consistent, updating the title information of the target drawing by using at least one attribute parameter in the attribute information, taking the updated title information as current title information, and returning to execute the operation of judging whether the at least one attribute parameter in the attribute information is consistent with the title information.
3. The method of claim 1, wherein determining the storage path of the target drawing according to the preset feature information type and the title information comprises:
acquiring a preset characteristic information type; wherein, the characteristic information type is: at least one of a graph name type, a graph number type, an item number type, or a related person type;
extracting target information matched with the characteristic information type according to the title information of the target drawing based on the preset characteristic information type;
and creating a secondary storage catalog matched with the target information in a preset primary storage catalog according to the target information, and determining the secondary storage catalog as a storage path of the target drawing.
4. The method of claim 1, wherein the target processing item comprises:
target drawing submission items, operation exit items, operation termination items, content change items and pick-up items;
the target drawing submitting item is used for storing the target drawing into the storage path and closing the drawing processing dialog box;
the operation exit item is used for closing the drawing processing dialog box and canceling the automatic storage operation of the target drawing;
the operation termination item is used for closing the drawing processing dialog box and returning to a target drawing editing interface of CAD software;
the content change item is used for responding to the text input operation of a user in the text box and generating corresponding change text in the text box;
the pick-up item is used for identifying a text primitive object in the target drawing, extracting text content in the text primitive object, and filling the text content into the text box as a change text.
5. The method of claim 4, wherein storing the target drawing to the storage path after processing operations are completed comprises:
when a change text exists in the text box, binding and storing the change text and a storage path of the target drawing, and generating target index information matched with the target drawing;
storing the target index information into a preset index storage module; wherein the address information of the index storage module is different from the storage path.
6. The method of claim 5, wherein storing the target drawing to the storage path after processing operations are completed, further comprising:
when no changed text exists in the text box, generating target index information matched with a target drawing based on a storage path of the target drawing;
and storing the target index information into a preset index storage module.
7. The method of claim 1, wherein the storage path comprises:
at least one of a cloud storage path and a local storage path.
8. An automatic drawing storage device for CAD software, comprising:
the title information verification module is used for responding to a closing request of a user for a target drawing in CAD software and verifying whether the title information of the target drawing is correct or not; wherein the title information includes: at least one item of drawing name information, drawing number information, project number information and related personnel information of the target drawing;
the storage path determining module is used for determining the storage path of the target drawing according to the preset characteristic information type and the title information after verifying that the title information of the target drawing is correct, and displaying a drawing processing dialog box for a user;
and the drawing processing module is used for responding to the selection operation of a user on at least one target processing item in the drawing processing dialog box, executing the processing operation matched with the target processing item on the target drawing, and storing the target drawing into the storage path after the processing operation is finished.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method for automatically storing drawings of CAD software according to any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement a method for automatically storing drawings of CAD software according to any one of claims 1-7 when executed.
CN202311627396.8A 2023-11-30 2023-11-30 Automatic drawing storage method, device, equipment and medium for CAD software Pending CN117632874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311627396.8A CN117632874A (en) 2023-11-30 2023-11-30 Automatic drawing storage method, device, equipment and medium for CAD software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311627396.8A CN117632874A (en) 2023-11-30 2023-11-30 Automatic drawing storage method, device, equipment and medium for CAD software

Publications (1)

Publication Number Publication Date
CN117632874A true CN117632874A (en) 2024-03-01

Family

ID=90037263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311627396.8A Pending CN117632874A (en) 2023-11-30 2023-11-30 Automatic drawing storage method, device, equipment and medium for CAD software

Country Status (1)

Country Link
CN (1) CN117632874A (en)

Similar Documents

Publication Publication Date Title
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
AU2022368364A1 (en) Control method, device, equipment and storage medium for interactive reproduction of target object
CN116011955A (en) Robot flow automation demand realization method, device, equipment and storage medium
CN115860877A (en) Product marketing method, device, equipment and medium
CN117632874A (en) Automatic drawing storage method, device, equipment and medium for CAD software
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN114741072B (en) Page generation method, device, equipment and storage medium
CN112560462B (en) Event extraction service generation method, device, server and medium
CN115146604B (en) Method, device, equipment and storage medium for generating interface technical document
CN113626409B (en) Test data processing method, device, equipment and storage medium
CN116822470A (en) Data entry method, device, electronic equipment and storage medium
CN114721942A (en) Test data generation method, device, equipment and storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN117931155A (en) Code generation method, device, equipment and medium
CN115858891A (en) Visual display method and device of data, electronic equipment and storage medium
CN115793577A (en) Intelligent production line design method and device, computer equipment and medium
CN116861674A (en) Labeling method, device, equipment and storage medium for MBD model of ship product
CN117371416A (en) Project document generation method, device, equipment and storage medium
CN115511470A (en) Evaluation index data generation method, evaluation index data generation device, electronic device, and storage medium
CN117591145A (en) Updating method and device of interface document, electronic equipment and storage medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN115686479A (en) File creation method and related device
CN116303614A (en) Method, system, equipment and storage medium for processing raw and cooked data
CN116069319A (en) Form rendering method and device, electronic equipment and storage medium
CN117573561A (en) Automatic test system, method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination