CN103246512A - Method for converting VG (volume graphics) into Visio graphics - Google Patents

Method for converting VG (volume graphics) into Visio graphics Download PDF

Info

Publication number
CN103246512A
CN103246512A CN2013101612852A CN201310161285A CN103246512A CN 103246512 A CN103246512 A CN 103246512A CN 2013101612852 A CN2013101612852 A CN 2013101612852A CN 201310161285 A CN201310161285 A CN 201310161285A CN 103246512 A CN103246512 A CN 103246512A
Authority
CN
China
Prior art keywords
file
visio
coordinate
graphic
graphics
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
CN2013101612852A
Other languages
Chinese (zh)
Other versions
CN103246512B (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.)
State Grid Corp of China SGCC
Yantai Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Yantai Power Supply Co of State Grid Shandong Electric Power 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 State Grid Corp of China SGCC, Yantai Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310161285.2A priority Critical patent/CN103246512B/en
Publication of CN103246512A publication Critical patent/CN103246512A/en
Application granted granted Critical
Publication of CN103246512B publication Critical patent/CN103246512B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for converting VG (volume graphics) into Visio graphics. The method includes: setting up a Visio graphics pattern VSS (visual sourcesafe) file; acquiring and identifying a Tb1 file in a VG file; acquiring coordinates of VG elements and the Visio pattern VSS file; determining coordinates of the Visio graphic elements and coordinate difference values of the VG elements and setting up accurate coordinates of the Visio graphic elements and automatically drawing a Visio graphic; judging connecting states of the graphics according to the Visio graphic display; intelligently or artificially rectifying according to the judgment result until to be corrected; connecting correct automatically formed XML (extensive makeup language) format data files and the graphic file and storing the file according to the position. By the method for converting the VG into the Visio graphics, designers only need to appoint a conversion catalog, conversion is completed by the system automatically, work of the designers is greatly facilitated, work efficiency is improved and resources are saved.

Description

A kind of method that the VG figure is converted to the Visio figure
 
Technical field:
The present invention is converted to the method for Visio figure with the VG figure, mainly comprises the secondary development of VG figure and Visio figure secondary development method.
Background technology:
In the general engineering design of national grid system at present, it is several that main flow wiring diagram display module is generally VG, Visio etc., yet domestic each software developer is docked the requirement difference of line chart display module at present, thereby has increased the work that graphic designs personnel need redesign.Because workload is big, even and repaint that also to be difficult to the new figure of control consistent with former figure, cause the work efficiency attenuating, can't reach ideal effect, wasted very big human and material resources.
Summary of the invention:
The objective of the invention is to overcome the deficiency of prior art and a kind of easy operation is provided, combination property is strong, accuracy is high automatically the VG figure is converted to the method for Visio figure.
Purpose of the present invention can obtain by following measure: a kind of the VG figure is converted to the method for Visio figure, it is characterized in that, comprise the steps:
Step 1 is made the Visio mould: set up the mold graph pattern according to engineering demand, form the Vss file of Visio figure special use;
Step 2 is obtained Tbl file in the VG figure: the tbl file comprises graphic file and basic mould file, and system reads suitable file under the designated disk catalogue automatically;
Tbl file in the step 3 identification VG graphic file: system reads link information and various attribute information in the VG graphic file;
Step 4 is obtained coordinate and the described Visio mould VSS file of described VG graphic element: some units and coordinate-system and the Visio property of there are differences in the VG figure;
Step 5 coordinate comparison: according to coordinate and the described Visio mould VSS file of described VG graphic element, determine the coordinate difference value of coordinate and the described VG graphic element of newly-generated Visio graphic element, the difference value of coordinate deducts current coordinate points, get its absolute value, be Visio graphic element coordinate points;
The step 6 graphing: the data message that system obtains after according to top-operation, according to the automatic graphing of Viso mould file and add annexation, add the required attribute of equipment according to former figure information in graphing;
Step 7 figure verification: show according to the Visio figure after the conversion, judge the connection status of figure: whether have situations such as isolated island, information be imperfect;
Step 8 figure correction: according to judged result, if there is island state, according to the equipment that certain surface analysis might connect, from being dynamically connected, eliminate isolated island according to the apparatus settings value range; As the imperfect situation of information appears, can point out disappearance information, and with yellow mark warning, replenish relevant information more automatically; If figure is normal, namely enter next step operation; Still incorrect after the correction of system test figure, system is in wrong components figure mark redness, and showing needs the artificial equipment that participates in modification, continues this step after finishing and checks;
The conversion of step 9 figure is normal: form data file, form data file xml according to the link information after the conversion and data message;
The step 10 figure is preserved: figure is saved to sets catalogue or setting data storehouse.
The present invention can produce following good effect compared with the prior art: adopt this to illustrate that described VG graphic file converts the method for Visio graphic file to, only need work designer designated conversion catalogue to get final product, transfer process is finished automatically by system, even appearring drawing in former figure, also can repair automatically problem system, be very easy to designer's work, improve graphic designs progress and efficient, saved resource, also avoided some repeated mistakes.
Description of drawings:
Fig. 1 is the inventive method schematic flow sheet;
Fig. 2 is the former figure of VG electric power;
Fig. 3 is the preliminary figure figure in Visio conversion back.
Embodiment:
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described further:
Shown in Fig. 1 schematic flow sheet of the present invention, comprise the steps:
Step 1 is made the Visio mould: set up the mold graph pattern according to engineering demand, form the Vss file of Visio figure special use;
Step 2 is obtained Tbl file in the VG figure: the tbl file comprises graphic file and basic mould file, and system reads suitable file under the designated disk catalogue automatically;
Tbl file in the step 3 identification VG graphic file: system reads link information and various attribute information in the VG graphic file;
Step 4 is obtained coordinate and the described Visio mould VSS file of described VG graphic element: some units and coordinate-system and the Visio property of there are differences in the VG figure;
Step 5 coordinate comparison: according to coordinate and the described Visio mould VSS file of described VG graphic element, determine the coordinate difference value of coordinate and the described VG graphic element of newly-generated Visio graphic element, the difference value of coordinate deducts current coordinate points, get its absolute value, be Visio graphic element coordinate points;
The step 6 graphing: the data message that system obtains after according to top-operation, according to the automatic graphing of Viso mould file and add annexation, add the required attribute of equipment according to former figure information in graphing;
Step 7 figure verification: show according to the Visio figure after the conversion, judge the connection status of figure: whether have situations such as isolated island, information be imperfect;
Step 8 figure correction: according to judged result, if there is island state, according to the equipment that certain surface analysis might connect, from being dynamically connected, eliminate isolated island according to the apparatus settings value range; As the imperfect situation of information appears, can point out disappearance information, and with yellow mark warning, replenish relevant information more automatically; If figure is normal, namely enter next step operation; Still incorrect after the correction of system test figure, system is in wrong components figure mark redness, and showing needs the artificial equipment that participates in modification, continues this step after finishing and checks;
The conversion of step 9 figure is normal: form data file, form data file xml according to the link information after the conversion and data message;
The step 10 figure is preserved: figure is saved to sets catalogue or setting data storehouse.
 
Although more than by description of contents and implementation; specifically introduced the present invention; but those skilled in the relevant art should be understood that and in form and details this method be carried out various variations in not breaking away from claims scope, all should be in this method protection domain.

Claims (1)

1. one kind is converted to the method for Visio figure with the VG figure, it is characterized in that, comprises the steps:
Step 1 is made the Visio mould: set up the mold graph pattern according to engineering demand, form the Vss file of Visio figure special use;
Step 2 is obtained Tbl file in the VG figure: the tbl file comprises graphic file and basic mould file, and system reads suitable file under the designated disk catalogue automatically;
Tbl file in the step 3 identification VG graphic file: system reads link information and various attribute information in the VG graphic file;
Step 4 is obtained coordinate and the described Visio mould VSS file of described VG graphic element: some units and coordinate-system and the Visio property of there are differences in the VG figure;
Step 5 coordinate comparison: according to coordinate and the described Visio mould VSS file of described VG graphic element, determine the coordinate difference value of coordinate and the described VG graphic element of newly-generated Visio graphic element, the difference value of coordinate deducts current coordinate points, get its absolute value, be Visio graphic element coordinate points;
The step 6 graphing: the data message that system obtains after according to top-operation, according to the automatic graphing of Viso mould file and add annexation, add the required attribute of equipment according to former figure information in graphing;
Step 7 figure verification: show according to the Visio figure after the conversion, judge the connection status of figure: whether have situations such as isolated island, information be imperfect;
Step 8 figure correction: according to judged result, if there is island state, according to the equipment that certain surface analysis might connect, from being dynamically connected, eliminate isolated island according to the apparatus settings value range; As the imperfect situation of information appears, can point out disappearance information, and with yellow mark warning, replenish relevant information more automatically; If figure is normal, namely enter next step operation; Still incorrect after the correction of system test figure, system is in wrong components figure mark redness, and showing needs the artificial equipment that participates in modification, continues this step after finishing and checks;
The conversion of step 9 figure is normal: form data file, form data file xml according to the link information after the conversion and data message;
The step 10 figure is preserved: figure is saved to sets catalogue or setting data storehouse.
CN201310161285.2A 2013-05-06 2013-05-06 A kind of is the method for Visio figure by VG Graphic Exchanging Expired - Fee Related CN103246512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310161285.2A CN103246512B (en) 2013-05-06 2013-05-06 A kind of is the method for Visio figure by VG Graphic Exchanging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310161285.2A CN103246512B (en) 2013-05-06 2013-05-06 A kind of is the method for Visio figure by VG Graphic Exchanging

Publications (2)

Publication Number Publication Date
CN103246512A true CN103246512A (en) 2013-08-14
CN103246512B CN103246512B (en) 2016-06-08

Family

ID=48926046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310161285.2A Expired - Fee Related CN103246512B (en) 2013-05-06 2013-05-06 A kind of is the method for Visio figure by VG Graphic Exchanging

Country Status (1)

Country Link
CN (1) CN103246512B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229503A (en) * 2016-03-23 2017-10-03 北京京东尚科信息技术有限公司 Visio document conversion methods and system
CN111338245A (en) * 2020-02-26 2020-06-26 杭州和利时自动化有限公司 Graphic conversion method, device and medium based on VISIO
CN112115309A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Automatic conversion method for railway engineering drawings and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281359A1 (en) * 2009-04-30 2010-11-04 International Business Machines Corporation Method, apparatus and system for processing graphic objects
CN102622268A (en) * 2012-03-15 2012-08-01 广西大学 Power generation dispatching multi-Agent visualization system and method
CN102981842A (en) * 2012-11-08 2013-03-20 北京空间飞行器总体设计部 Method of generating interactive Gantt chart

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100281359A1 (en) * 2009-04-30 2010-11-04 International Business Machines Corporation Method, apparatus and system for processing graphic objects
CN102622268A (en) * 2012-03-15 2012-08-01 广西大学 Power generation dispatching multi-Agent visualization system and method
CN102981842A (en) * 2012-11-08 2013-03-20 北京空间飞行器总体设计部 Method of generating interactive Gantt chart

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭伟伟 等: ""Visio图形化电气计算软件开发技术的研究"", 《电力系统保护与控制》, vol. 36, no. 17, 1 September 2008 (2008-09-01) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229503A (en) * 2016-03-23 2017-10-03 北京京东尚科信息技术有限公司 Visio document conversion methods and system
CN111338245A (en) * 2020-02-26 2020-06-26 杭州和利时自动化有限公司 Graphic conversion method, device and medium based on VISIO
CN111338245B (en) * 2020-02-26 2021-06-11 杭州和利时自动化有限公司 Graphic conversion method, device and medium based on VISIO
CN112115309A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Automatic conversion method for railway engineering drawings and electronic equipment

Also Published As

Publication number Publication date
CN103246512B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105913334A (en) Visualized detection method for online abnormal movements of power distribution automation graph and model
CN102222132B (en) Drawing data conformity checking method based on diagram topology structure
WO2015079225A3 (en) Method of determining an islanding solution for an electrical power system
CN105404966A (en) Construction method of construction process quality color rendering module based on BIM
CN104239610A (en) Three-dimensional wiring design method of helicopter comprehensive testbed
CN103246512A (en) Method for converting VG (volume graphics) into Visio graphics
CN105184673A (en) Power distribution network graph/ model file visualized offline checking method
CN101882175B (en) Computer graphics method for manufacturing centrifugal rating plate
CN105389666A (en) Distribution network model topology connectivity verification method
CN103336257B (en) WAT test system and method
CN105551077A (en) Sheet metal processing three-dimensional technological model construction method and device
CN103793365A (en) Method for converting SVG image into Visio image
CN103383707B (en) The method automatically generating network system wiring diagram based on plant stand and shaft tower latitude and longitude coordinates
CN103606111A (en) Integrated voltage qualified rate evaluation method
WO2022150015A1 (en) A system for generating a mechanical and electrical service system design for a structure and a method thereof
CN203929933U (en) Power grid integrated on-line testing device
CN106682275B (en) Load processing method and device for industrial factory building structure modeling
CN103810310A (en) Parameterization determination method for pitch foaming module equipment oriented to bituminous mixing plant
CN103036228A (en) Method for determining location of transformer substation and length of power supply circuit in power system planning process
CN106873437A (en) Nuclear power station real-time information monitoring system picture is detected and automatic configuration system and method
CN102902858B (en) The relevance mask method of fault components and parts in combination circuit plate test result
GB2549028A (en) Integrated a priori uncertainty parameter architecture in simulation model creation
CN106501637B (en) The method for determining antiskid brake control device high temperature weak link
CN105229477A (en) The method of area of computer aided determination power network impedance
CN103673962B (en) Contour line auto-measuring system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 264000 Jiefang Road, Shandong, No. 158,

Applicant after: Yantai Power Supply Company, State Grid Shandong Electric Power Company

Applicant after: State Grid Corporation of China

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Yantai Power Supply Co., Ltd., Shandong Electric Power Corporation

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160608

Termination date: 20190506

CF01 Termination of patent right due to non-payment of annual fee