基于Visio二次开发的站场图设计与实现
Redevelopment of station-yard plan based on Visio
-
摘要: 在地铁线路设计中,站场平面图具有十分重要的作用,针对目前站场平面图绘制效率低、格式不规范等特点,借鉴Visio形状,利用Visio程序创建图形、分析图形,在图形与外部数据源之间传递信息,提出一种使用C#语言对Visio进行二次开发的方法,设计并开发了基于Visio的人机交互绘图界面和基于Windows 用户界面框架(WPF)的自动绘图界面,研究成果及所开发的软件已应用于实际工程中,取得了很好的效果,提高了绘图效率和准确性,为用户提供了一种快速绘制站场图的途径。Abstract: In the design of metro lines, the station-yard plan plays a very important role. In view of the low efficiency and irregular format of the current station-yard plan drawing, learning from the Visio shape, the Visio program was used to create graphics, analyze graphics and transmit information between graphics and external data sources. This article proposed a method of redevelopment of Visio by using C# language, designed and developed the humancomputer interactive drawing interface based on Visio and the automatic drawing interface based on Windows-based user interface framework(WPF). The research results and the developed software have been applied to practical engineering applications. Good results have been achieved and the drawing has been improved. The efficiency and accuracy of the map provide a fast way for users to draw the station-yard plan.