<\/HEAD>
Ik probeer de terreinvoorbewerking arcHydro tools uit te voeren vanuit een zelfstandige python-script. Echter, bij het uitvoeren van ArcHydroTools.BuildWalls(), krijg ik de foutmelding:<\/P>
System.InvalidCastException: Conversie van string "" naar type 'Double' is niet geldig. ---> System.FormatException: Invoertekenreeks was niet in een correct formaat.<\/SPAN><\/P> bij Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)<\/SPAN><\/P> bij Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)<\/SPAN><\/P> --- Einde van interne exceptie stack trace ---<\/SPAN><\/P> bij Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)<\/SPAN><\/P> bij Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)<\/SPAN><\/P> bij ESRI.APWR.ApHydro.ArcHydroOp.BuildWalls(ApLayers apLayers, Double innerWallHeight, Double wallBuffer, Double breachLineBuffer, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage) in C:\Builds\HydroSolutions\10.3_ArcHydro\Sources\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:regel 13815<\/SPAN>
Uitvoering mislukt (BuildWalls).<\/SPAN><\/P><\/BLOCKQUOTE>Ik heb ArcHydroTools.SetTargetLocations gebruikt om een lokale map en GDB in te stellen.<\/P>De vorige tool in mijn python-script, ArcHydroTools.DEMReconditioning, werkt prima.<\/P>De uitvoer van ArcHydroTools.BuildWalls() staat in een map. Ik heb geprobeerd mijn tijdelijke map te legen.<\/P>Ik heb arcpy.env.mask ingesteld op dezelfde laag als de buitenmuren.<\/P><\/P><\/P>Ik gebruik python 2.7.8, arcpy is van arcMap 10.3.1, en Arc Hydro voor ArcGIS 10.2 (versie 10.2, 30 maart 2015)<\/P><\/P>Suggesties worden op prijs gesteld.<\/P><\/BODY><\/HTML>