Method and system for chemical equipment to automatically generate AutoCAD drawing
By automatically generating AutoCAD drawings of chemical equipment, combining structural data and standards, using AutoCAD secondary development technology, the problems of traditional drawings are solved, and efficient and accurate drawing of chemical equipment are achieved, which shortens the Design cycle and improved quality.
Patent Information
- Application Number
- CN202411327918.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-10
AI Technical Summary
The design and drawing process of traditional chemical equipment is time-consuming and labor-intensive, and there is a risk of errors, which is difficult to meet the rapidly changing needs. It also requires a lot of time and labor when modifying parameters, which increases the design cycle.
By generating drawing codes based on the structural data and location data of chemical equipment, combined with national standards, industry standards and enterprise regulations, and automatically generating drawings using the AutoCAD secondary development generation program, automatic drawing and modification are realized, reducing manual errors and workload.
It significantly improves the efficiency and quality of drawing drawings of chemical equipment, shortens the design cycle, reduces the error rate and workload, and ensures the accuracy and standardization of drawings.
Smart Images

Figure CN119293892A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to but is not limited to the field of automatic drawing technology, and in particular relates to a method and system for automatically generating AutoCAD drawings for chemical equipment. Background Art
[0002] The petrochemical industry occupies a pivotal position in the national economy, among which chemical equipment is an important part of the petrochemical industry and plays a key role in the production process. The traditional chemical equipment design and drawing process mainly relies on manual drawing, which is not only time-consuming and labor-intensive but also has the risk of errors, and it is difficult to meet the rapidly changing needs of the chemical industry. In addition, during the design process, some parameters often need to be modified. After the parameter is modified, the part related to the parameter on the drawing needs to be modified accordingly, which takes a lot of time and greatly increases the design cycle and labor workload.
[0003] With the rapid development of the petrochemical industry, there is an urgent need for a high-efficiency and high-quality chemical equipment drawing method. This method can not only improve work efficiency and create favorable conditions for drawing, but also has certain variability and fault tolerance. It can easily adjust design parameters and drawing components to generate different chemical equipment drawings, greatly shortening the drawing cycle and ensuring the quality of the drawings. Summary of the invention
[0004] In order to solve the technical problems raised by the background technology, the present invention provides a method and system for automatically generating AutoCAD drawings for chemical equipment. The method generates codes for each part according to the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing, and finally calls the drawing code and automatically generates AutoCAD drawings through the AutoCAD secondary development generation program, so as to realize the automatic drawing of chemical equipment drawings in the AutoCAD environment. In addition, when the drawing is modified, the parts that need to be modified in the drawing can be automatically modified synchronously according to the modified content, thereby reducing the workload when modifying the drawing, and avoiding the occurrence of conflicting parts in the drawing due to the failure of some parts to be modified. The use of this method can greatly reduce the workload of drawing drawing and shorten the drawing drawing cycle.
[0005] The present invention is achieved by a method for automatically generating AutoCAD drawings of chemical equipment, the method comprising: S1: Data input part, which includes the input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure; S2: Drawing components, which includes determining what parts the drawing consists of, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining where each part is located; click on a part, such as the head, to set the structural dimensions of the part, such as the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; S3: Drawing code generation part, based on the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing, generates the code of each part; this code can be called by the generation program based on AutoCAD secondary development and automatically generates AutoCAD drawings; S4: Drawing drawing part, open AutoCAD software, automatically run AutoCAD secondary development program, read the code generated by the previous drawing code generation part, automatically generate a complete drawing and save it; S5: Drawing modification part. If it is a new project, you can select a similar type of project in the AutoCAD project archive or create a new project, and directly modify the parameters in it; if it is a completed project, you can open AutoCAD to modify it. After the modification, the corresponding block is set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks affected by the parameters in the drawing. Finally, according to the parameter changes, modify the parameters of all blocks and generate new drawing codes. The new drawing code is called again by the AutoCAD secondary development program and generates a new AutoCAD drawing.
[0006] S6: Drawing database is the link between various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and the drawing modification and the parameter modification of the drawing database are linked together by corresponding to the attribute value of the block in the drawing through the parameters.
[0007] Furthermore, the drawing code generation part in S3 is based on the premise that the structural data and position data of the drawing conform to the graphic logic relationship in order to generate the correct code, otherwise the AutoCAD secondary open program cannot recognize and call the code.
[0008] Furthermore, in the drawing modification part in S5, after a project is completed, the project can be archived, so that the block attribute value can be modified by using the archived project next time to generate a project of the same type.
[0009] Another object of the present invention is to provide a system for automatically generating AutoCAD drawings for chemical equipment based on the method for automatically generating AutoCAD drawings for chemical equipment, the system specifically comprising: Data input module, including input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure, etc.; The drawing composition module is connected to the data input module, including determining the components of the drawing, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining the location of each component; clicking on a certain part, such as the head, can set the structural dimensions of the part, the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; The drawing code generation module is connected with the drawing composition module, and generates the code of each part according to the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing; the code can be called by the generation program based on AutoCAD secondary development and automatically generate AutoCAD drawings; The drawing module is connected with the drawing code generation module, opens the AutoCAD software, automatically runs the AutoCAD secondary development program, reads the code generated by the previous drawing code generation part, automatically generates a complete drawing and saves it; In the drawing modification part, if it is a new project, you can select a similar type of project in the AutoCAD project archive or create a new project, and directly modify the parameters in it; if it is a completed project, you can open AutoCAD to modify it. After the modification, the corresponding block can be set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks affected by the parameters in the drawing. Finally, according to the parameter changes, modify the parameters of all blocks and generate new drawing codes. The new drawing code is called again by the AutoCAD secondary development program and generates a new AutoCAD drawing.
[0010] The drawing database is connected to the drawing component modules and is the link between the various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block in the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and through the parameters corresponding to the attribute values of the blocks in the drawing, the drawing modification and the parameter modification of the drawing database are linked.
[0011] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for automatically generating AutoCAD drawings for chemical equipment.
[0012] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the method for automatically generating AutoCAD drawings for chemical equipment.
[0013] Another object of the present invention is to provide an information data processing terminal, wherein the information data processing terminal is used to implement a system for automatically generating AutoCAD drawings of the chemical equipment.
[0014] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows: First, (1) The present invention generates codes for each part based on the structural data and position data of each drawing component, combined with national standards, industry standards and enterprise regulations related to chemical drawing, and finally generates a program through AutoCAD secondary development to call the drawing code and automatically generate AutoCAD drawings, thereby realizing automatic drawing of chemical equipment drawings instead of manual drawing. The invention effectively reduces the common errors that occur in manual drawing and significantly improves the efficiency of chemical equipment drawing work, ensuring the quality and accuracy of the drawings.
[0015] (2) When modifying a drawing, the present invention can automatically modify the parts of the drawing that need to be modified according to the modification content, thereby reducing the workload when modifying the drawing and avoiding conflicts in the drawing due to some parts not being modified. The present invention can greatly reduce the workload of drawing and shorten the drawing cycle.
[0016] The present invention not only generates codes for each part according to the structural data and position data of each drawing component, but also combines the national standards, industry standards and enterprise regulations related to chemical drawing, and finally generates a program through AutoCAD secondary development to call the drawing code and automatically generate AutoCAD drawings, thereby realizing the automatic drawing of chemical equipment drawings in the AutoCAD environment. Moreover, when the drawings are modified, the parts that need to be modified in the drawings can be automatically modified synchronously according to the modified content, thereby reducing the workload when modifying the drawings, and avoiding the occurrence of conflicting parts in the drawings due to the fact that some parts are not modified. Thus, the automatic drawing of chemical equipment drawings can be realized instead of manual drawing drawings, and the workload of drawing drawings can be reduced and the drawing drawing cycle can be shortened.
[0017] Second, the expected benefits and commercial value of the technical solution of the present invention after transformation are: Improve enterprise design efficiency: By automatically generating drawings, the design cycle can be greatly shortened. Save labor costs: Reduce the workload of designers in drawing, so that they can devote more energy to solution optimization and innovation. Speed up project progress: Improve the speed of project implementation and create more business opportunities for enterprises. Reduce error rate: Automatically generating drawings can effectively reduce human errors. Improve product quality: Reduce the risk of equipment failure and safety accidents caused by drawing errors. Reduce rework costs: Avoid rework and modification caused by drawing problems and reduce project costs. Improve enterprise competitiveness: The present invention helps enterprises improve product quality and shorten delivery time. Promote industrial upgrading: The present invention helps promote the intelligent and information development of the chemical equipment design industry. Improve the overall level of the industry: Promote industrial technological progress and improve the competitiveness of my country's chemical equipment design in the international market. Promote industrial chain collaboration: Strengthen the collaboration between design and manufacturing, sales, operation and maintenance, and achieve win-win results in the industrial chain. In summary, the present invention has significant economic benefits and commercial value, and is expected to bring rich returns to enterprises. However, the actual benefits still need to be adjusted and evaluated based on market feedback, enterprise operating conditions and other factors.
[0018] The technical solution of the present invention fills the technical gap in the industry at home and abroad: when the drawings are modified, the technical solution of the present invention can automatically modify the parts of the drawings that need to be modified according to the modified content, and can also directly modify the parameters of the archived engineering projects to generate drawings of the same type. It can well solve the problem of complex and time-consuming drawing caused by parameter changes and similar but different drawing components in the chemical equipment design drawings, and realize automatic drawing of chemical equipment drawings instead of manual drawing. At the same time, the drawings are combined with national standards, industry standards and enterprise regulations related to chemical drawing to ensure the standardization of drawings. This provides an innovative technology for promoting the chemical industry to quickly and accurately draw chemical equipment.
[0019] The technical solution of the present invention solves the technical problem that people have been eager to solve but have never been successful: the technical solution of the present invention generates codes for each part according to the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing, and finally generates a program through AutoCAD secondary development to call the drawing code and automatically generate AutoCAD drawings. In addition, when the drawing is modified, the parts that need to be modified in the drawing can be automatically modified synchronously according to the modified content, thus overcoming the difficult problems of large engineering volume and low fault tolerance rate in chemical equipment design and drawing drawing, and breaking the limitation that parameter changes and diversified drawing components limit the drawing drawing efficiency, thereby realizing high-efficiency engineering of chemical equipment design and drawing drawing.
[0020] The technical solution of the present invention overcomes technical bias: it overcomes the arbitrariness of standard implementation, and the automatic generation of drawings can ensure the consistency of design standards. Manual drawing may lead to inconsistent implementation of design standards, thus affecting equipment performance and safety. Designers in different regions may follow different design habits, resulting in differences in technical standards. Overcoming the limitations of manual drawing: traditional methods may lead to uneven quality of drawings due to differences in the personal habits and abilities of designers, and the design may rely too much on personal experience. By overcoming these technical biases, the present invention not only improves the efficiency and accuracy of chemical equipment design, but also helps promote technological progress and development of the entire industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a flow chart of a method for automatically generating AutoCAD drawings for chemical equipment provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of the main view of the drawing of the present invention; Figure 3 It is a schematic diagram of the drawing code of the present invention; Figure 4 A schematic diagram of a program code generated by the AutoCAD secondary development of the present invention; Figure 5 Modify the flow chart for the drawings of the present invention.
[0022] In the figure: 1. head; 2. partition; 3. pipe box cylinder; 4. connecting pipe 1; 5. pipe box flange; 6. tube sheet; 7. cylinder flange; 8. cylinder; 9. baffle; 10. saddle; 11. connecting pipe 2. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0024] like Figure 1 As shown, an embodiment of the present invention provides a method for automatically generating AutoCAD drawings for chemical equipment, the method comprising: S1: Data input part, which includes the input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure; S2: Drawing components, which includes determining what parts the drawing consists of, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining where each part is located; click on a part, such as the head, to set the structural dimensions of the part, the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; like Figure 2 The figure shows a schematic diagram of the main view of a chemical equipment drawing. The main view of the chemical equipment consists of a head, a partition, a pipe box barrel, a pipe 1, a pipe 2, a pipe box flange, a tube sheet, a barrel flange, a barrel, a saddle, etc. Each part can be designed as an AutoCAD block, such as a head, a partition, a pipe box barrel, a pipe 1, a pipe 2, and a pipe box flange, which are 6 AutoCAD blocks. These 6 blocks can also be regarded as a whole, that is, an AutoCAD block. The attributes in each block correspond to the structural parameters of the corresponding parts. For example, the attributes of the head module include the nominal diameter of the head, the wall thickness, the length of the straight edge section, and the position, etc. The position parameters of the block correspond to the position of the parts.
[0025] S3: Drawing code generation part, based on the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing, generates the code of each part; this code can be called by the generation program based on AutoCAD secondary development and automatically generates AutoCAD drawings; S4: Drawing drawing part, open AutoCAD software, automatically run AutoCAD secondary development program, some AutoCAD secondary development generated program code such as Figure 4 As shown, read the code generated in the previous drawing code generation part, automatically generate a complete drawing and save it; S5: Drawing modification part, the drawing modification process is as follows Figure 5 As shown, if it is a new project, you can select a similar project in the AutoCAD project archive or create a new project, and directly modify the parameters in it; if it is a completed project, you can open AutoCAD to modify it. After the modification, the corresponding block can be set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks affected by the parameters in the drawing. Finally, according to the parameter changes, modify the parameters of all blocks and generate new drawing codes. The new drawing code is called again by the AutoCAD secondary development program and generates a new AutoCAD drawing.
[0026] S6: Drawing database is the link between various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and the drawing modification and the parameter modification of the drawing database are linked together by corresponding to the attribute value of the block in the drawing through the parameters.
[0027] The drawing code generation part in S3 is based on the premise that the structural data and position data of the drawing conform to the graphic logic relationship in order to generate the correct code, otherwise the AutoCAD secondary open program cannot recognize and call the code.
[0028] The drawing modification part in S5 can archive a project after it is completed, so that the block attribute value can be modified by using the archived project next time to generate the same type of project. At the same time, the same or similar blocks can be called by other projects for the production of other projects.
[0029] An embodiment of the present invention provides a system for automatically generating AutoCAD drawings for chemical equipment based on the method for automatically generating AutoCAD drawings for chemical equipment, and the system specifically includes: Data input module, including input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure, etc.; The drawing composition module is connected to the data input module, including determining the components of the drawing, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining the location of each component; clicking on a certain part, such as the head, can set the structural dimensions of the part, the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; The drawing code generation module is connected with the drawing composition module, and generates the code of each part according to the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing; the code can be called by the generation program based on AutoCAD secondary development and automatically generate AutoCAD drawings; The drawing module is connected with the drawing code generation module, opens the AutoCAD software, automatically runs the AutoCAD secondary development program, reads the code generated by the previous drawing code generation part, automatically generates a complete drawing and saves it; Drawing modification part, the drawing modification process is as follows Figure 5As shown, if it is a new project, you can select a similar type of project in the AutoCAD project archive or create a new project, and directly modify the parameters in it; if it is a completed project, you can open AutoCAD to modify it. After the modification, the corresponding block can be set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks in the drawing affected by the parameters. Finally, according to the parameter changes, modify the parameters of all blocks and generate new drawing codes. The new drawing code is called again by the AutoCAD secondary development program and generates a new AutoCAD drawing; The drawing database is connected to the drawing component modules and is the link between the various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block in the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and through the parameters corresponding to the attribute values of the blocks in the drawing, the drawing modification and the parameter modification of the drawing database are linked.
[0030] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for automatically generating AutoCAD drawings for chemical equipment.
[0031] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the method for automatically generating AutoCAD drawings for chemical equipment.
[0032] Another object of the present invention is to provide an information data processing terminal, wherein the information data processing terminal is used to implement a system for automatically generating AutoCAD drawings of the chemical equipment.
[0033] The system realizes the automatic generation of AutoCAD drawings of chemical equipment through the collaborative work of multiple modules. First, the data input module receives design parameters, such as design pressure, design temperature and hydraulic test pressure, and performs strength check and verification by inputting these parameters. These data provide basic data for the generation of subsequent drawings and ensure that they meet the design requirements.
[0034] Next, the drawing composition module is responsible for determining the structural parts of the drawing, such as heads, cylinders, flanges, shells, etc. The structural dimensions and positions of each part will be set and adjusted according to the input data. The structural dimension parameters and position data are stored in the drawing database to form the relationship between the parts. Each component is treated as a block in the AutoCAD drawing, and its attributes correspond to the structural parameters and position parameters.
[0035] Then, the drawing code generation module generates the corresponding code based on the size parameters and position data of each part, combined with relevant national standards, industry standards and enterprise regulations. This code can be called by the secondary development program based on AutoCAD to automatically draw drawings that meet the standards. The specific method is that the generated code is passed to the drawing drawing module, which recognizes and calls the drawing code to generate the final drawing.
[0036] Finally, the system also includes a drawing modification part. Users can modify parameters in existing AutoCAD projects. The system will automatically update the properties of the corresponding blocks according to the modified parts, find the blocks affected by the parameters, and finally modify the parameters of all blocks according to the parameter changes. After the parameters are updated, all blocks will regenerate the drawing code, which will eventually be called by the drawing module and generate the modified drawings to ensure that the drawings meet the latest design requirements.
[0037] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0038] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for automatically generating AutoCAD drawings for chemical equipment, characterized in that: Input the design data and strength verification data, then determine the components of the drawing and their structural dimensions and positions through the drawing composition module, generate the corresponding AutoCAD drawing blocks, and store these data in the database; based on the generated structure and position data, generate the drawing code through the code generation module in combination with the standard, and the drawing drawing module reads the drawing code and automatically draws the AutoCAD drawing; the module properties in the drawing can be adjusted by modifying the parameters, and the relevant data in the drawing and database can be automatically updated to ensure the synchronization of the drawing and parameters.
2. The method for automatically generating AutoCAD drawings for chemical equipment according to claim 1, characterized in that: The method includes: S1: Data input part, which includes the input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure; S2: Drawing components, which includes determining what parts the drawing consists of, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining where each part is located; click on a part, such as the head, to set the structural dimensions of the part, the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; S3: Drawing code generation part, based on the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing, generates the code of each part; this code can be called by the generation program based on AutoCAD secondary development and automatically generates AutoCAD drawings; S4: Drawing drawing part, open AutoCAD software, automatically run AutoCAD secondary development program, read the code generated by the previous drawing code generation part, automatically generate a complete drawing and save it; S5: Drawing modification part. If it is a new project, you can select a similar project in the AutoCAD project archive or create a new project and directly modify the parameters therein; if it is a completed project, you can open AutoCAD to modify it; after the modification, the corresponding block can be set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks affected by the parameters in the drawing, and finally modify the parameters of all blocks according to the parameter changes to generate a new drawing code; the new drawing code is called again by the AutoCAD secondary development program and a new AutoCAD drawing is generated; S6: Drawing database is the link between various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and the drawing modification and the parameter modification of the drawing database are linked together by corresponding to the attribute value of the block in the drawing through the parameters.
3. The method for automatically generating AutoCAD drawings for chemical equipment according to claim 1, characterized in that: The drawing code generation part in S3 is based on the premise that the structural data and position data of the drawing conform to the graphic logic relationship in order to generate the correct code, otherwise the AutoCAD secondary open program cannot recognize and call the code.
4. The method for automatically generating AutoCAD drawings for chemical equipment according to claim 1, characterized in that: In the drawing modification part in S5, after a project is completed, the project can be archived, so that the block attribute value can be modified by using the archived project next time to generate a project of the same type.
5. A system for automatically generating AutoCAD drawings for chemical equipment based on the method for automatically generating AutoCAD drawings for chemical equipment as described in claims 1-4, characterized in that: The system specifically includes: Data input module, including input of design data and strength verification calculation data, such as design pressure, design temperature and hydraulic test pressure, etc.; The drawing composition module is connected to the data input module, including determining the components of the drawing, such as drawing sheet, head, cylinder, simplified flange, shell, tube bundle, rear tube box, saddle, etc., and determining the location of each component; clicking on a certain part, such as the head, can set the structural dimensions of the part, the nominal diameter of the head, wall thickness, straight edge length and position, etc.; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block of the AutoCAD drawing, and the block attributes correspond to the structural and position parameters; The drawing code generation module is connected with the drawing composition module, and generates the code of each part according to the structural data and position data of each drawing component, combined with the national standards, industry standards and enterprise regulations related to chemical drawing; the code can be called by the generation program based on AutoCAD secondary development and automatically generate AutoCAD drawings; The drawing module is connected with the drawing code generation module, opens the AutoCAD software, automatically runs the AutoCAD secondary development program, reads the code generated by the previous drawing code generation part, automatically generates a complete drawing and saves it; In the drawing modification part, if it is a new project, you can select a similar type of project in the AutoCAD project archive or create a new project, and directly modify the parameters in it; if it is a completed project, you can open AutoCAD to modify it. After the modification, the corresponding block can be set as modified, and then the drawing modification part is automatically started to modify the corresponding parameters of the block set as modified in the drawing database, and find the blocks in the drawing affected by the parameters. Finally, according to the parameter changes, modify the parameters of all blocks and generate new drawing codes. The new drawing code is called again by the AutoCAD secondary development program and generates a new AutoCAD drawing; The drawing database is connected to the drawing component modules and is the link between the various parts; the structural dimension data, position data and relationship data of each component are stored in the drawing database; each component of the drawing will correspond to a block in the AutoCAD drawing, and the block attributes correspond to the various structural and position parameters; and through the parameters corresponding to the attribute values of the blocks in the drawing, the drawing modification and the parameter modification of the drawing database are linked.
6. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for automatically generating AutoCAD drawings for chemical equipment as described in any one of claims 1-4.
7. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the method for automatically generating AutoCAD drawings for chemical equipment as described in any one of claims 1 to 4.
8. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the system for automatically generating AutoCAD drawings for chemical equipment as described in claim 5.