CN103246512B - A kind of is the method for Visio figure by VG Graphic Exchanging - Google Patents

A kind of is the method for Visio figure by VG Graphic Exchanging Download PDF

Info

Publication number
CN103246512B
CN103246512B CN201310161285.2A CN201310161285A CN103246512B CN 103246512 B CN103246512 B CN 103246512B CN 201310161285 A CN201310161285 A CN 201310161285A CN 103246512 B CN103246512 B CN 103246512B
Authority
CN
China
Prior art keywords
visio
file
coordinate
information
graphic element
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.)
Expired - Fee Related
Application number
CN201310161285.2A
Other languages
Chinese (zh)
Other versions
CN103246512A (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

Abstract

It is the method for Visio figure by VG Graphic Exchanging that the present invention discloses a kind of, comprising: set up Visio figure mould VSS file; Obtain the Tbl file identified in VG figure shape files; Obtain the coordinate of described VG graphic element and described Visio mould VSS file; Determine the coordinate of Visio graphic element and the coordinate difference value of VG graphic element, and set up the accurate coordinate of Visio graphic element, automatically draw Visio figure; According to the display of Visio figure, judge the connection state of figure; According to judged result, carry out intelligence corrigendum or artificially revise, until correctly; Connect correct formation XML format data file and figure shape files automatically, and preserve file according to described position. Adopting the present invention, work designer only needs designated conversion catalogue, and conversion process system completes automatically, is very easy to designer's work, it is to increase working efficiency with economize on resources.

Description

A kind of is the method for Visio figure by VG Graphic Exchanging
Technical field:
The present invention, by the method that VG Graphic Exchanging is Visio figure, mainly comprises VG figure secondary development and Visio figure secondary development method.
Background technology:
In the current general engineering design of national grid system, it is several that main flow wiring scheme display module is generally VG, Visio etc., but current domestic each software developer is different to the requirement of wiring scheme display module, thus add the work that graphic artists needs to redesign. Owing to workload is big, even and if again draw also very difficult control and newly scheme consistent with former figure, cause working efficiency to lower, ideal effect can't be reached, waste very big human and material resources.
Summary of the invention:
It is an object of the invention to overcome the deficiency of prior art and provide that a kind of simplicity operation, over-all properties are strong, it is automatic that accuracy is high is the method for Visio figure by VG Graphic Exchanging.
The object of the present invention can be obtained by following measure: a kind of is the method for Visio figure by VG Graphic Exchanging, it is characterised in that, comprise the steps:
Step one makes Visio mould: set up mold graph pattern according to engineering demand, forms the VSS file that Visio figure is special;
Step 2 obtains tbl file in VG figure: tbl file comprises figure shape files and basic mould file, and system reads suitable file under designated disk catalogue automatically;
Tbl file in step 3 identification VG figure shape files: system reads connection information and various attribute information in VG figure shape files;
Step 4 obtains the coordinate of described VG graphic element and described Visio mould VSS file: some units and coordinate-system and Visio exist otherness in VG figure;
Step 5 coordinate comparison: according to the coordinate of described VG graphic element and described Visio mould VSS file, determine the coordinate of newly-generated Visio graphic element and the coordinate difference value of described VG graphic element, the difference value of coordinate subtracts current coordinate point, get its absolute value, it is Visio graphic element coordinate point;
Step 6 draws figure: system, according to the data information obtained after top-operation, is automatically drawn figure according to Visio mould file and added connection relation, is drawing while figure attribute needed for former figure information interpolation equipment;
Step 7 figure verifies: according to the Visio figure display after conversion, judge the connection state of figure: whether there is the situations such as isolated island, information is imperfect;
Step 8 figure correction: according to judged result, if there is island state, the equipment likely connected according to certain surface analysis, according to equipment setting range value from being dynamically connected, eliminates isolated island; As the imperfect situation of information occurs, missing information can be pointed out, and with yellow mark warning, more automatically supplement relevant information; If figure is normal, namely enter next step operation; When still incorrect after system check figure correction, system marks redness on wrong components figure, and display needs the artificial equipment participating in amendment, continues this step inspection core after completing;
Step 9 Graphic Exchanging is normal: form data file, forms data file xml according to the connection information after conversion and data information;
Step 10 graphics saving: by graphics saving to setting catalogue or setting data storehouse.
The present invention can produce following positively effect compared with the prior art: adopts the VG picture file translation described in this explanation to become the method for Visio figure shape files, only need work designer's designated conversion catalogue, switching process is completed automatically by system, even if former figure occurs that drawing problem system also can repair automatically, it is very easy to the work of designer, improve graphic designs progress and efficiency, saved resource, it also avoid some repeatability mistakes.
Accompanying drawing illustrates:
Fig. 1 is the inventive method schematic flow sheet;
Fig. 2 is the former figure of VG electric power;
Fig. 3 is preliminary graphic diagram after Visio conversion.
Embodiment:
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
As shown in the schematic flow sheet of Fig. 1 the present invention, comprise the steps:
Step one makes Visio mould: set up mold graph pattern according to engineering demand, forms the VSS file that Visio figure is special;
Step 2 obtains tbl file in VG figure: tbl file comprises figure shape files and basic mould file, and system reads suitable file under designated disk catalogue automatically;
Tbl file in step 3 identification VG figure shape files: system reads connection information and various attribute information in VG figure shape files;
Step 4 obtains the coordinate of described VG graphic element and described Visio mould VSS file: some units and coordinate-system and Visio exist otherness in VG figure;
Step 5 coordinate comparison: according to the coordinate of described VG graphic element and described Visio mould VSS file, determine the coordinate of newly-generated Visio graphic element and the coordinate difference value of described VG graphic element, the difference value of coordinate subtracts current coordinate point, get its absolute value, it is Visio graphic element coordinate point;
Step 6 draws figure: system, according to the data information obtained after top-operation, is automatically drawn figure according to Visio mould file and added connection relation, is drawing while figure attribute needed for former figure information interpolation equipment;
Step 7 figure verifies: according to the Visio figure display after conversion, judge the connection state of figure: whether there is the situations such as isolated island, information is imperfect;
Step 8 figure correction: according to judged result, if there is island state, the equipment likely connected according to certain surface analysis, according to equipment setting range value from being dynamically connected, eliminates isolated island;As the imperfect situation of information occurs, missing information can be pointed out, and with yellow mark warning, more automatically supplement relevant information; If figure is normal, namely enter next step operation; When still incorrect after system check figure correction, system marks redness on wrong components figure, and display needs the artificial equipment participating in amendment, continues this step inspection core after completing;
Step 9 Graphic Exchanging is normal: form data file, forms data file xml according to the connection information after conversion and data information;
Step 10 graphics saving: by graphics saving to setting catalogue or setting data storehouse.
Although more than by description of contents and implementation; specifically describe the present invention; but those skilled in the relevant art should be understood that not departing from Claims scope, in form and details present method is carried out various change, all should be in present method protection domain.

Claims (1)

1. VG Graphic Exchanging is the method for Visio figure by one kind, it is characterised in that, comprise the steps:
Step one makes Visio mould: set up mold graph pattern according to engineering demand, forms the VSS file that Visio figure is special;
Step 2 obtains tbl file in VG figure: tbl file comprises figure shape files and basic mould file, and system reads suitable file under designated disk catalogue automatically;
Tbl file in step 3 identification VG figure shape files: system reads connection information and various attribute information in VG figure shape files;
Step 4 obtains the coordinate of described VG graphic element and described Visio mould VSS file: some units and coordinate-system and Visio exist otherness in VG figure;
Step 5 coordinate comparison: according to the coordinate of described VG graphic element and described Visio mould VSS file, determine the coordinate of newly-generated Visio graphic element and the coordinate difference value of described VG graphic element, the difference value of coordinate subtracts current coordinate point, get its absolute value, it is Visio graphic element coordinate point;
Step 6 draws figure: system, according to the data information obtained after top-operation, is automatically drawn figure according to Visio mould file and added connection relation, is drawing while figure attribute needed for former figure information interpolation equipment;
Step 7 figure verifies: according to the Visio figure display after conversion, judge the connection state of figure: whether there is the situations such as isolated island, information is imperfect;
Step 8 figure correction: according to judged result, if there is island state, analyzes the equipment likely connected, and according to equipment setting range value from being dynamically connected, eliminates isolated island; As the imperfect situation of information occurs, missing information can be pointed out, and with yellow mark warning, more automatically supplement relevant information; If figure is normal, namely enter next step operation; When still incorrect after system check figure correction, system marks redness on wrong components figure, and display needs the artificial equipment participating in amendment, continues this step inspection core after completing;
Step 9 Graphic Exchanging is normal: form data file, forms data file xml according to the connection information after conversion and data information;
Step 10 graphics saving: by graphics saving to setting 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 CN103246512A (en) 2013-08-14
CN103246512B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229503B (en) * 2016-03-23 2021-04-30 北京京东尚科信息技术有限公司 Visio file conversion method and system
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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877136A (en) * 2009-04-30 2010-11-03 国际商业机器公司 Method, equipment and system for processing graphic object

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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图形化电气计算软件开发技术的研究".《电力系统保护与控制》.2008,第36卷(第17期),全文. *

Also Published As

Publication number Publication date
CN103246512A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103198494B (en) A kind of elevation of building extracting method based on building outer contour and laser point cloud
CN103246512B (en) A kind of is the method for Visio figure by VG Graphic Exchanging
CN105807658A (en) Method for graph-model information sharing of intelligent substation and dispatching master station
CN105117514B (en) Modularization automatic map delivery method and system
CN104462473A (en) Method for automatically generating CIM-G-format plant-station internal wiring diagram based on CIM-E power grid model
CN103544336A (en) Modeling system of power grid model based on logical relationship
CN102930120B (en) Method for automatically drawing power grid and geography wiring diagram based on G language
CN103914307A (en) Interactive-interface fast implementation method based on reusable library
CN102222132A (en) Drawing data conformity checking method based on diagram topology structure
CN110489890A (en) Steel bifurcated structure automatic map delivery method
KR20140127038A (en) Automatic creating method for 2D file from 3D file
CN103793365A (en) Method for converting SVG image into Visio image
CN103838935A (en) Drawing system and method for subway signal system designing
CN103383707B (en) The method automatically generating network system wiring diagram based on plant stand and shaft tower latitude and longitude coordinates
CN105183971A (en) PCB borehole enlargement method
CN115510525A (en) Automatic labeling method and system for pipeline three-dimensional building information model
CN103279628A (en) Method for manufacturing parameterized engineering drawings
CN102663787B (en) Method and system for image path generation
CN104715092A (en) Method for rapidly building connection relation between Label and graph in hierarchical layout verification
CN103810310A (en) Parameterization determination method for pitch foaming module equipment oriented to bituminous mixing plant
CN102184300A (en) Label rectangular graph computer produced drawing method
CN104050310A (en) Automatic assembling constraint generation method based on Catia
CN105141247A (en) Tooling for installing and locating junction box of photovoltaic assembly
CN103942364A (en) Automatic modeling technology for typical matching structure in aircraft manufacturing tool
CN104750750A (en) GERBER file output 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