CN114386122A - Full-automatic tool system that macros based on Eplan - Google Patents

Full-automatic tool system that macros based on Eplan Download PDF

Info

Publication number
CN114386122A
CN114386122A CN202111595657.3A CN202111595657A CN114386122A CN 114386122 A CN114386122 A CN 114386122A CN 202111595657 A CN202111595657 A CN 202111595657A CN 114386122 A CN114386122 A CN 114386122A
Authority
CN
China
Prior art keywords
macro
eplan
page
placeholders
tool
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.)
Granted
Application number
CN202111595657.3A
Other languages
Chinese (zh)
Other versions
CN114386122B (en
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.)
Yipan Software Shanghai Co ltd
Original Assignee
Yipan Software Shanghai 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 Yipan Software Shanghai Co ltd filed Critical Yipan Software Shanghai Co ltd
Priority to CN202111595657.3A priority Critical patent/CN114386122B/en
Publication of CN114386122A publication Critical patent/CN114386122A/en
Application granted granted Critical
Publication of CN114386122B publication Critical patent/CN114386122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/3017Runtime instruction translation, e.g. macros
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a full-automatic macro tool system based on Eplan. The full-automatic Eplan-based macro tool system is developed for the second time on the basis of Eplan engineering software, and a macro tool module is established; the macro tool module specifically comprises a 2D macro tool module and a 3D macro tool module. The method comprises the steps of setting up a macro frame for transmitting a page structure to a window macro, transmitting the page structure to the page macro, updating the macro, deleting the macro frame, deleting a placeholder value set, deleting placeholders according to names, deleting all placeholders and deleting unused variables of the placeholders, modifying parameters in Eplan in batch and pertinence, transmitting a layout space name to a 3D macro function by adding, and completing transmission of a layout space structure of a three-dimensional space in batch; the working efficiency based on the Eplan macro tool is integrally improved, the working efficiency of workers during Eplan macro operation is simplified, and meanwhile the working quality of the workers is also improved.

Description

Full-automatic tool system that macros based on Eplan
Technical Field
The invention relates to the technical field of computers, and IPC classification numbers are as follows: G06F30/18, in particular to a full-automatic tool macro system based on Eplan.
Background
The Eplan engineering software platform is an engineering solution software platform sold in the China by Eplan in Germany, is used for solving engineering designs such as instrument engineering, fluid engineering, electrical engineering, 3D cabinet layout and the like, and helps engineers improve design efficiency and design quality through an object-oriented design mode. The Eplan macro technology is used for carrying out macro creation management and variable and parameter definition by carrying out variable quantity and parametric management on typical design data, but at the present stage, an Eplan engineering software platform has an inefficient state on data management such as macro data creation, macro variable and macro description, and great inconvenience is brought to the use of engineering personnel.
Patent CN202010849855 provides a method, system, device and medium for generating electrical drawings. An Eplan drawing template, an equipment tree specification and an Eplan drawing conversion rule are formulated, so that an electrical drawing based on Eplan is finally generated.
Patent CN201510811336 provides a method and system for generating an electrical schematic diagram by one key. On the basis of the Eplan software, a database required by manufacturing the electrical drawing is created, meanwhile, a related API plug-in is set for connection between the Eplan software and the database, the electrical drawing is quickly generated by taking the electronic form as a carrier of the information of the electrical drawing, and the electrical drawing is subjected to standardized processing design. However, the patent is only a secondary development aiming at the point of quick generation of the electrical drawing, and the problems of quantization and parameterization management in the Eplan macro are not effectively solved, so that the use efficiency and the design quality of Eplan software cannot be improved on the whole.
Therefore, aiming at the problems existing in the secondary development of the Eplan software at the present stage, a full-automatic macro tool system based on the Eplan is urgently needed to be provided, the variables and the parameters of the Eplan software are quickly defined and generated by carrying out variable quantization and systematic improvement of parametric management on the Eplan macro technology, and the macro data creation and management efficiency and quality are improved.
Disclosure of Invention
Aiming at the existing problems, the invention provides a full-automatic tool macro system based on Eplan, which is developed for the second time on the basis of Eplan engineering software to establish a tool macro module; the macro tool module specifically comprises a 2D macro tool module and a 3D macro tool module.
Preferably, the 2D macro tool module mainly includes a macro frame for transferring the page structure to the window macro, an update macro, a delete macro frame, a delete placeholder value set, a delete placeholder by name, a delete all placeholders, and a delete unused variable of the placeholder.
Preferably, the page structure is transferred to the macro frame of the window macro, and the last level structure in the structure tree is automatically generated into a folder by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a window macro name; the page name of the last level structure is automatically used as a window macro variable, and the page description is automatically used as a window macro description.
Preferably, the page structure is transferred to the page macro, and the last level structure in the structure tree is automatically generated into a folder by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a page macro name, and the structure description of the last level structure is used as the macro description of the page macro.
Preferably, after a macro is used for multiple times, the macro graph is automatically searched and replaced by calling the updating macro tool.
Preferably, according to the full-automatic Eplan-based macro tool system of claim 2, the macro border deletion unit deletes the macro border of the whole project in batch by calling the macro border deletion option after the drawing is completed.
Preferably, the placeholder value sets are deleted, and the placeholders belonging to the placeholder value sets in the items are deleted in batches by selecting the placeholder value set names to be deleted; the placeholders are deleted according to the names, the placeholder positions can be quickly positioned by selecting the names of the single placeholders, and the placeholders are deleted in a targeted manner; deleting all the placeholders, calling and deleting all the placeholder options, popping up a prompt of 'confirming to operate', deleting all the placeholders in the items if yes is selected, and returning to the operation page if no is selected.
Preferably, the names of the unused variables in the items are counted in the background by deleting the unused variables of the placeholders, the unused variables of the placeholders are called, and all the unused variables in the items are deleted by one key.
Preferably, the 3D macro tool module transfers the name of the layout space to the 3D macro, and the 3D macro is structurally managed, so that the name description of the layout space can be transferred to the macro name and macro description in one key.
Preferably, the structured management specifically includes the steps of firstly selecting all layout spaces in the layout space navigator, then calling to transfer the names of the layout spaces to the 3D macro, and viewing the layout space numerical values transferred by one key in the attribute element-layout space.
Compared with the prior art, the invention has the following beneficial effects:
the invention develops an Eplan macro tool to help a user to improve macro data creation and management efficiency and quality, and solves the problem of low efficiency of workers in macro management and macro creation by setting a macro frame for transmitting a page structure to a window macro; the page structure is transferred to the page macro, so that the regular text construction of a large number of typical drawings is rapidly processed; by setting up the updating macro and searching and replacing the macro by self-determination, the work of replacing the macro by workers is reduced; the method is characterized in that the macro frame deleting function, the placeholder value set deleting function, the placeholder deleting function according to names, all the placeholders deleting function and the unused variable function of the placeholder are set to modify parameters in the Eplan in batch and pertinence, and meanwhile, the layout space name is transferred to the 3D macro function by adding the function to complete the transfer of the layout space structure of the three-dimensional space in batch; the working efficiency based on the Eplan macro tool is integrally improved, the working efficiency of workers during Eplan macro operation is simplified, and meanwhile the working quality of the workers is also improved.
Drawings
Fig. 1 is a block diagram of a full-automatic tool macro system based on Eplan.
Detailed Description
The full-automatic tool macro system based on the Eplan is developed for the second time on the basis of Eplan engineering software, and a tool macro module is established; the macro tool module specifically comprises a 2D macro tool module and a 3D macro tool module.
In one embodiment, the 2D macro tool module mainly includes a macro frame for transferring the page structure to the window macro, an update macro, a delete macro frame, a delete placeholder value set, a delete placeholder by name, a delete all placeholders, and a delete unused variable of the placeholder.
In one embodiment, the page structure is transferred to a macro frame of the window macro, and a last-level structure in a structure tree is automatically generated into a folder by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a window macro name; the page name of the last level structure is automatically used as a window macro variable, and the page description is automatically used as a window macro description.
In one embodiment, the page structure is transferred to the page macro, and the last level structure in the structure tree is automatically generated into a folder by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a page macro name, and the structure description of the last level structure is used as the macro description of the page macro.
The tool menu is very convenient and efficient for creating a large number of typical drawing macros, the macros are very easy to rename and update, and manual repeated modification and text filling are avoided. And the macro creation efficiency is greatly improved.
In one embodiment, the updating macro automatically searches and replaces the macro graph by calling the updating macro tool after using one macro for multiple times.
In a preferred embodiment, after a worker uses a macro for many times, the macro images are changed in batches, and the macro needs to be searched and replaced one by one manually in the early stage, so that the design efficiency is not high. The macro updating tool only needs to select the item to be replaced, and the macro can be replaced on the whole item.
In one embodiment, according to claim 2, the delete macro border is a macro border that is deleted in batch for the entire project by calling a delete macro border option.
In a preferred embodiment, the macro is frequently inserted in the drawing process of the engineering drawing, and meanwhile, the inserted macro can be rapidly updated, so that the macro frame of the macro can be brought in the process of inserting the macro, the macro frame plays a positioning role, after the drawing is completed, the data cleanliness of the drawing is influenced by the macro frames, and data which does not need to be presented to a user is also generated, so that a development engineer develops the tool, cleans the macro frames of the whole project in batches, does not need to manually delete the macro frames one by a worker, and the workload of the worker is greatly reduced.
In one embodiment, the deleting the placeholder value set deletes the placeholder belonging to the value set name in the item in batch by selecting the value set name of the placeholder to be deleted; the placeholders are deleted according to the names, the placeholder positions can be quickly positioned by selecting the names of the single placeholders, and the placeholders are deleted in a targeted manner; deleting all the placeholders, calling and deleting all the placeholder options, popping up a prompt of 'confirming to operate', deleting all the placeholders in the items if yes is selected, and returning to the operation page if no is selected.
In a preferred embodiment, the Eplan engineering software platform is used for performing parameterized management on macros by setting a placeholder function. The parameterization management can help a user to integrate the verified classical parameter scheme into the macro of the Eplan, and in the subsequent technical application, calculation and filling are not needed. The multiplexing rate can be increased and the design errors can be reduced through the parameterization of the macro. However, with the updating and iteration of the technology, some parameter variables are outdated and need to be deleted, but when a project uses many parameters, the deletion of the parameters causes huge workload, and in order to reduce the workload, the placeholder is deleted to quickly delete the obsolete value set which is no longer used in the macro project, so that the working efficiency of workers is improved.
In one embodiment, the deleting of the unused variables of the placeholders is performed by counting the names of the unused variables in the items in the background and calling the unused variables of the placeholders, and one key is used for deleting all the unused variables in the items.
In a preferred embodiment, all placeholders are deleted to ensure that design key data of an enterprise is protected from being leaked, because the scheme parameters are always core design of the enterprise, the experience parameters are not authorized and are not transmitted along with the project, after the drawing is completed, the parameters carried out through the placeholders are also cleared in batch to ensure the safety of design information, the clearing needs to be manually cleared in the early stage, but because the related parameters have more workload and larger workload, a large amount of manpower is consumed, and all placeholders of the whole project can be deleted once by deleting all the placeholders, so that the core data of the enterprise can be efficiently protected. Meanwhile, when the Eplan engineering software platform is parameterized, parameter variables are defined; the positioning of the parameter variables is to determine the name of the variable, determine which variable manages which parameter of the Eplan object, determine the value of the parameter of the variable, and the like. In the process of variable definition, in order to avoid over-definition of variables, definition is not used, or variable names are modified, and the problem that old variable names are not used any more is solved, so that variable redundancy exists, the burden is increased for other tools to read the variables, and a lot of useless variables can be read, so that a function of deleting variables which are not used by placeholders is designed.
In one embodiment, the 3D macro tool module comprises a function of transferring a name of the layout space to the 3D macro, and the 3D macro is structurally managed, so that the name description of the layout space is transferred to the macro name and the macro description in a one-click mode.
In one embodiment, the structured management specifically includes the steps of firstly selecting all layout spaces in the layout space navigator, then calling to transfer the names of the layout spaces to the 3D macro, and viewing the layout space values transferred by one key in the attribute element-layout space.

Claims (10)

1. The full-automatic tool macro system based on the Eplan is characterized in that the full-automatic tool macro system based on the Eplan carries out secondary development on the basis of Eplan engineering software, and a tool macro module is established; the macro tool module specifically comprises a 2D macro tool module and a 3D macro tool module.
2. The Eplan-based fully automatic macro tool system according to claim 1, wherein the 2D macro tool module mainly comprises a macro border for transferring page structures to window macros, a macro border for transferring page structures to page macros, an update macro, a delete macro border, a delete placeholder value sets, delete placeholders by name, delete all placeholders, and delete variables that are not used by placeholders.
3. The Eplan-based fully automatic macro tool system according to claim 2, wherein the macro frame for transferring the page structure to the window macro automatically generates a folder for the last level structure in the structure tree by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a window macro name; the page name of the last level structure is automatically used as a window macro variable, and the page description is automatically used as a window macro description.
4. The Eplan-based fully automatic macro tool system according to claim 2, wherein said transferring the page structure to the page macro automatically generates folders for the last level structure in the structure tree by calling the structure tree in the page management structure; and the last level structure of the automatically generated folder is used as a page macro name, and the structure description of the last level structure is used as the macro description of the page macro.
5. The Eplan-based fully automatic macro tool system according to claim 2, wherein said update macro automatically searches and replaces macro graphics by calling the update macro tool after using a macro many times.
6. The Eplan-based fully automatic macro tool system according to claim 2, wherein the macro border deletion is performed by calling a macro border deletion option to delete the macro borders of the entire project in batch after the drawing is completed.
7. The Eplan-based fully automatic macro tool system according to claim 2, wherein the placeholder value sets are deleted, and the placeholders belonging to the value set names in the items are deleted in batch by selecting the value set names of the placeholders to be deleted; the placeholders are deleted according to the names, the placeholder positions can be quickly positioned by selecting the names of the single placeholders, and the placeholders are deleted in a targeted manner; deleting all the placeholders, calling and deleting all the placeholder options, popping up a prompt of 'confirming to operate', deleting all the placeholders in the items if yes is selected, and returning to the operation page if no is selected.
8. The Eplan-based fully automatic macro tool system according to claim 2, wherein the deleting of the unused variables of the placeholder is performed by counting the names of the unused variables in the item in the background and calling the unused variables of the placeholder, and one-click deleting of all the unused variables in the item is performed.
9. The Eplan-based fully automated macro tool system according to claim 1, wherein the 3D macro tool module comprises a function of passing the name of the layout space to the 3D macro, and a function of passing the name description of the layout space to the macro name and macro description in a one-click manner by performing a structured management of the 3D macro.
10. The Eplan-based fully automated macro tool system according to claim 9, wherein the structured management comprises the specific steps of firstly selecting all layout spaces in the layout space navigator, then calling to pass the names of the layout spaces to the 3D macro, and viewing the values of the layout spaces passed by one key in the property element-layout space.
CN202111595657.3A 2021-12-24 2021-12-24 Eplan-based full-automatic macro tool system Active CN114386122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111595657.3A CN114386122B (en) 2021-12-24 2021-12-24 Eplan-based full-automatic macro tool system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111595657.3A CN114386122B (en) 2021-12-24 2021-12-24 Eplan-based full-automatic macro tool system

Publications (2)

Publication Number Publication Date
CN114386122A true CN114386122A (en) 2022-04-22
CN114386122B CN114386122B (en) 2023-12-08

Family

ID=81197820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111595657.3A Active CN114386122B (en) 2021-12-24 2021-12-24 Eplan-based full-automatic macro tool system

Country Status (1)

Country Link
CN (1) CN114386122B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830918A (en) * 2020-07-20 2020-10-27 北京广利核系统工程有限公司 EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN113312685A (en) * 2021-05-28 2021-08-27 东风设计研究院有限公司 Part brand replacement method in macro circuit and storage medium
CN113536407A (en) * 2021-06-09 2021-10-22 东风设计研究院有限公司 Method and device for constructing project drawing based on unit equipment and storage medium
CN113822037A (en) * 2021-11-23 2021-12-21 深圳逻辑汇科技有限公司 Method, device, equipment and medium for inserting placeholder and generating data mapping table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830918A (en) * 2020-07-20 2020-10-27 北京广利核系统工程有限公司 EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN113312685A (en) * 2021-05-28 2021-08-27 东风设计研究院有限公司 Part brand replacement method in macro circuit and storage medium
CN113536407A (en) * 2021-06-09 2021-10-22 东风设计研究院有限公司 Method and device for constructing project drawing based on unit equipment and storage medium
CN113822037A (en) * 2021-11-23 2021-12-21 深圳逻辑汇科技有限公司 Method, device, equipment and medium for inserting placeholder and generating data mapping table

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张旭 等: "基于Eplan二次开发的电气辅助设计工具集的设计与实现", 《仪器仪表用户》, vol. 28, no. 2, pages 48 - 51 *
高适 等: "EPLAN Schematic Generator在电气原理图标准化设计中的应用", 《中国计量协会冶金分会2014年会暨能源计量与绿色冶金论坛论文集》, pages 335 - 337 *

Also Published As

Publication number Publication date
CN114386122B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN104731596A (en) Classification compiling method supporting several persons to online compile XBRL
CN110727687B (en) Material list conversion method and system
CN113051650B (en) Real-time acquisition method and device for building information model component data
CN113557517A (en) Automatic generation device and method of electrical design drawing
CN110781138A (en) Electronic drawing management system and method
CN112559351B (en) CFD software verification and confirmation database platform
CN104516864A (en) Report generating method and report generating device
CN107533678B (en) Templates in a multidisciplinary engineering system
CN106951593B (en) Method and device for generating configuration file of protection measurement and control device
CN103984609A (en) Method and device for recovering check points in file system based on copy-on-write
CN114706915A (en) Method for building BOM information from PLM system by EDA software
CN113486418B (en) BIM model cloud coding method and system
JPH09212353A (en) Method and device for supporting reused design
CN106802928A (en) Power network historical data management method and its system
CN114386122B (en) Eplan-based full-automatic macro tool system
CN115827051A (en) Software integration management system, method and server
CN113505184B (en) Method for automatically generating information relation graph between systems and storage medium
US20020123811A1 (en) Production management system and program
CN111222793A (en) Data interaction method and system
CN117993870B (en) Online approval process information interaction method based on CAD
JP2004310317A (en) Business support device
CN113627138B (en) Engineering annotation changing method and device
CN112783913B (en) Database updating method, device, equipment and storage medium
CN113778989A (en) Importing method and system for batch importing of tool and fixture historical data into PDM system
JP3695410B2 (en) Production technology management method and apparatus therefor

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
GR01 Patent grant
GR01 Patent grant