CN114386122B - Eplan-based full-automatic macro tool system - Google Patents

Eplan-based full-automatic macro tool system Download PDF

Info

Publication number
CN114386122B
CN114386122B CN202111595657.3A CN202111595657A CN114386122B CN 114386122 B CN114386122 B CN 114386122B CN 202111595657 A CN202111595657 A CN 202111595657A CN 114386122 B CN114386122 B CN 114386122B
Authority
CN
China
Prior art keywords
macro
page
deleting
placeholders
eplan
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.)
Active
Application number
CN202111595657.3A
Other languages
Chinese (zh)
Other versions
CN114386122A (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

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 an Eplan. The full-automatic macro tool system based on the Eplan carries out secondary development on the basis of the 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 invention sets up the variable functions of transferring the page structure to the macro frame of the window macro, transferring the page structure to the page macro, updating the macro, deleting the macro frame, deleting the placeholder value set, deleting the placeholders according to the names, deleting all the placeholders, deleting the unused placeholders, modifying the parameters in Eplan in a batched and targeted manner, and transferring the names of the layout space to the 3D macro function to finish the transfer of the layout space structure of the three-dimensional space in a batched manner; the working efficiency of the tool based on the Eplan macro is improved on the whole, the working efficiency of workers in the Eplan macro operation is simplified, and meanwhile, the working quality of the workers is improved.

Description

Eplan-based full-automatic macro tool system
Technical Field
The invention relates to the technical field of computers, and the IPC classification number is: G06F30/18, in particular to a fully automatic macro tool system based on Eplan.
Background
The Eplan engineering software platform is an engineering solution software platform sold in China by Eplan in Germany, and is used for solving engineering designs such as instrument engineering, fluid engineering, electrical engineering, 3D cabinet layout and the like, and the engineering efficiency and the design quality are improved by an object-oriented design mode. The Eplan macro technology is used for carrying out variable and parameter management on typical design data so as to carry out macro creation management and variable and parameter definition, but in the present stage, an Eplan engineering software platform has a low-efficiency state on macro data creation, macro variable, macro description and other data management, and brings great inconvenience for engineering personnel.
Patent CN202010849855 provides a method, system, device and medium for generating an electrical drawing. And an Eplan drawing template, equipment tree specifications and Eplan drawing conversion rules are formulated, so that an electric drawing based on the Eplan is finally generated.
Patent CN201510811336 provides a method and system for generating an electrical schematic by one key. On the basis of Eplan software, a database required for manufacturing an electrical drawing is created, and meanwhile, a related API plug-in is arranged for connecting the Eplan software with the database, and the electrical drawing is quickly generated by taking an electronic form as a carrier of electronic drawing information and is subjected to standardized processing design. However, the patent only aims at the point of rapid generation of the electrical drawing and does not effectively solve the problem of variable quantity in the Eplan macro, and parameterized management is not capable of improving the use efficiency and the design quality of the Eplan software on the whole.
Therefore, aiming at the problems existing in the secondary development of Eplan software at the present stage, a full-automatic macro tool system based on the Eplan is urgently needed to be developed, the variable of the Eplan software is realized through systematic improvement of parameterization management by carrying out the transformation on the Eplan macro technology, the rapid definition and generation of parameters are realized, and the efficiency and quality of macro data creation and management are improved.
Disclosure of Invention
Aiming at the problems, the invention provides a full-automatic macro tool system based on an Eplan, which is developed secondarily on the basis of Eplan engineering software and establishes a macro tool 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 transmitting the page structure to the window macro, a macro frame for transmitting the page structure to the page macro, a macro update, a macro deletion, a placeholder value set deletion, placeholder deletion according to the name, all placeholders deletion, and unused variables of the placeholders deletion.
Preferably, the page structure is transferred to a macro frame of the window macro, and the last-stage structure in the structure tree is automatically generated into the folder by calling the structure tree in the page management structure; 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 the 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 structural description of the last level structure is used as the macro description of the page macro.
Preferably, after the updated macro uses one macro for a plurality of times, the updated macro tool is called to automatically search and replace the macro graph.
Preferably, the macro frames of the whole item are deleted in batches by calling the option of deleting the macro frames after the drawing is completed.
Preferably, the deleting placeholder value set is used for deleting the placeholders belonging to the value set name in the item in batches by selecting the value set name of the placeholder to be deleted; the placeholder is deleted according to the name, the place holder position can be rapidly positioned by selecting the name of the single placeholder, and the placeholder is deleted in a targeted manner; and the step of deleting all placeholders, which is to call the option of deleting all placeholders, pop up the prompt of 'confirm to operate', delete all placeholders in the item if yes is selected, and return to the operation page if no is selected.
Preferably, the deleting the unused variables of the placeholder is performed by counting the names of the unused variables in the project through the background, calling the unused variables of the deleting the placeholder, and deleting all the unused variables in the project through one key.
Preferably, the 3D macro tool module is configured to transfer the name of the layout space to the 3D macro, and through structural management of the 3D macro, transfer the name describable by one key to the macro name and macro description.
Preferably, the specific step of the structured management is that all layout spaces are selected in the layout space navigator, then the name of the layout space is transferred to the 3D macro instruction, and the layout space value transferred by one key can be seen 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 for helping users to promote macro data creation and management efficiency and quality, and solves the inefficiency of staff in macro management and macro creation by setting up a macro frame for transmitting a page structure to a window macro; the page structure is transmitted to the page macro to rapidly process the regularized text construction of a large number of typical drawings; by setting up an updated macro, searching and replacing the macro by self-setting, the work of replacing the macro by staff is reduced; the method comprises the steps of setting up variable functions of deleting macro frames, deleting placeholder value sets, deleting placeholders according to names, deleting all placeholders and deleting unused placeholders, modifying parameters in Eplan in a batched and targeted mode, and simultaneously transmitting layout space names to a 3D macro function through adding the functions of transmitting the layout space names to complete transmission of layout space structures of a three-dimensional space in a batched mode; the working efficiency of the tool based on the Eplan macro is improved on the whole, the working efficiency of workers in the Eplan macro operation is simplified, and meanwhile, the working quality of the workers is improved.
Drawings
Fig. 1 is a block diagram of an Eplan-based fully automated macro tool system.
Detailed Description
The full-automatic macro tool system based on the Eplan carries out secondary development 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.
In one embodiment, the 2D macro tool module mainly includes a macro frame for transferring the page structure to the window macro, a macro frame for transferring the page structure to the page macro, a macro update, a macro frame deletion, a placeholder value set deletion, placeholder deletion by name, all placeholders deletion, and a placeholder unused variable deletion.
In one embodiment, the page structure is transferred to a macro frame of a window macro, and a file folder is automatically generated by calling a structure tree in a page management structure and a last-stage structure in the structure tree; 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 structural description of the last level structure is used as the macro description of the page macro.
The specific tool menu is very convenient and efficient for creating a large number of typical drawing macros, renaming and updating of macros are very easy, manual repeated modification is avoided, and text is filled in. And the macro creation efficiency is greatly improved.
In one embodiment, the updated macro automatically performs the search and replacement of macro graphics by calling the updated macro tool after using one macro multiple times.
In a preferred embodiment, after a worker uses a certain macro for many times, macro graphics are changed in batches, and the macro graphics need to be searched and replaced manually one by one in the early stage, so that the design efficiency is low. The macro updating tool only needs to select the item to be replaced, and the macro can be replaced by the whole item.
In one embodiment, the deleting macro frames deletes the macro frames of the whole item in batches by calling the option of deleting the macro frames after the drawing is completed.
In a preferred embodiment, the macro frames are deleted, because the macro is frequently inserted in the drawing process of the engineering drawing, and the inserted macro is ensured to be updated quickly, the macro frames of the macro are brought together in the process of inserting the macro, the macro frames play a role in positioning, after the drawing is completed, the macro frames influence the data cleanliness of the drawing, and data which are not needed to be presented to a user are generated, so that development engineers develop the tool to clean the macro frames of the whole project in batches, personnel are not needed to delete the macro frames one by one, and the workload of the personnel is greatly reduced.
In one embodiment, the deleting placeholder value set is used for deleting placeholders belonging to the value set name in the item in batches by selecting the value set name of the placeholder to be deleted; the placeholder is deleted according to the name, the place holder position can be rapidly positioned by selecting the name of the single placeholder, and the placeholder is deleted in a targeted manner; and the step of deleting all placeholders, which is to call the option of deleting all placeholders, pop up the prompt of 'confirm to operate', delete all placeholders in the item if yes is selected, and return to the operation page if no is selected.
In a preferred embodiment, the Eplan engineering software platform is used for parameterizing and managing macros by setting a placeholder function. The parameterized management can help the user integrate the verified classical parameter scheme into the macro of the Eplan, and calculation and filling are not needed in later technical application. The multiplexing rate can be increased and design errors can be reduced by parameterization of macros. However, with the updating and iteration of the technology, some parameter variables are outdated and need to be deleted, but when a project uses a lot of parameters, the deletion of the parameters causes huge workload, so that in order to reduce the workload, the deletion placeholder is used for quickly deleting a value set which is outdated and is not used in a macro project any more, and the working efficiency of staff is improved.
In one embodiment, the deletion placeholder is used for deleting all unused variables in the item by calling the unused variables in the background statistics item and deleting the unused variables in the placeholder through one key.
In a preferred embodiment, the deletion of all placeholders is used for ensuring that the protection design key data of an enterprise is not leaked, and because the scheme parameters are always the core design of the enterprise, the experience parameters are not authorized and should not be transmitted along with the project, after the drawing is completed, the parameters carried out through the placeholders should be cleared in batches to ensure the safety of the design information, and the clearing needs to be carried out manually in early stages, but because the related parameters have more workload and larger labor consumption, the deletion of all the placeholders can delete all the placeholders of the whole project at one time so as to efficiently protect the core data of the enterprise. Meanwhile, when the Eplan engineering software platform is parameterized, parameter variables are defined; the positioning of the parameter variables is to determine the names of the variables, determine which variable manages which parameter of the Eplan object, determine the values of the variable parameters, and the like. In the process of defining the variables, in order to avoid the excessive definition of the variables, the variables are defined to be unused, or the names of the variables are modified, and the old names of the variables are avoided to be unused, so that the redundancy of the variables exists, the burden is increased for other tools to read the variables, and the problem that a plurality of useless variables can be read is solved, thereby designing the unused variable function of deleting the placeholders.
In one embodiment, the 3D macro tool module is configured to transfer the name of the layout space to the 3D macro, and to transfer the name describable by one-touch to the macro name and macro description by performing structural management on the 3D macro.
In one embodiment, the structural management specifically includes selecting all layout spaces in the layout space navigator, and then calling to transfer the names of the layout spaces to the 3D macro instruction, wherein the layout space values transferred by one-key can be seen in the attribute element-layout space.

Claims (3)

1. The full-automatic macro tool system based on the Eplan is characterized in that the full-automatic macro tool system based on the Eplan carries out secondary development 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 2D macro tool module comprises a macro frame for transmitting the page structure to a window macro, a macro frame for transmitting the page structure to the page macro, a macro for updating, a macro frame for deleting, a placeholder value set for deleting, placeholders for deleting according to names, all placeholders for deleting variables which are not used by the placeholders; the page structure is transmitted to a macro frame of a window macro, and a file folder is automatically generated by calling a structure tree in the page management structure and the last-stage structure in the structure tree; 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; the unused variables of the placeholders are deleted, and all the unused variables in the items are deleted by one key through the names of the unused variables in the background statistics items and calling the unused variables of the placeholders;
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; the last-stage structure of the automatically generated folder is used as a page macro name, and the structural description of the last-stage structure is used as macro description of the page macro;
after the macro is used for a plurality of times, the macro graph is automatically searched and replaced by calling an update macro tool;
the macro frames of the whole item are deleted in batches by calling the option of deleting the macro frames after the drawing is completed;
the placeholder value set is deleted, and placeholders belonging to the value set name in the item are deleted in batches by selecting the value set name of the placeholder to be deleted; the placeholder is deleted according to the name, the place holder position can be rapidly positioned by selecting the name of the single placeholder, and the placeholder is deleted in a targeted manner; and the step of deleting all placeholders, which is to call the option of deleting all placeholders, pop up the confirmation to carry out operation prompt, delete all placeholders in the item if yes is selected, and return to the operation page if no is selected.
2. The system of claim 1, wherein the 3D macro tool module is configured to transfer the name of the layout space to the 3D macro, and to transfer the name descriptive of the layout space to the macro name and macro description by one-touch through the structured management of the 3D macro.
3. The system of claim 2, wherein the structured management comprises selecting all layout spaces in the layout space navigator, and then invoking the transfer of the layout space names to the 3D macro instruction, wherein the one-touch transferred layout space values are viewable 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 CN114386122A (en) 2022-04-22
CN114386122B true 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 (3)

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

Also Published As

Publication number Publication date
CN114386122A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN107729682B (en) Electrical system for thermal power engineering electrical plant and design method
CN105447253B (en) A kind of integrated approach of three-dimensional process data
CN102646040B (en) The method for producing software set based on merit part and merit part and device
CN104731596A (en) Classification compiling method supporting several persons to online compile XBRL
CN110727687B (en) Material list conversion method and system
CN106933837A (en) A kind of database table model and creation method
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
CN102999524A (en) Method and system for searching document association
CN102737108A (en) Method and device for processing flow diagram
CN107526746A (en) The method and apparatus of management document index
CN113486418B (en) BIM model cloud coding method and system
CN114706915A (en) Method for building BOM information from PLM system by EDA software
CN103984609A (en) Method and device for recovering check points in file system based on copy-on-write
CN111581700A (en) Method for adding BIM attribute and outputting BIM attribute table based on CATIA model
CN114386122B (en) Eplan-based full-automatic macro tool system
CN106802928A (en) Power network historical data management method and its system
CN113762724A (en) Method for collaborative design and management of power transmission and transformation project based on BIM technology
CN108734782A (en) A kind of expression of CATIA three-dimensional geological models attribute information
CN110096773A (en) Threedimensional model batch processing method and system for the exploitation of nuclear power station virtual emulation
CN103809973A (en) Graphic control interface design system and graphic control interface design operation method thereof
CN113065179A (en) BIM technology-based construction method for process equipment library of waste incineration power plant
CN111796868A (en) Method for realizing interaction between CAD (computer-aided design) enhanced attribute block and Excel data
CN111291444A (en) Modeling method, device and equipment for airplane assembly and storage medium
CN109492303A (en) A kind of derivation rule automatic generation method based on product family's script

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