CN109446695A - A method of based on the quick picture mosaic of ACAD - Google Patents

A method of based on the quick picture mosaic of ACAD Download PDF

Info

Publication number
CN109446695A
CN109446695A CN201811325567.0A CN201811325567A CN109446695A CN 109446695 A CN109446695 A CN 109446695A CN 201811325567 A CN201811325567 A CN 201811325567A CN 109446695 A CN109446695 A CN 109446695A
Authority
CN
China
Prior art keywords
dwg
acad
file
program
picture mosaic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811325567.0A
Other languages
Chinese (zh)
Inventor
尹春明
乔新旺
李久成
付常谊
孙树松
李华冰
张帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Shanhaiguan Bridge Group Co Ltd
Original Assignee
China Railway Shanhaiguan Bridge Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Shanhaiguan Bridge Group Co Ltd filed Critical China Railway Shanhaiguan Bridge Group Co Ltd
Priority to CN201811325567.0A priority Critical patent/CN109446695A/en
Publication of CN109446695A publication Critical patent/CN109446695A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The present invention provides a kind of methods based on the quick picture mosaic of ACAD, secondary development is carried out to ACAD program by Visual LISP, calling program is set to choose DWG the and DXF file of merging, and DWG the and DXF file that need to merge is ranked up according to insertion sequence, after sequence, according to sequence by hiding the maximal encasing box for calling ACAD main program successively to calculate all pels in DWG and DXF file, a new DWG file is finally opened, the figure in DWG the and DXF file that need to merge is sequentially inserted into new DWG file and is spliced according to the condition of setting.The entire splicing that merges is carried out by program, carries out merging splicing manually without artificial, the labor intensity of staff is greatly lowered, and avoids artificially merging splicing bring mistake, has the characteristics that high-efficient, error rate is low.

Description

A method of based on the quick picture mosaic of ACAD
Technical field
The present invention relates to mechanical drawing technical fields, in particular to a kind of method based on the quick picture mosaic of ACAD.
Background technique
It is universal with BIM technology, model that figure is more and more, and current three-dimensional BIM software goes out X-Y scheme using BIM technology When, the X-Y scheme gone out automatically, which needs manually largely to change the line map, is just able to satisfy production and application.Three-dimensional software X-Y scheme mark is weaker, needs It imported into efficient ACAD and modifies, but the two-dimentional drawing that three-dimensional software goes out automatically is individual a large amount of drawing, is needed It modifies out and schemes in batches by hand, several hundred drawing efficiency of merging are extremely low by hand, and error rate is high.
Summary of the invention
The main purpose of the present invention is to provide a kind of method based on the quick picture mosaic of ACAD, to solve in the prior art three It when dimension figure generates a large amount of single two-dimensional figures, needs to modify out in batches by hand and scheme, merge a large amount of drawing low efficiencys by hand, go out The high problem of error rate.
To achieve the goals above, the present invention provides a kind of method based on the quick picture mosaic of ACAD, pass through Visual LISP carries out secondary development to ACAD program, so that calling program is carried out quick picture mosaic according to step S101 to step S104, wherein walking Rapid S101: DWG the and DXF file that need to merge is chosen;Step S102: to DWG the and DXF file that need to merge according to insertion sequence into Row sequence, and sequence can be manually adjusted;Step S103: it is hidden according to the tab sequential of step S102 and calls ACAD main program successively The maximal encasing box of all pels in DWG and DXF file is calculated, and data are stored in temporary file;Step S104: it opens One new DWG file, will be needed in step S103 the figure in combined DWG and DXF file be sequentially inserted into new DWG file by Spliced according to the condition of setting.
Further, in the step S104, during insertion, program can as desired to the figure of insertion into Row is transversely or longitudinally regularly arranged, and can control the horizontal and vertical spacing between the figure of insertion.
Further, in the step S104, program can carry out the figure in DWG and DXF file according to correlation Grouping insertion.
Further, in the step S104, program can be to the additional picture frame of the figure of insertion and title block.
Further, in the step S104, program is identified the figure write-in filename of each insertion.
It applies the technical scheme of the present invention, secondary development is carried out to ACAD program by Visual LISP, enables calling program It is enough to choose combined DWG and DXF file, and DWG the and DXF file that need to merge is ranked up according to insertion sequence, after sequence, According to sequence by hiding the maximal encasing box for calling ACAD main program successively to calculate all pels in DWG and DXF file, most A new DWG file is opened afterwards, and the figure in DWG the and DXF file that need to merge is sequentially inserted into new DWG file according to setting The condition set is spliced.The entire splicing that merges is carried out by program, carries out merging splicing manually without artificial, significantly The labor intensity for reducing staff avoids artificially merging splicing bring mistake, has the characteristics that high-efficient, error rate is low.
Detailed description of the invention
The accompanying drawings constituting a part of this application is used to provide further understanding of the present invention, and of the invention shows Examples and descriptions thereof are used to explain the present invention for meaning property, does not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of method based on the quick picture mosaic of ACAD of the invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
It is noted that following detailed description is all illustrative, it is intended to provide further instruction to the application.Unless another It indicates, all technical and scientific terms used herein has usual with the application person of an ordinary skill in the technical field The identical meanings of understanding.
In the present invention, in the absence of explanation to the contrary, the noun of locality used such as " upper and lower, top, bottom " is usually needle For direction shown in the drawings, or for component itself is on vertical, vertical or gravity direction;Equally Ground for ease of understanding and describes, and " inside and outside " refers to the inside and outside of the profile relative to each component itself, but the above-mentioned noun of locality is not For limiting the present invention.
When to solve a large amount of single two-dimensional figures of three-dimensional figure generation in the prior art, need to modify out in batches by hand Figure merges the high problem of a large amount of drawing low efficiencys, error rate by hand, and the present invention provides a kind of sides based on the quick picture mosaic of ACAD Method.
As shown in Figure 1, the method for the invention based on the quick picture mosaic of ACAD be by Visual LISP to ACAD program into Row secondary development makes calling program carry out quick picture mosaic according to step S101 to step S104, wherein step S101: selection needs to merge DWG and DXF file;Step S102: DWG the and DXF file that need to merge is ranked up according to insertion sequence, and can be adjusted manually Whole sequence;Step S103: it is hidden according to the tab sequential of step S102 and ACAD main program is called successively to calculate DWG and DXF file In all pels maximal encasing box, and data are stored in temporary file;Step S104: opening a new DWG file, will It needs the figure in combined DWG and DXF file to be sequentially inserted into new DWG file in step S103 to carry out according to the condition of setting Splicing.
Secondary development is carried out to ACAD program by Visual LISP, calling program is enable to choose the DWG and DXF of merging File, and DWG the and DXF file that need to merge is ranked up according to insertion sequence, after sequence, called according to sequence by hiding ACAD main program successively calculates the maximal encasing box of all pels in DWG and DXF file, finally opens a new DWG file, Figure in DWG the and DXF file that need to merge is sequentially inserted into new DWG file and is spliced according to the condition of setting.It is whole A merging splicing is carried out by program, carries out merging splicing manually without artificial, the labour of staff is greatly lowered Intensity avoids artificially merging splicing bring mistake, has the characteristics that high-efficient, error rate is low.
Preferably, in the step S104, during insertion, program can as desired be carried out the figure of insertion It is transversely or longitudinally regularly arranged, and the horizontal and vertical spacing between the figure of insertion can be controlled, so as to meet not With the habit of staff, and meet it is subsequent go out different when scheming require.
Preferably, in the step S104, program can divide the figure in DWG and DXF file according to correlation Group insertion.It after being grouped according to correlation, is inserted by group, reduces the time of subsequent diagram sequence, it can be further It improves and merges splicing efficiency.
Preferably, in the step S104, program can be to the additional picture frame of the figure of insertion and title block, to each insertion Figure write-in filename is identified, to carry out pattern recognition after facilitating merging splicing, reduces the subsequent fiber crops for repairing icon figure It is tired, it avoids malfunctioning.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singular Also it is intended to include plural form, additionally, it should be understood that, when in the present specification using term "comprising" and/or " packet Include " when, indicate existing characteristics, step, work, device, component and/or their combination.
It should be noted that term " includes " and " tool in the description and claims of this application and above-mentioned attached drawing Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (5)

1. a kind of method based on the quick picture mosaic of ACAD, which is characterized in that carry out two to ACAD program by Visual LISP Secondary exploitation makes calling program follow the steps below quick picture mosaic:
Step S101: DWG the and DXF file that need to merge is chosen;
Step S102: being ranked up DWG the and DXF file that need to merge according to insertion sequence, and can manually adjust sequence;
Step S103: it is hidden according to the tab sequential of step S102 and ACAD main program is called successively to calculate in DWG and DXF file The maximal encasing box of all pels, and data are stored in temporary file;
Step S104: a new DWG file is opened, the figure in combined DWG and DXF file will be needed successively to insert in step S103 Enter and is spliced into new DWG file according to the condition of setting.
2. the method according to claim 1 based on the quick picture mosaic of ACAD, which is characterized in that in the step S104, During insertion, program can be transversely or longitudinally regularly arranged to the figure progress of insertion as desired, and can control Horizontal and vertical spacing between the figure of insertion.
3. the method according to claim 1 based on the quick picture mosaic of ACAD, which is characterized in that in the step S104, journey Sequence can be grouped insertion according to correlation to the figure in DWG and DXF file.
4. the method according to claim 1 based on the quick picture mosaic of ACAD, which is characterized in that in the step S104, journey Sequence can be to the additional picture frame of the figure of insertion and title block.
5. the method according to claim 4 based on the quick picture mosaic of ACAD, which is characterized in that in the step S104, journey The figure write-in filename of each insertion of ordered pair is identified.
CN201811325567.0A 2018-11-08 2018-11-08 A method of based on the quick picture mosaic of ACAD Pending CN109446695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811325567.0A CN109446695A (en) 2018-11-08 2018-11-08 A method of based on the quick picture mosaic of ACAD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811325567.0A CN109446695A (en) 2018-11-08 2018-11-08 A method of based on the quick picture mosaic of ACAD

Publications (1)

Publication Number Publication Date
CN109446695A true CN109446695A (en) 2019-03-08

Family

ID=65550774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811325567.0A Pending CN109446695A (en) 2018-11-08 2018-11-08 A method of based on the quick picture mosaic of ACAD

Country Status (1)

Country Link
CN (1) CN109446695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446084A (en) * 2020-12-14 2021-03-05 四川蓉信开工程设计有限公司 Adaptive plotting method for interactive design of Revit and traditional plotting software

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268067A (en) * 1999-03-16 2000-09-29 Sanyo Electric Co Ltd Three-dimensional cad data corrector
US7173622B1 (en) * 2002-04-04 2007-02-06 Figment 3D Enterprises Inc. Apparatus and method for generating 3D images
GB201202011D0 (en) * 2012-02-06 2012-03-21 Moshe Goor Method and system for computer aided manufacturing of 3D puzzles using computer generated modeling
US20130326443A1 (en) * 2012-05-29 2013-12-05 Applied Materials Israel Ltd. Method of generating a recipe for a manufacturing tool and system thereof
CN104299255A (en) * 2014-09-30 2015-01-21 长江岩土工程总公司(武汉) Three-dimensional terrain model rendering method
CN105095599A (en) * 2015-08-28 2015-11-25 中国电力科学研究院 DWG format drawing automatic generation method
CN105094770A (en) * 2014-05-06 2015-11-25 沈阳透平机械股份有限公司 DXF format file-based programmed drawing method of engineering drawing
US9495726B1 (en) * 2012-05-23 2016-11-15 DEP Autoline, Inc. System and method for morphing a CAD design element
US20170147717A1 (en) * 2014-08-19 2017-05-25 Honeywell International Inc. Building data consolidation methods and systems

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268067A (en) * 1999-03-16 2000-09-29 Sanyo Electric Co Ltd Three-dimensional cad data corrector
US7173622B1 (en) * 2002-04-04 2007-02-06 Figment 3D Enterprises Inc. Apparatus and method for generating 3D images
GB201202011D0 (en) * 2012-02-06 2012-03-21 Moshe Goor Method and system for computer aided manufacturing of 3D puzzles using computer generated modeling
US9495726B1 (en) * 2012-05-23 2016-11-15 DEP Autoline, Inc. System and method for morphing a CAD design element
US20130326443A1 (en) * 2012-05-29 2013-12-05 Applied Materials Israel Ltd. Method of generating a recipe for a manufacturing tool and system thereof
CN105094770A (en) * 2014-05-06 2015-11-25 沈阳透平机械股份有限公司 DXF format file-based programmed drawing method of engineering drawing
US20170147717A1 (en) * 2014-08-19 2017-05-25 Honeywell International Inc. Building data consolidation methods and systems
CN104299255A (en) * 2014-09-30 2015-01-21 长江岩土工程总公司(武汉) Three-dimensional terrain model rendering method
CN105095599A (en) * 2015-08-28 2015-11-25 中国电力科学研究院 DWG format drawing automatic generation method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
李永庆: "AutoLISP在AutoCAD自动拼接测量图中的应用", 《水科学与工程技术》 *
杜海霞: "基于Auto CAD的轴类零件的参数化设计", 《科技信息》 *
董玉梅等: "用CAD由二维零件图自动生成装配图方法的探讨", 《机电工程技术》 *
韩文: "工程地质勘察中AutoCAD图形快速拼接方法", 《科技资讯》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446084A (en) * 2020-12-14 2021-03-05 四川蓉信开工程设计有限公司 Adaptive plotting method for interactive design of Revit and traditional plotting software

Similar Documents

Publication Publication Date Title
AU2021200709B2 (en) Methods and systems for designing photovoltaic systems
Isebor et al. Biobjective optimization for general oil field development
US8479218B2 (en) Automatically arranging objects in a graphical program block diagram
BRPI0807392B1 (en) method of calculating a development plan for at least a portion of a field containing an underground resource, and computer readable media encoded with a computer program for calculating a development plan for at least a portion of a field containing an underground resource an underground resource.
CN106650827A (en) Human body posture estimation method and system based on structure guidance deep learning
JPH0652176A (en) Optimizing method and process plan generation device using the method
CN109446695A (en) A method of based on the quick picture mosaic of ACAD
Han et al. Guided operators for a hyper-heuristic genetic algorithm
CN106020959A (en) Data migration method and device
WO2013164123A1 (en) Method and device for creating a system layout of a photovoltaic open-space power plant
CN107050860A (en) Method, device, storage medium and the processor of map generation
CN107402947A (en) Picture retrieval method for establishing model and device, picture retrieval method and device
CN106415549A (en) Method and system for forming site network
CN105893655A (en) Physical simulation method for petroleum reservoir architecture
CN110136227A (en) Mask method, device, equipment and the storage medium of high-precision map
CN106611441A (en) Processing method and device for three-dimensional map
CN110456820A (en) Pesticide application system and control method based on ultra-wide band wireless location
CN104346172A (en) Irregular DIV dynamic layout method
CN109681165B (en) Water injection strategy optimization method and device for oil extraction in oil field
EP2828776A1 (en) Method and device for creating a system layout of a photovoltaic open-space power plant having solar trackers
CN106383832A (en) Data excavation training model forming method
CN106602729A (en) Physical loop fast connection method based on template base
CN106547523A (en) Progress bar progress display packing, apparatus and system
US20060090152A1 (en) Schematic diagram generation and display system
CN109816569A (en) A kind of processing method and system of matching screening teacher

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication