{"id":781,"date":"2011-04-21T15:29:43","date_gmt":"2011-04-21T12:29:43","guid":{"rendered":"http:\/\/www.water-simulation.com\/wsp\/?p=781"},"modified":"2014-08-07T09:26:02","modified_gmt":"2014-08-07T06:26:02","slug":"epanet-plus-improved-map-export-to-dxf","status":"publish","type":"post","link":"http:\/\/www.water-simulation.com\/wsp\/2011\/04\/21\/epanet-plus-improved-map-export-to-dxf\/","title":{"rendered":"EPANet Plus &#8211; improved map export to DXF"},"content":{"rendered":"<p><a title=\"Baoyu Zhuang's personal website\" href=\"http:\/\/zby.me\/en\/\">Baoyu Zhuang<\/a> added a few functions to the <a title=\"EPANET related\" href=\"http:\/\/www.water-simulation.com\/wsp\/category\/epanet-related\/\">EPANet<\/a> GUI to allow more options while exporting a map to the DXF format. The USEPA version of EPANet allows the user to export a map to DXF using the File-&gt;Export-&gt;Map form:<\/p>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-map-export-original.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-782\" title=\"Original EPANet map export\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-map-export-original.png\" alt=\"Original EPANet map export\" width=\"342\" height=\"297\" \/><\/a><\/p>\n<p>This export function will save a DXF file containing the nodes and links of the network and the labels. The elements color will be according to their selected viewed properties.<\/p>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-original-dxf-export.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-783\" title=\"Original EPANet DXF export\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-original-dxf-export.png\" alt=\"Original EPANet DXF export\" width=\"313\" height=\"378\" \/><\/a><\/p>\n<p>Elements id&#8217;s, properties and results values are missing and that is were <a href=\"http:\/\/zby.me\/works.asp\">EPANet Plus<\/a> kicks in. While starting with a small error message the program runs as expected. The difference is in the map export form:<\/p>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-map-export-new-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-785\" title=\"EPANet Plus map export form\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet-map-export-new-1.png\" alt=\"EPANet Plus map export form\" width=\"344\" height=\"444\" \/><\/a><\/p>\n<p>The upper part is the same as the original form but there is a new frame with the following functionality:<\/p>\n<ul>\n<li>If no option is selected then the exported file will \u00a0be the same as the original program. However, if the display ID&#8217;s checkboxs are selected in the map options form then they will be shown in the DXF file:<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/nodes-links-ids.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-786\" title=\"Nodes and links ID's\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/nodes-links-ids.png\" alt=\"Nodes and links ID's\" width=\"385\" height=\"228\" \/><\/a><\/p>\n<ul>\n<li>If the &#8220;Pipes Properties&#8221; box is selected then for each link longer then the selected value a set of properties will be shown (length, diameter, velocity and headloss).<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/links-properties-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-788\" title=\"Link properties\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/links-properties-1.png\" alt=\"Link properties\" width=\"412\" height=\"249\" \/><\/a><\/p>\n<ul>\n<li>When the &#8220;Junctions Properties&#8221; box is selected the pressure and demand values will be shown for each junction.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/nodes-properties.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-789\" title=\"Node's properties\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/nodes-properties.png\" alt=\"Node's properties\" width=\"423\" height=\"205\" \/><\/a><\/p>\n<ul>\n<li>The last option, &#8220;[Pipe&#8217;s ID], will just print the pipe&#8217;s ID in brackets.<\/li>\n<\/ul>\n<p>Each set of values will be placed in a specific layer in the DXF file:<\/p>\n<p><a href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/layers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-790\" title=\"DXF layers\" src=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/layers.png\" alt=\"DXF layers\" width=\"300\" height=\"130\" \/><\/a><\/p>\n<p>When I wrote about <a title=\"The future of EPANet\" href=\"http:\/\/www.water-simulation.com\/wsp\/2010\/09\/26\/the-future-of-epanet\/\">the future of EPANet<\/a> and about open sourcing the program, this is one of the things I\u00a0imagined\u00a0&#8211; users and developers would add new features to the program.\u00a0Zhuang didn&#8217;t release the source code of his changes but hopefully he would.<\/p>\n<p><strong>Download and use EPANet Plus\u00a0form <span style=\"color: #ff0000;\">(at your own risk)<\/span>\u00a0<a title=\"Download EPANet Plus\" href=\"http:\/\/www.water-simulation.com\/wsp\/wp-content\/uploads\/2011\/04\/epanet_plus.zip\">here<\/a>.<\/strong><\/p>\n<p><strong>Update:<\/strong> Baoyu sent a few more tips for using EPANet Plus:<\/p>\n<ol>\n<li>Never try to export pipe&#8217;s and\/or junction&#8217;s property before running the simulation.<\/li>\n<li>The position of junction&#8217;s property box could be changed according to the junction&#8217;s Tag property.\u00a0 The position will be northeast, southwest and southeast to the junction while the Tag of that junction is set to 2, 3 and 4 respectively. If the Tag is set to other value or left blank, the position would be northwest of the junction.<\/li>\n<li>The font size is adjustable. It is controlled by both values of the font size and zoom level in Views &#8211; Options &#8211; Notation section<\/li>\n<li>Besides the enhancement of the export function, EPANET Plus fixes the arrow position issue. When a pipe has multiple sections, the position of link arrows could be placed at wrong position in the DXF exported by the original EPANET. The algorithm to\u00a0calculate the position of link arrow was also updated for both export function and network map browser.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Baoyu Zhuang added a few functions to the EPANet GUI to allow more options while exporting a map to the DXF format. The USEPA version of EPANet allows the user to export a map to DXF using the File-&gt;Export-&gt;Map form: &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.water-simulation.com\/wsp\/2011\/04\/21\/epanet-plus-improved-map-export-to-dxf\/\"> <span class=\"screen-reader-text\">EPANet Plus &#8211; improved map export to DXF<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[124,103,123,17],"class_list":["post-781","post","type-post","status-publish","format-standard","hentry","category-epanet-related","category-free-software","tag-baoyu-zhuang","tag-dxf","tag-epanet-plus","tag-features"],"_links":{"self":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/comments?post=781"}],"version-history":[{"count":2,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/781\/revisions"}],"predecessor-version":[{"id":1333,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/posts\/781\/revisions\/1333"}],"wp:attachment":[{"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/media?parent=781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/categories?post=781"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.water-simulation.com\/wsp\/wp-json\/wp\/v2\/tags?post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}