A method for constructing parametric drawing frames for AutoCAD

Through parametric drawing frame construction methods, customized drawing frame templates, and support for block editing and difference annotation, the difficulties in AutoCAD in non-standard drawing frame construction are solved, and the drawing efficiency and flexibility are improved.

CN115248970BActive Publication Date: 2025-10-03SHANGHAI JINQU INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110459843.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-27
Publication Date
2025-10-03
Estimated Expiration
2041-04-27

AI Technical Summary

Technical Problem

AutoCAD software does not provide sufficient support for non-standard drawing frame formats and complex drawing requirements, making it difficult for beginners and infrequent users to meet design needs.

Method used

A parametric drawing frame construction method is provided. By extracting drawing parameters, customizing drawing frame templates and storing them in a template library, the block function is used to edit and record attributes. Dynamic attribute text collection and management system collaboration are supported, and PDF and DWF files with password encryption are exported to achieve rapid retrieval of drawing frame information and difference annotation.

Benefits of technology

It improves the flexibility and drawing efficiency of the drawing frame, reduces the difficulty of drawing, and supports the rapid construction and difference annotation of non-standard drawing frames.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention provides a parametric drawing frame construction method for AutoCAD, comprising the following steps: S1: extracting parameters contained in a drawing to be drawn and providing a drawing frame standard based on the parameters; S2: customizing a drawing frame template based on the parameters and the drawing frame standard, and storing the drawing frame template in an AutoCAD template library; S3: using the AutoCAD block function, calling the drawing frame template in the template library, editing the drawing frame template in the AutoCAD drawing interface, storing attribute XData and a dictionary in the drawing block, recording attribute text and a signature box, and supporting dynamic attribute text collection and acquisition, batch text modification, and information docking or collaboration with a management system. By constructing a parametric drawing frame, the drawing frame can be flexibly modified as needed, greatly improving the efficiency of drawing and reducing the difficulty of drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of AutoCAD drawing, in particular to a parameterized drawing frame construction method for AutoCAD. Background Art

[0002] As the graphics support software for system development, AutoCAD has powerful two-dimensional drawing functions, a simple user interface, easy-to-learn software, and an open architecture that provides a variety of secondary development tools. It has a wide user base in the field of two-dimensional drawing.

[0003] However, for AutoCAD beginners and people who do not use it frequently, they are still required to have certain drawing skills and some in-depth understanding of the functions of AutoCAD software itself in order to use the software for simple design work. However, for some non-standard drawing frame forms and complex drawing requirements, the drawing frame templates that come with AutoCAD software cannot meet the design requirements. Summary of the Invention

[0004] The technical problem to be solved by the present invention is: in order to overcome the deficiencies in the prior art, the present invention provides a parametric drawing frame construction method for AutoCAD.

[0005] The technical solution adopted by the present invention to solve the technical problem is: a parametric drawing frame construction method for AutoCAD, comprising the following steps:

[0006] S1: Extract the parameters contained in the drawing to be drawn and give the drawing frame standard according to the parameters;

[0007] S2: Customize the drawing frame template according to the parameters and drawing frame standards, and store the drawing frame template in the AutoCAD template library;

[0008] S3: Through the block function of AutoCAD, call the frame template in the template library, edit the frame template in the AutoCAD drawing interface, store attribute XData and dictionary in the block, record attribute text and signature box, and support dynamic attribute text collection and acquisition, batch modification of text and information docking or collaboration with the management system.

[0009] Specifically, the frame standard includes the name, specification, font, font size, position and size of each parameter.

[0010] Furthermore, the frame template includes a PDF file signing service. Through the extensible keywords of PDF, the frame properties and signature frame information are stored. The exported PDF file contains all the information of the frame, providing support for rapid retrieval and role signature in the subsequent management system; and the exported PDF file supports password encryption or certificate encryption.

[0011] Furthermore, the frame template includes a DWF signature service. By storing the frame attributes and signature frame information in the DWF metadata node Global EPlot, the exported DWF file contains all the frame information, providing support for rapid retrieval and role signatures in the subsequent management system; the exported DWF file supports password encryption.

[0012] Furthermore, the differences between the same drawing at different design stages can be compared: through the handle's quick built-in index, if the handle units in the index do not correspond, the differences are directly marked in red; for the same handle units in the index, the feature categories and feature points are identified, and the differences are determined by the feature categories and feature points, and the differences are marked in red.

[0013] Furthermore, step S1 also includes the following steps: using the Edit Shared Parameters command in AutoCAD to create a shared parameter file for the extracted parameters of the drawing to be drawn, defining the path and file name of the shared parameter file, and saving the generated shared parameter file.

[0014] Furthermore, the frame template also includes the incorporation of frames of different frame ratios. First, the main ratio is determined, and the frame is drawn on the plan of the main ratio; then the node details are determined, and the frame is drawn according to the node details. Finally, the frame of the node details is copied to the frame of the main ratio to complete the frame incorporation.

[0015] The beneficial effects of the present invention are as follows: the present invention provides a parametric drawing frame construction method for AutoCAD, which can flexibly modify the drawing frame as needed through the construction of the parametric drawing frame, greatly improving the efficiency of drawing and reducing the difficulty of drawing. DETAILED DESCRIPTION

[0016] The present invention will now be described in detail.

[0017] A parametric drawing frame construction method for AutoCAD of the present invention comprises the following steps:

[0018] S1: Extract the parameters of the drawing to be drawn and generate drawing frame standards based on the parameters. The Edit Shared Parameters command in AutoCAD is used to create a shared parameter file for the extracted drawing parameters. The path and file name of the shared parameter file are defined and saved. The drawing frame standards include the name, specification, font, font size, and drawing frame location and size of each parameter.

[0019] S2: Customize the drawing frame template according to the parameters and drawing frame standards, and store the drawing frame template in the AutoCAD template library;

[0020] S3: Through the block function of AutoCAD, call the frame template in the template library, edit the frame template in the AutoCAD drawing interface, store attribute XData and dictionary in the block, record attribute text and signature box, and support dynamic attribute text collection and acquisition, batch modification of text and information docking / collaboration with the management system.

[0021] Furthermore, the frame template includes a PDF file signing service. Through the extensible keywords of PDF, the frame properties and signature frame information are stored. The exported PDF file contains all the information of the frame, providing support for rapid retrieval and role signature in the subsequent management system; and the exported PDF file supports password encryption or certificate encryption.

[0022] Furthermore, the frame template includes a DWF signature service. By storing the frame attributes and signature frame information in the DWF metadata node Global EPlot, the exported DWF file contains all the frame information, providing support for rapid retrieval and role signatures in the subsequent management system; the exported DWF file supports password encryption.

[0023] Furthermore, the differences between the same drawing at different design stages can be compared: through the handle's quick built-in index, if the handle units in the index do not correspond, the differences are directly marked in red; for the same handle units in the index, the feature categories and feature points are identified, and the differences are determined by the feature categories and feature points, and the differences are marked in red.

[0024] When adjusting the scale of a drawing, for example, you want to put a 1:20 node template in a 1:100 floor plan. First, determine that 1:100 is the main scale of the drawing. The 1:100 floor plan is drawn according to the above method. The 1:20 node template is also drawn according to the above method, and the various settings are modified. When you find that it is necessary to incorporate it into the 1:100 drawing, copy the 1:20 node into the 1:100 drawing frame, scale it 5 times, and then you need to modify the two parameters in the linear scale and annotation. The first is to change the global scale of the annotation to 1:100 (that is, the main scale), and the second is to change the linear scale of the annotation to 0.2. Of course, when drawing drawings of other scales, if you determine from the beginning that it will be placed together with drawings of other different scales, some of the above orders can be adjusted, which can reduce some steps and improve some efficiency.

[0025] With the above-described preferred embodiments of the present invention as inspiration, and with reference to the above description, relevant personnel may make various changes and modifications without departing from the scope of the present invention. The technical scope of this invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.

Claims

1. A parametric drawing frame construction method for AutoCAD, characterized by: The following steps are involved: S1: Extract the parameters contained in the drawing to be drawn and give the drawing frame standard according to the parameters; wherein, use the Edit Shared Parameters command in AutoCAD to create a shared parameter file for the extracted parameters of the drawing to be drawn, define the path and file name of the shared parameter file, and save the generated shared parameter file; S2: Customize the drawing frame template according to the parameters and drawing frame standards, and store the drawing frame template in the AutoCAD template library; S3: Through the block function of AutoCAD, call the frame template in the template library, edit the frame template in the AutoCAD drawing interface, store attribute XData and dictionary in the block, record attribute text and signature box, and support dynamic attribute text collection and acquisition, batch modification of text and information docking or collaboration with the management system.

2. The parametric drawing frame construction method for AutoCAD according to claim 1, wherein: The frame standard includes the name, specification, font, font size, position and size of each parameter.

3. The parametric drawing frame construction method for AutoCAD according to claim 1, wherein: The frame template includes a PDF file signature service, which stores frame attributes and signature frame information through PDF's extensible keywords. The exported PDF file contains all the frame information; and the exported PDF file supports password encryption or certificate encryption.

4. The parametric drawing frame construction method for AutoCAD according to claim 1, wherein: The frame template includes a DWF signature service. By storing the frame attributes and signature frame information in the DWF metadata node Global EPlot, the exported DWF file contains all the frame information; the exported DWF file supports password encryption.

5. The parametric drawing frame construction method for AutoCAD according to claim 1, wherein: Compare the differences between the same drawing at different design stages: quickly build in indexes through handles, and directly mark the differences in red when the handle units in the index do not correspond; for the same handle units in the index, identify the feature categories and feature points, and determine whether there are differences based on the feature categories and feature points, and mark the differences in red.

6. The parametric drawing frame construction method for AutoCAD according to claim 1, wherein: The frame template also includes the incorporation of frames of different frame ratios. First, determine the main ratio and draw the frame on the floor plan of the main ratio; then determine the node details and draw the frame according to the node details. Finally, copy the frame of the node details into the frame of the main ratio to complete the frame incorporation.

Citation Information

Patent Citations

  • Method for processing CAD drawing breadth

    CN101650751A

  • Data processing method and device for charting

    CN103593532A