CN109062570A - A kind of method and storage medium automatically generating drawing based on EPLAN software - Google Patents
A kind of method and storage medium automatically generating drawing based on EPLAN software Download PDFInfo
- Publication number
- CN109062570A CN109062570A CN201810538392.5A CN201810538392A CN109062570A CN 109062570 A CN109062570 A CN 109062570A CN 201810538392 A CN201810538392 A CN 201810538392A CN 109062570 A CN109062570 A CN 109062570A
- Authority
- CN
- China
- Prior art keywords
- software
- interface
- eplan
- automatically generating
- macro
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
Abstract
The invention discloses a kind of methods and storage medium that drawing is automatically generated based on EPLAN software, method includes the following steps: creation drawing element database;The secondary development program on EPLAN basis of software realizes software interface and drawing element database association, wherein software interface includes target object configuration interface and generation drawing interface;After the information of the drawing generated required for being configured in target object configuration interface, into generation drawing interface auto-generating drawing, wherein information includes drawing element and project information.The present invention, which is able to achieve, automatically generates drawing, and the degree of automation is higher, and accuracy rate is high, and relative to manual drawing, drawing efficiency is greatly promoted.
Description
Technical field
The present invention relates to drawing field of drawing more particularly to it is a kind of based on EPLAN software automatically generate drawing method and
Storage medium.
Background technique
Currently, EPLAN generates there are two ways to drawing: first is that, it is manually inserted into the generation of symbol automatic connecting, it still, should
Method needs operator to have certain EPLAN use experience, and manual operation efficiency is lower, and the duration is longer, when needing to spend more
Between checked one by one;Second is that still, passing through EXCEL table by the way that EXCEL table configuration symbols are macro or page macro generation and configuring macro life
At the macro of the every a line of manual configuration is needed, need to call under normal conditions it is macro very much, it is easy to omit or call error, no
Easy to control and inspection.
Summary of the invention
For overcome the deficiencies in the prior art, it is automatic based on EPLAN software that one of the objects of the present invention is to provide one kind
The method for generating drawing, is able to achieve and automatically generates drawing, and the degree of automation is higher, and accuracy rate is high, relative to manual drawing, system
Figure efficiency greatly promotes.
The second object of the present invention is to provide a kind of computer readable storage medium, is able to achieve and automatically generates drawing,
The degree of automation is higher, and accuracy rate is high, and relative to manual drawing, drawing efficiency is greatly promoted.
An object of the present invention adopts the following technical scheme that realization:
A method of drawing is automatically generated based on EPLAN software, comprising the following steps:
Create drawing element database;
The secondary development program on EPLAN basis of software realizes software interface and the drawing element database association,
In, the software interface includes target object configuration interface and generation drawing interface;
After the information of the drawing generated required for being configured in the target object configuration interface, into the generation drawing
Interface auto-generating drawing, wherein the information includes drawing element and project information.
Further, there is parameter configuration option can generated after automatically generating drawing at the generation drawing interface
Drawing on carry out parameter configuration.
Further, the parameter configuration option includes: point of interruption connection, PLC IP address and the address PLC IO.
Further, the creation drawing element database specifically: creation project of standard development, it will be in the project of standard development
Various modules are split according to classification rule, and are stored in drawing element database for similar module as the macro of unification
In.
Further, described macro including symbol is macro, figure is macro and page is macro.
Further, the secondary development program on EPLAN basis of software realizes software interface and the drawing element
Database association specifically: develop program with C# language to realize being associated with for software interface and drawing element database.
Further, the method also includes designing the display content of the software interface.
Further, the display content of the design software interface specifically: edited by XML described soft to design
The display content at part interface.
Further, the software interface further includes project configuration interface, and the target object configuration interface has multiple;
It is generated required for choosing technical routine at the project configuration interface then and can enter specified target object configuration interface configuration
The information of drawing.
The second object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, the computer-readable recording medium storage have executable program, the journey
The above-mentioned method that drawing is automatically generated based on EPLAN software can be realized when sort run.
Compared with prior art, the beneficial effects of the present invention are:
By developing program, realization software interface is associated with drawing element database, matches to realize in target object
It sets interface and carries out option or fill substance, after the information for configuring the good required drawing generated, drawing can be automatically generated;It is logical
Automatic cartography can be realized by crossing this method, and accuracy rate is high, and drawing efficiency is high, and operator does not need have EPLAN operating experience.
Detailed description of the invention
Fig. 1 is a kind of flow chart for the method that drawing is automatically generated based on EPLAN software provided by the invention.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
Referring to Fig. 1, it is a kind of flow chart of method for automatically generating drawing based on EPLAN software, this method includes
Following steps:
S1, creation drawing element database;
S2, the secondary development program on EPLAN basis of software realize software interface and drawing element database association,
In, software interface includes target object configuration interface and generation drawing interface;
S3, target object configuration interface configure required for generate drawing information after, into generate drawing interface
Automatically generate drawing, wherein information includes drawing element and project information.
By above method, user only needs to choose corresponding drawing element in target object configuration interface and fills in phase
The project information content answered, drawing can be automatically generated by clicking generation drawing, and operator is not required to have EPLAN operating experience,
The degree of automation is higher, and drawing efficiency is high and accuracy rate is high.
As a preferred embodiment, in step s3, generating drawing interface has parameter configuration option, automatic
After generating drawing, parameter configuration can be carried out on drawing generated.Parameter configuration option includes: point of interruption connection, PLC IP
Address and the address PLC IO.User can carry out corresponding parameter configuration according to demand.
As a preferred embodiment, in step sl, creating drawing element database specifically: creation normal term
Mesh splits the various modules in project of standard development according to classification rule, and using similar module as unified macro preservation
In drawing element database.Each master pattern of project of standard development finger device part, for example a kind of cabinet type standard of power distribution cabinet is
Project of standard development, component information, cable information, layout, terminal and plug is contained in project of standard development using standard etc., a kind of
Power distribution cabinet can have multiple cabinet type standards, that is, have multiple projects of standard development.Various modules in project of standard development are advised according to classification
It is then split, for example each circuit of power distribution cabinet is split according to function, all lighting loops are saved at unified
It is macro, the circuit of power supply and distribution is saved as it is unified macro, and so on.Simultaneously for unified circuit have Parameters variation into
Row value collection setting, for example starting-up later time is clicked, breaker model, circuit breaker current size, transducer power, frequency converter can be added
Model, braking resistor model, cable model, terminal model, wire size number etc. carry out corresponding parameter change according to selection performance number
Change.
As a preferred embodiment, macro includes that symbol is macro, figure is macro and page is macro.
As a preferred embodiment, in step s 2, the secondary development program on EPLAN basis of software is realized
Software interface and drawing element database association specifically: develop program with C# language to realize software interface and drawing element
The association of database.Write program using C# language, by software interface (including target object configuration interface and generate drawing circle
Face) get up with drawing element database association, by choosing corresponding drawing element in target object configuration interface and filling in item
Mesh information realizes automatic cartography subsequently into drawing interface auto-generating drawing is generated.
As a preferred embodiment, method further includes the display content at design software interface.Design software interface
Display content specifically: the display content come design software interface is edited by XML.According to the C# language program write and
Mapping demand carrys out the display content at design software interface, and automatic cartography can be realized in the interface corresponding content of selection to reach
Purpose.
As a preferred embodiment, software interface further includes project configuration interface, target object configuration interface tool
Have multiple;It is generated required for choosing technical routine at project configuration interface then and can enter specified target object configuration interface configuration
Drawing information.Setting project configuration interface draws the target object of drawing required for deactivating by project configuration interface
Configuration interface, to automatically generate drawing after the information of the drawing generated required for configuration is good.
In addition, the present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage
There is executable program, described program can realize the above-mentioned method for automatically generating drawing based on EPLAN software when running.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.
Claims (10)
1. a kind of method for automatically generating drawing based on EPLAN software, which comprises the following steps:
Create drawing element database;
The secondary development program on EPLAN basis of software realizes software interface and the drawing element database association, wherein
The software interface includes target object configuration interface and generation drawing interface;
After the information of the drawing generated required for being configured in the target object configuration interface, into the generation drawing interface
Automatically generate drawing, wherein the information includes drawing element and project information.
2. the method for automatically generating drawing based on EPLAN software as described in claim 1, which is characterized in that the generation figure
There is parameter configuration option parameter configuration can be carried out on drawing generated after automatically generating drawing at paper interface.
3. the method for automatically generating drawing based on EPLAN software as claimed in claim 2, which is characterized in that the parameter is matched
Setting option includes: point of interruption connection, PLC IP address and the address PLC IO.
4. the method for automatically generating drawing based on EPLAN software as described in claim 1, which is characterized in that the creation is drawn
Figure element database specifically: creation project of standard development tears the various modules in the project of standard development according to classification rule open
Point, and be stored in similar module as the macro of unification in drawing element database.
5. the method for automatically generating drawing based on EPLAN software as claimed in claim 4, which is characterized in that described macro to include
Symbol is macro, figure is macro and page is macro.
6. the method for automatically generating drawing based on EPLAN software as described in claim 1, which is characterized in that described in EPLAN
Secondary development program on basis of software realizes software interface and the drawing element database association specifically: uses C# language
Exploitation program realizes being associated with for software interface and drawing element database.
7. the method for automatically generating drawing based on EPLAN software as described in claim 1, which is characterized in that the method is also
Display content including designing the software interface.
8. the method for automatically generating drawing based on EPLAN software as claimed in claim 7, which is characterized in that the design institute
State the display content of software interface specifically: edited by XML to design the display content of the software interface.
9. the method as claimed in any one of claims 1 to 8 for automatically generating drawing based on EPLAN software, which is characterized in that institute
Stating software interface further includes project configuration interface, and the target object configuration interface has multiple;At the project configuration interface
The information of the drawing generated required for specified target object configuration interface configuration can be entered by choosing technical routine then.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has executable journey
Sequence, described program can be realized when running as described in any one of claim 1 to 9 automatically generates drawing based on EPLAN software
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538392.5A CN109062570A (en) | 2018-05-30 | 2018-05-30 | A kind of method and storage medium automatically generating drawing based on EPLAN software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538392.5A CN109062570A (en) | 2018-05-30 | 2018-05-30 | A kind of method and storage medium automatically generating drawing based on EPLAN software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109062570A true CN109062570A (en) | 2018-12-21 |
Family
ID=64819779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810538392.5A Pending CN109062570A (en) | 2018-05-30 | 2018-05-30 | A kind of method and storage medium automatically generating drawing based on EPLAN software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062570A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111830919A (en) * | 2020-07-20 | 2020-10-27 | 北京广利核系统工程有限公司 | Terminating file generation method and device based on EPLAN platform |
CN112016173A (en) * | 2020-08-12 | 2020-12-01 | 中国汽车工业工程有限公司 | Method for manufacturing electrical diagram |
CN112100779A (en) * | 2020-08-21 | 2020-12-18 | 广州明珞装备股份有限公司 | Method, system, device and medium for generating electrical drawing |
CN113536407A (en) * | 2021-06-09 | 2021-10-22 | 东风设计研究院有限公司 | Method and device for constructing project drawing based on unit equipment and storage medium |
CN114386123A (en) * | 2021-12-24 | 2022-04-22 | 易盼软件(上海)有限公司 | EPLAN-based configurable option drawing automatic generation system |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799702A (en) * | 2012-04-19 | 2012-11-28 | 国家基础地理信息中心 | Quick topographic map making method based on database driving |
CN103400007A (en) * | 2013-08-06 | 2013-11-20 | 山东爱普电气设备有限公司 | Automatic generation method of secondary electrical schematic diagrams based on Auto CAD |
US20140132613A1 (en) * | 2012-11-09 | 2014-05-15 | Outracks Technologies As | Method for automatic generation of drawing operations from graphic assets |
CN104504214A (en) * | 2015-01-06 | 2015-04-08 | 北京京诚瑞达电气工程技术有限公司 | Electrical schematic diagram generation method |
CN105308558A (en) * | 2012-12-10 | 2016-02-03 | 维迪特克公司 | Rules based data processing system and method |
CN105447246A (en) * | 2015-11-19 | 2016-03-30 | 广州达意隆包装机械股份有限公司 | Method and system for generating electrical principle diagram through one key |
CN105786526A (en) * | 2016-03-24 | 2016-07-20 | 江苏大学 | Web-based efficient flow chart drawing system and method |
CN105975451A (en) * | 2016-05-27 | 2016-09-28 | 成都优译信息技术有限公司 | Processing system and method for DWG-format-file translation data |
CN106528910A (en) * | 2016-09-13 | 2017-03-22 | 北京金雨科创自动化技术股份有限公司 | Electric design platform and method for same |
CN106909123A (en) * | 2017-02-10 | 2017-06-30 | 昆山同日工业自动化有限公司 | One kind control programming auxiliary equipment |
CN106919766A (en) * | 2017-03-09 | 2017-07-04 | 重庆工贸职业技术学院 | A kind of new user safeguards AutoCAD picture library development approaches certainly |
CN107577486A (en) * | 2017-09-29 | 2018-01-12 | 广州数鹏通科技有限公司 | Weather information drawing processing method, device, computer equipment and storage medium |
-
2018
- 2018-05-30 CN CN201810538392.5A patent/CN109062570A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799702A (en) * | 2012-04-19 | 2012-11-28 | 国家基础地理信息中心 | Quick topographic map making method based on database driving |
US20140132613A1 (en) * | 2012-11-09 | 2014-05-15 | Outracks Technologies As | Method for automatic generation of drawing operations from graphic assets |
CN105308558A (en) * | 2012-12-10 | 2016-02-03 | 维迪特克公司 | Rules based data processing system and method |
CN103400007A (en) * | 2013-08-06 | 2013-11-20 | 山东爱普电气设备有限公司 | Automatic generation method of secondary electrical schematic diagrams based on Auto CAD |
CN104504214A (en) * | 2015-01-06 | 2015-04-08 | 北京京诚瑞达电气工程技术有限公司 | Electrical schematic diagram generation method |
CN105447246A (en) * | 2015-11-19 | 2016-03-30 | 广州达意隆包装机械股份有限公司 | Method and system for generating electrical principle diagram through one key |
CN105786526A (en) * | 2016-03-24 | 2016-07-20 | 江苏大学 | Web-based efficient flow chart drawing system and method |
CN105975451A (en) * | 2016-05-27 | 2016-09-28 | 成都优译信息技术有限公司 | Processing system and method for DWG-format-file translation data |
CN106528910A (en) * | 2016-09-13 | 2017-03-22 | 北京金雨科创自动化技术股份有限公司 | Electric design platform and method for same |
CN106909123A (en) * | 2017-02-10 | 2017-06-30 | 昆山同日工业自动化有限公司 | One kind control programming auxiliary equipment |
CN106919766A (en) * | 2017-03-09 | 2017-07-04 | 重庆工贸职业技术学院 | A kind of new user safeguards AutoCAD picture library development approaches certainly |
CN107577486A (en) * | 2017-09-29 | 2018-01-12 | 广州数鹏通科技有限公司 | Weather information drawing processing method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
顾叶环: "基于AutoCAD二次开发的参数化绘图设计研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111830919A (en) * | 2020-07-20 | 2020-10-27 | 北京广利核系统工程有限公司 | Terminating file generation method and device based on EPLAN platform |
CN111830919B (en) * | 2020-07-20 | 2021-10-19 | 北京广利核系统工程有限公司 | Terminating file generation method and device based on EPLAN platform |
CN112016173A (en) * | 2020-08-12 | 2020-12-01 | 中国汽车工业工程有限公司 | Method for manufacturing electrical diagram |
CN112016173B (en) * | 2020-08-12 | 2022-05-10 | 中国汽车工业工程有限公司 | Method for manufacturing electrical diagram |
CN112100779A (en) * | 2020-08-21 | 2020-12-18 | 广州明珞装备股份有限公司 | Method, system, device and medium for generating electrical drawing |
CN113536407A (en) * | 2021-06-09 | 2021-10-22 | 东风设计研究院有限公司 | Method and device for constructing project drawing based on unit equipment and storage medium |
CN114386123A (en) * | 2021-12-24 | 2022-04-22 | 易盼软件(上海)有限公司 | EPLAN-based configurable option drawing automatic generation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109062570A (en) | A kind of method and storage medium automatically generating drawing based on EPLAN software | |
CN106293664A (en) | Code generating method and device | |
CN109448100B (en) | Three-dimensional model format conversion method, system, computer device and storage medium | |
CN102541740B (en) | A kind of mobile phone notes automated testing method based on Android | |
CN104123227A (en) | Method for automatically generating testing cases | |
CN100576214C (en) | The SPICE model modelling approach of diode multiple simulator format | |
CN103631590B (en) | The edit methods of automatic test script | |
CN105227350A (en) | Based on the intelligent substation IED configuration file management-control method of CRC check code | |
CN102622463A (en) | Drawing-model uniformity based method for automatic check of design drawings | |
CN109240688A (en) | Interface development method, electronic device and readable storage medium storing program for executing | |
CN108829653A (en) | A kind of generation method of report, device, equipment and medium | |
CN110222381B (en) | Method, system, medium and terminal for generating dynamic installation guide file for PCB assembly | |
CN107291444A (en) | PLC instructs generation method and device and PLC programmed methods | |
CN102984737B (en) | A kind of improve parameter unification collocation method of wireless network and device | |
CN108153996A (en) | The method that electrical wiring group cabinet is realized with COMOS platforms | |
CN109739490B (en) | Quick electrical component model creating method based on QT graph framework | |
CN105893591B (en) | A kind of data sharing service intelligent arranging method | |
CN106250429A (en) | A kind of data pick-up method based on sqoop | |
CN105183966A (en) | Database-based method for fast drawing instrument plane arrangement diagram | |
CN103761395B (en) | Method for generating dynamic report of virtual terminal of intelligent substation | |
CN105095568A (en) | Rapid modeling method for large draft fan | |
CN106776275B (en) | A kind of testing process automatic generation method based on Packet Multiplexing | |
US10922459B2 (en) | Methods for converting circuits in circuit simulation programs | |
CN109710669B (en) | Method for improving accuracy of full power grid model data based on check rule base | |
CN204258439U (en) | Intelligent electric power scheduling operation management system |
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: 20181221 |
|
RJ01 | Rejection of invention patent application after publication |