A graphics primitive information parsing method and device
By classifying and parsing the layers of CAD files, structural beams can be quickly and accurately identified, solving the problem of low identification efficiency in existing technologies and improving the parsing efficiency and accuracy of CAD files.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 深圳卓蚁科技有限公司
- Filing Date
- 2023-06-02
- Publication Date
- 2026-06-12
AI Technical Summary
Existing technologies struggle to quickly and accurately identify and analyze structural beams in CAD construction drawings, resulting in low efficiency in AI-based review processes.
By acquiring CAD files and classifying them into layers, reading beam line information and annotation information, parsing double-line beam graphics and beam dimension information, and matching them, the beam cross-sectional dimension information of the structural beams is obtained.
It enables rapid and accurate identification of structural beams in CAD drawings, saving manual review time and improving the accuracy and efficiency of CAD file reading and information parsing.
Smart Images

Figure CN116756811B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided design technology, and in particular to a method and apparatus for parsing graphic element information. Background Technology
[0002] AutoCAD (Autodesk Computer-Aided Design) software is a drawing editing software that emerged with the digitization of the construction industry. It can parse CAD (Computer-Aided Design) drawings by reading drawing exchange files such as DXF (Drawing Interchange Format), DWT (Dreamweaver Template), and DWG (DraWinG). Currently, designers can edit DXF and DWG format CAD drawings using AutoCAD software on a PC.
[0003] Structural beams often appear in CAD construction drawings, requiring auxiliary judgment based on walls and other structures within the drawings. With the rise of artificial intelligence, a large number of projects previously handled manually can now be replaced by AI. Among these, the review of CAD construction drawings is a time-consuming and repetitive task. To facilitate AI review of CAD construction drawings, accurate identification of components in the drawings is necessary. This invention specifically addresses the accurate identification of structural beams in CAD drawings, proposing a high-accuracy and fast-speed method for parsing graphic element information.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a method and apparatus for parsing graphic element information, aiming to solve the technical problem of how to quickly and accurately read structural beams in CAD drawings in the prior art.
[0006] To achieve the above objectives, the present invention provides a method for parsing primitive information, the method comprising the following steps:
[0007] Obtain the CAD file to be parsed and classify its layers;
[0008] Read and parse the beam line information in the CAD drawing after the layer classification to obtain the parsed double-line beam body graphic;
[0009] Read and parse the beam annotation information in the CAD drawing after the layer classification to obtain the parsed beam annotation dimension information;
[0010] The analyzed double-line beam graphic is matched with the analyzed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.
[0011] Optionally, the beam line information in the CAD drawing after the layer classification is read and parsed to obtain the parsed double-line beam graphic. Specific steps include:
[0012] Read the beam line information and classify them according to the different values of the angle between each beam line and the coordinate axis;
[0013] Calculate the vertical distance between lines in each set, and group lines with a vertical distance of zero into the same subset.
[0014] Line combination matching is performed based on the different vertical distances between the subsets in the same set to obtain the analyzed double-line beam figure.
[0015] Optionally, after calculating the vertical distance between lines in each set and grouping lines with a vertical distance of zero into the same subset, the process further includes:
[0016] Based on the CAD drawings categorized by layers, identify and read the graphic element information of the load-bearing structure;
[0017] Using the graphic information of the load-bearing structure for auxiliary identification, single or multiple lines whose endpoints are on the load-bearing structure in the subset are classified into a line combination.
[0018] Identify the distance between the endpoints of lines in each subset, and if the distance between the endpoints is less than a first preset value, the lines are considered to be the same line.
[0019] Optionally, the process of matching lines based on different perpendicular distances between subsets within the same set to obtain the line combination matching in the parsed double-line beam figure includes the following steps:
[0020] Conditional matching judgment is performed on line combinations whose vertical distance is less than the second preset value;
[0021] A pair of lines that successfully match the conditions are merged into a beam, which contains the angle information and data structure of its own line combination.
[0022] Optionally, the conditional matching judgment of line combinations with a vertical distance less than a second preset value specifically includes:
[0023] Determine whether the number of lines in a line combination is the same;
[0024] Determine whether the line lengths in a line combination are the same.
[0025] Determine whether the positional relationship between the line combination and the same load-bearing structural element is the same.
[0026] Optionally, the beam annotation information in the CAD drawing after the layer classification is read and parsed to obtain the parsed beam annotation dimension information. Specific steps include:
[0027] Read the concentrated annotation information in the CAD drawing after the layer classification, and match the concentrated annotation information with the corresponding leader line with the smallest distance to obtain the annotation dimension information of the first beam;
[0028] Read the in-situ annotation information from the CAD drawing after the layer classification, and classify the in-situ annotation information as the second beam annotation dimension information;
[0029] The parsed beam dimension information is obtained by integrating the first beam dimension information and the second beam dimension information.
[0030] Optionally, the parsed double-line beam graphic is matched with the parsed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam. Specific steps include:
[0031] The analyzed double-line beam graphic and the analyzed beam dimension information are classified according to the beam angle to obtain multiple different matching sets;
[0032] The matching sets are then matched against the centralized annotation information to obtain the first matching result;
[0033] The matching sets are then matched with in-situ labeled information to obtain the second matching result;
[0034] The first matching result is compared with the second matching result. The parts that are the same are covered by the information of the second matching result to obtain the beam cross-sectional dimension information of the structural beam.
[0035] Optionally, the matching sets are subjected to centralized annotation information matching to obtain the first matching result. Specific steps include:
[0036] Determine whether the anchor point of the pilot line in the centralized annotation information is located in the beam;
[0037] If the judgment is successful, the number of spans in the centralized annotation information will be detected;
[0038] If the detection is successful, the matching set is successfully matched with the centralized annotation information, and a first matching result is output, which contains the centralized annotation information.
[0039] Furthermore, to achieve the above objectives, the present invention also proposes a primitive information parsing device, the primitive information parsing device comprising:
[0040] Layer classification module: Obtains the CAD file to be parsed and classifies its layers;
[0041] Graphics parsing module: Reads and parses the beam line information in the CAD drawing after the layer classification to obtain the parsed double-line beam graphic;
[0042] Information parsing module: Reads and parses the beam annotation information in the CAD drawing after the layer classification to obtain the parsed beam annotation dimension information;
[0043] Information matching module: Matches the parsed double-line beam graphic with the parsed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.
[0044] This invention acquires the CAD file to be parsed and classifies its layers; it reads and parses the beam line information in the classified CAD drawing to obtain the parsed double-line beam graphic; it reads and parses the beam annotation information in the classified CAD drawing to obtain the parsed beam annotation dimension information; and it matches the parsed double-line beam graphic with the parsed beam annotation dimension information to obtain the beam cross-sectional dimension information of the structural beam. This invention, through its element information parsing method, can quickly and accurately acquire all structural beam information in CAD drawings. This helps construction personnel judge the spatial structural relationships in CAD drawings, saving time compared to manual review. Furthermore, machine learning and configuration extensions can be used during the CAD file reading and information parsing process to improve the accuracy and efficiency of CAD file reading and information parsing. Attached Figure Description
[0045] Figure 1 This is a flowchart illustrating the first embodiment of the primitive information parsing method of the present invention;
[0046] Figure 2 This is a flowchart illustrating the second embodiment of the primitive information parsing method of the present invention;
[0047] Figure 3 This is a flowchart illustrating the third embodiment of the primitive information parsing method of the present invention;
[0048] Figure 4 This is a structural block diagram of the first embodiment of the primitive information parsing device of the present invention.
[0049] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0050] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0051] This invention provides a method for parsing primitive information, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of a primitive information parsing method according to the present invention.
[0052] In this embodiment, the primitive information parsing method includes the following steps:
[0053] Step S10: Obtain the CAD file to be parsed and classify its layers;
[0054] It should be noted that in actual implementation, CAD files generally contain multiple layers during design and production. The line colors and layouts of different layers are not the same, and the data information contained in each layer is also different. Therefore, when reading and parsing CAD files, it is necessary to first classify the CAD files into layers, and then read and parse the data information of each layer separately.
[0055] Step S20: Read and parse the beam line information in the CAD drawing after layer classification to obtain the parsed double-line beam graphic;
[0056] Understandably, beam line information mainly includes the beam structure information of the building designed in the CAD drawing, including the line composition of each beam in the CAD drawing, the beam position, and beam structure data.
[0057] It should be noted that the parsed double-line beam graphic includes all the beams contained in the CAD drawing, and integrates the beam line information of all the beams.
[0058] Step S30: Read and parse the beam annotation information in the CAD drawing after layer classification to obtain the parsed beam annotation dimension information;
[0059] It should be noted that beam annotation information refers to the textual information about the beam contained in the CAD drawing. Generally, in CAD drawing design, it is divided into in-situ annotation and centralized annotation. The information content is the beam number, beam size specifications, span number and other engineering data.
[0060] Step S40: Match the parsed double-line beam graphic with the parsed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.
[0061] It is understandable that the correspondence between the parsed double-line beam graphic and the parsed beam dimension information actually means that the data information of the beams are matched one-to-one. The data information of each beam is specific and can only be used to describe the engineering situation of the corresponding beam.
[0062] This embodiment acquires the CAD file to be parsed and classifies its layers; it reads and parses the beam line information in the CAD drawing after layer classification to obtain the parsed double-line beam graphic; it reads and parses the beam annotation information in the CAD drawing after layer classification to obtain the parsed beam annotation dimension information; and it matches the parsed double-line beam graphic with the parsed beam annotation dimension information to obtain the beam cross-sectional dimension information of the structural beam. This embodiment, through a primitive information parsing method, can quickly and accurately obtain all structural beam information in CAD drawings. This helps construction personnel judge the spatial structural relationships in CAD drawings, saving time on manual review. Furthermore, machine learning and configuration extensions can be used during the CAD file reading and information parsing process to improve the accuracy and efficiency of CAD file reading and information parsing.
[0063] refer to Figure 2 , Figure 2 This is a flowchart illustrating a second embodiment of a primitive information parsing method according to the present invention.
[0064] Based on the first embodiment described above, in this embodiment, step S20 specifically includes:
[0065] Step S21: Read the beam line information and classify them according to the different values of the angle between each beam line and the coordinate axis;
[0066] It should be noted that in the actual implementation, because the inclination angle of each beam is different when designing the CAD drawing, the beam lines contained in each beam will form corresponding angles with the coordinate axis. The beam lines are then classified according to the different angle values. Beam lines belonging to the same beam will be classified into the same set because the angle values are the same.
[0067] Step S22: Calculate the vertical distance between lines in each set, and group lines with a vertical distance of zero in each set into the same subset;
[0068] Understandably, the vertical distance between lines is used to distinguish and determine the position of lines within the same set of angles.
[0069] Step S23: Perform line combination matching based on the different vertical distances between the subsets in the same set to obtain the parsed double-line beam figure.
[0070] It should be noted that, due to the parallel nature of beam structures, the beam lines that make up the same beam in the same plane are parallel to each other.
[0071] In the specific implementation, each subset is first combined and matched according to different vertical distances to form each beam structure, and then these beam structures form an overall double-line beam pattern.
[0072] This embodiment achieves the reading and parsing of beam structures in CAD drawing files by classifying lines into sets. At the same time, machine learning and configuration extensions can be used in the process of reading and parsing CAD files, which helps to improve the accuracy and efficiency of CAD file reading and information parsing.
[0073] Furthermore, after calculating the perpendicular distance between lines in each set and grouping lines with a perpendicular distance of zero into the same subset, the process also includes:
[0074] Based on the CAD drawings categorized by layers, identify and read the graphic element information of the load-bearing structure;
[0075] Using the graphic information of the load-bearing structure for auxiliary identification, single or multiple lines whose endpoints are on the load-bearing structure in the subset are classified into a line combination.
[0076] Identify the distance between the endpoints of lines in each subset. If the distance between the endpoints of lines is less than a first preset value, they are considered to be the same line.
[0077] It is understandable that the graphic element information of the load-bearing structure in the CAD drawing includes: the location information of the load-bearing wall, the specification information of the load-bearing wall, the location information of the load-bearing column, and the specification information of the load-bearing column, etc.
[0078] It should be noted that the endpoints of the beam lines contained in the beam body are usually located at the intersection of the load-bearing structures. Therefore, the set of lines whose endpoints are located in the same load-bearing structure can be classified as the same line combination. In addition, the first preset value refers to the preset distance value of the line endpoints, which mainly serves to connect the broken areas of the secondary beam lines into a line.
[0079] Furthermore, line combination matching is performed based on the different perpendicular distances between subsets within the same set to obtain the line combination matching process in the analyzed double-line beam diagram. Specific steps include:
[0080] Conditional matching judgment is performed on line combinations whose vertical distance is less than the second preset value;
[0081] A pair of lines that successfully match the conditions are merged into a beam, which contains the angle information and data structure of its own line combination.
[0082] It should be noted that the second preset value refers to the vertical distance between line combinations, and its main function is to serve as a pre-selection condition for matching and judging each line combination.
[0083] Furthermore, conditional matching is performed on line combinations with a vertical distance less than a second preset value, specifically including:
[0084] Determine whether the number of lines in a line combination is the same;
[0085] Determine whether the line lengths in a line combination are the same.
[0086] Determine whether the positional relationship between the line combination and the same load-bearing structural element is the same.
[0087] It is understandable that the three judgment processes are carried out in parallel, but only line combinations that simultaneously meet all three judgment conditions can be merged into a single beam.
[0088] refer to Figure 3 , Figure 3 This is a flowchart illustrating a third embodiment of a primitive information parsing method according to the present invention.
[0089] Optionally, based on the first embodiment described above, in this embodiment, step S30 specifically includes:
[0090] S31: Read the concentrated annotation information in the CAD drawing after layer classification, and match the concentrated annotation information with the corresponding leader line with the smallest distance to obtain the annotation dimension information of the first beam;
[0091] It should be noted that in CAD structural drawings, depending on the data description and its location, there are generally two data annotation methods: centralized annotation and in-situ annotation. The combination of data from centralized and in-situ annotation provides a comprehensive description of the component, and if there are data conflicts, in-situ annotation generally takes precedence. Centralized annotation usually involves drawing leader lines near the component and concentrating the description, which looks more organized and describes the common data of the component.
[0092] S32: Read the in-situ annotation information from the CAD drawing after layer classification, and classify the in-situ annotation information as the second beam annotation dimension information;
[0093] Understandably, in-situ annotations are generally described directly around the component, which can look rather messy. They are separate explanations for the unique location data differences of the component. In addition, the concentrated annotations of the secondary beam area or grid area of the grid beam may not have leader lines when drawing. Therefore, when there are no leader lines, the matching rules between the concentrated annotations and the beam body are the same as those of the in-situ annotations. That is, the dimension information of the second beam also includes the concentrated annotation information of the secondary beam area or grid area of the grid beam.
[0094] S33: Integrate the dimension information of the first beam and the dimension information of the second beam to obtain the parsed beam dimension information.
[0095] It should be noted that the dimension information of the first beam includes the centralized dimension information in the CAD drawing, and the dimension information of the second beam includes the in-situ dimension information in the CAD drawing. The integration and parsing of the two involves sorting out all the read data and verifying the annotation of beam components with repeated annotations.
[0096] This embodiment obtains clear and specific beam dimension information by reading and analyzing centralized and in-situ annotations in CAD drawings, thus improving the accuracy of reading and analysis.
[0097] Furthermore, the analyzed double-line beam diagram is matched with the analyzed beam dimension information to obtain the beam cross-sectional dimensions of the structural beam. Specific steps include:
[0098] The parsed double-line beam graphic and the parsed beam dimension information are classified according to the beam angle to obtain multiple different matching sets;
[0099] The matching set is then matched against the centrally labeled information to obtain the first matching result;
[0100] The matching set is then matched with the in-situ labeled information to obtain the second matching result;
[0101] The first matching result is compared with the second matching result. The parts that are the same are covered by the information of the second matching result to obtain the beam cross-sectional dimension information of the structural beam.
[0102] It should be noted that the comparison between the first and second matching results is intended to avoid annotation confusion caused by duplicate annotations. All duplicate annotations will be covered by the in-situ annotation information to ensure the uniqueness of the information annotation for each structural beam.
[0103] Furthermore, the matching set is subjected to centralized annotation information matching to obtain the first matching result. The specific steps include:
[0104] Determine whether the anchor point of the pilot line in the centralized annotation information is located in the beam body;
[0105] If the judgment is successful, the number of spans in the centralized annotation information will be checked;
[0106] If the detection is successful, the matching set and the centralized annotation information are successfully matched, and the first matching result is output, which contains the centralized annotation information.
[0107] Furthermore, the matching set is matched with in-situ labeled information to obtain the second matching result. The specific steps include:
[0108] The in-situ annotation information in the matching set is traversed and matched with the beam body;
[0109] When the distance between the in-situ annotation information and the beam body meets the third preset value, the matching is successful and the second matching result is obtained.
[0110] Reference Figure 4 , Figure 4 This is a structural block diagram of the first embodiment of the primitive information parsing device of the present invention.
[0111] like Figure 4 As shown, the primitive information parsing device proposed in this embodiment of the invention includes:
[0112] Layer Classification Module 10: Obtain the CAD file to be parsed and classify its layers;
[0113] Graphics parsing module 20: Reads and parses the beam line information in the CAD drawing after layer classification to obtain the parsed double-line beam graphic;
[0114] Information parsing module 30: Reads and parses the beam annotation information in the CAD drawing after layer classification to obtain the parsed beam annotation dimension information;
[0115] Information matching module 40: Matches the parsed double-line beam graphic with the parsed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.
[0116] This embodiment acquires the CAD file to be parsed and classifies its layers; it reads and parses the beam line information in the CAD drawing after layer classification to obtain the parsed double-line beam graphic; it reads and parses the beam annotation information in the CAD drawing after layer classification to obtain the parsed beam annotation dimension information; and it matches the parsed double-line beam graphic with the parsed beam annotation dimension information to obtain the beam cross-sectional dimension information of the structural beam. This embodiment, through a primitive information parsing method, can quickly and accurately obtain all structural beam information in CAD drawings. This helps construction personnel judge the spatial structural relationships in CAD drawings, saving time on manual review. Furthermore, machine learning and configuration extensions can be used during the CAD file reading and information parsing process to improve the accuracy and efficiency of CAD file reading and information parsing.
[0117] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0118] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0119] In addition, for technical details not described in detail in this embodiment, please refer to the primitive information parsing method provided in any embodiment of the present invention, which will not be repeated here.
[0120] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0121] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0122] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0123] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for parsing primitive information, characterized in that, The primitive information parsing method includes: Obtain the CAD file to be parsed and classify its layers; The specific steps of reading and parsing the beam line information in the CAD drawing after layer classification to obtain the parsed double-line beam graphic include: Read the beam line information and classify them according to the different values of the angle between each beam line and the coordinate axis; Calculate the vertical distance between lines in each set, and group lines with a vertical distance of zero into the same subset. Based on the CAD drawings categorized by layers, identify and read the graphic element information of the load-bearing structure; Using the graphic information of the load-bearing structure for auxiliary identification, single or multiple lines whose endpoints are on the load-bearing structure in the subset are classified into a line combination. Identify the distance between the endpoints of lines in each subset; if the distance between the endpoints of lines is less than a first preset value, they are considered to be the same line. By matching the different perpendicular distances between the subsets in the same set, the analytical double-line beam figure is obtained; Read and parse the beam annotation information in the CAD drawing after the layer classification to obtain the parsed beam annotation dimension information; The analyzed double-line beam graphic is matched with the analyzed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.
2. The primitive information parsing method as described in claim 1, characterized in that, The process of matching lines based on the different perpendicular distances between subsets within the same set to obtain the line combination matching process in the parsed double-line beam figure includes the following steps: Conditional matching judgment is performed on line combinations whose vertical distance is less than the second preset value; A pair of lines that successfully match the conditions are merged into a beam, which contains the angle information and data structure of its own line combination.
3. The primitive information parsing method as described in claim 2, characterized in that, The conditional matching judgment of line combinations with a vertical distance less than a second preset value specifically includes: Determine whether the number of lines in a line combination is the same; Determine whether the line lengths in a line combination are the same. Determine whether the positional relationship between the line combination and the same load-bearing structural element is the same.
4. The primitive information parsing method as described in claim 3, characterized in that, Read and parse the beam annotation information from the CAD drawing after layer classification to obtain the parsed beam annotation dimension information. The specific steps include: Read the concentrated annotation information in the CAD drawing after the layer classification, and match the concentrated annotation information with the corresponding leader line with the smallest distance to obtain the annotation dimension information of the first beam; Read the in-situ annotation information from the CAD drawing after the layer classification, and classify the in-situ annotation information as the second beam annotation dimension information; The parsed beam dimension information is obtained by integrating the first beam dimension information and the second beam dimension information.
5. The primitive information parsing method as described in claim 4, characterized in that, The analyzed double-line beam graphic is matched with the analyzed beam dimension information to obtain the beam cross-sectional dimensions of the structural beam. Specific steps include: The analyzed double-line beam graphic and the analyzed beam dimension information are classified according to the beam angle to obtain multiple different matching sets; The matching sets are then matched against the centralized annotation information to obtain the first matching result; The matching sets are then matched with in-situ labeled information to obtain the second matching result; The first matching result is compared with the second matching result. The parts that are the same are covered by the information of the second matching result to obtain the beam cross-sectional dimension information of the structural beam.
6. The primitive information parsing method as described in claim 5, characterized in that, The matching sets are matched with the centralized annotation information to obtain the first matching result. The specific steps include: Determine whether the anchor point of the pilot line in the centralized annotation information is located in the beam; If the judgment is successful, the number of spans in the centralized annotation information will be detected; If the detection is successful, the matching set is successfully matched with the centralized annotation information, and a first matching result is output, which contains the centralized annotation information.
7. The primitive information parsing method as described in claim 6, characterized in that, The matching set is then matched with in-situ labeled information to obtain the second matching result. The specific steps include: The in-situ annotation information in the matching set is traversed and matched with the beam body; When the distance between the in-situ annotation information and the position of the beam meets the third preset value, the matching is successful and the second matching result is obtained.
8. A primitive information parsing apparatus, applied to the primitive information parsing method as described in any one of claims 1-7, characterized in that, The primitive information parsing device includes: Layer classification module: Obtains the CAD file to be parsed and classifies its layers; Graphics parsing module: Reads and parses the beam line information in the CAD drawing after the layer classification to obtain the parsed double-line beam graphic; Information parsing module: Reads and parses the beam annotation information in the CAD drawing after the layer classification to obtain the parsed beam annotation dimension information; Information matching module: Matches the parsed double-line beam graphic with the parsed beam dimension information to obtain the beam cross-sectional dimension information of the structural beam.