|
POST
|
Have you tried the options pointed to in the above post?
... View more
04-26-2012
06:48 PM
|
0
|
0
|
3512
|
|
POST
|
Try declaring and using teh variable as: Dim Dense95
Without the []s.
... View more
04-23-2012
07:22 PM
|
0
|
0
|
726
|
|
POST
|
Could please wrap your Execute code with try-catch as follows?
object sev = null;
try
{
gp.Execute(fp, null);
Console.WriteLine(gp.GetMessages(ref sev));
}
catch (Exception ex)
{
Console.WriteLine(gp.GetMessages(ref sev));
Console.WriteLine(ex.Message);
}
Please let me know what messages you get. Also, do you get a successful run if you run the tool with same parameters in ArcMap? To get a quicker response post your message in this forum: http://forums.arcgis.com/forums/20-ArcObjects-All-Development-Languages
... View more
04-23-2012
10:24 AM
|
0
|
0
|
379
|
|
POST
|
Please try with the patch that is coming within two weeks. Read sacdou (post# 9) - the link elaborates the issues solved by the patch: http://support.esri.com/en/knowledge...s/detail/40174
... View more
04-23-2012
09:51 AM
|
0
|
0
|
561
|
|
POST
|
Here is an old forum thread - try that solution: http://forums.arcgis.com/threads/33851-Error-setting-GP-Properties-in-a-Python-Subprocess I'm not sure what's going on. Most probably the problem is in the module search path. Just before the import subprocess line, try printing sys.path as:
import sys
print sys.path
import subprocess Make sure you are not using two different python executable (one installed by ArcGIS and the other by you/someone else?) If that does not solve your issuse please call tech support.
... View more
04-23-2012
09:46 AM
|
0
|
0
|
3512
|
|
POST
|
I would like to create a text field in the first shape that would concatenate the ID fields of all the small polygones of the second shape that are included (at least partially) in the polygone of the first shape. Use Spatial Join tool with INTERSECT option. In the Field Mapping control of the Spatial Join add a new output field of type TEXT with the merge rule of Join.
... View more
04-20-2012
12:38 PM
|
0
|
0
|
443
|
|
POST
|
One way to get it done is to make the input parameter of the script tool optional and make the output parameter derived.
... View more
04-20-2012
12:31 PM
|
0
|
0
|
1503
|
|
POST
|
Thanks for bringing up the issue. 'Mode' is not available for Text field by implementation. It is a documentation error. If you like get a workaround please contact the tech support or email me at nahmed@esri.com
... View more
04-20-2012
12:06 PM
|
0
|
0
|
729
|
|
POST
|
@JasonWarmerdam: Apolozy for your trouble. Please see my post above (#17). Meanwhile, although you cannot see the messages while running, you can check those out when the tool finishes running in the Results window.
... View more
04-20-2012
11:42 AM
|
0
|
0
|
1243
|
|
POST
|
If your input is a polyline then you'll have one record per polyline. If you have four vertices per polyline then you want four times the number polylines records in your output? Here is a little snippet of code that loads the geometry into a Geometry object (available in 10.0 only) and then reads X, Y, M, Z for each cenroid of the lines:
import arcpy
input_fc = r"C:\points_to_XYMZ\f.gdb\poly_fc_zm"
g = arcpy.Geometry()
geometry_list = arcpy.CopyFeatures_management(input_fc, g)
for geom in geometry_list:
c = geom.centroid
print c.X, c.Y, c.Z, c.M
If you want one output record for each vertex then you have to write a python script.
... View more
04-19-2012
12:56 PM
|
0
|
0
|
1217
|
|
POST
|
Please check out my response in this thread: http://forums.arcgis.com/threads/39018-Model-Builder-ArcGIS-crash-using-Spatial-Join-in-a-model The issue is fixed and a patch is being prepared for general delivery.
... View more
04-18-2012
09:54 AM
|
0
|
0
|
994
|
|
POST
|
... basically Calc field X to field M and Calc field Y to field Z. Do you already have X, Y, M and Z fields in your table? If so then create a model like this graphic: [ATTACH=CONFIG]13642[/ATTACH] And then, use parameter values as follows for one of the Calculate Field tool: Field Name: X Expression: !M! Express Type: PYTHON_9.3 And for the other Calc Field tool as: Field Name: Z Expression: !Y! Express Type: PYTHON_9.3
... View more
04-18-2012
09:47 AM
|
0
|
0
|
1217
|
|
POST
|
Sorry to all for the unintended behavior of our tool 😞 The issue is being addressed and will be delivered through a general patch soon. The patch will address NIM079064, NIM068881 and NIM079126. The fixes will also go into 10 sp5. The first two NIMs solve the crash issue and the third one solves the field mapping issue (join field values becoming NULL).
... View more
04-18-2012
09:20 AM
|
0
|
0
|
1243
|
|
POST
|
I can't project a feature class from one dataset to another. It always places the output in the root of the output gdb. Please read posting# 4 - it states why this behavior is by design.
... View more
04-13-2012
08:50 AM
|
0
|
0
|
1899
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-18-2019 03:56 PM | |
| 1 | 05-06-2020 01:18 PM | |
| 1 | 07-23-2021 10:33 AM | |
| 1 | 07-28-2020 09:10 AM | |
| 2 | 07-27-2020 04:47 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-25-2021
03:13 PM
|