POST
|
I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling or method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of ArcMap, an error gives from running method (ENsolveH/ENepanet) . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?
... View more
05-23-2015
09:20 PM
|
0
|
0
|
3906
|
POST
|
I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling <ENsolveH()> or <ENepanet(inputfile,reportFile,outputFile)>method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of acrmap, an error gives from running method (ENsolveH/ENepanet) . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?? Thanks . Shekh Shamsuzzaman EpaNet2.dll gives 305 error code from arcmap addin application
... View more
05-21-2015
02:59 AM
|
0
|
0
|
4221
|
POST
|
I am in trouble to get EPANet dll function running from my ARCMap Addin (C#.NetAPI). The same source for dll's function calling is working in an independent console application but when I do the same calling from ArcMap Addin button click, it returns error 305 which means “Cannot open hydraulics file” . But I do not understand why ArcMAP calling causes to stop creating/ accessing this file. I also tried to run the same console executable in a different process (started from ArcMAP Addin button even), but still no luck. Do anyone of you have any clue regarding this matter?
... View more
05-21-2015
02:55 AM
|
0
|
0
|
3410
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|