437 reputation
210
bio website
location
age
visits member for 1 year, 5 months
seen 21 hours ago
stats profile views 34

Apr
18
asked Creating curves using the Parcel Editor tool in ArcGIS 10.1
Apr
9
comment Can I add an ArcToolbox tool to QGIS?
Do you mean ArcGIS and not QGIS?
Mar
13
comment Importing arcgis.rand error from python shell
I'm using it with the CalculateField tool. Should I be using it with the CalculateValue tool instead?
Mar
13
asked Importing arcgis.rand error from python shell
Mar
7
comment ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
This works. Thanks for taking the time Jay and blah. I ditched the idea of using that codeblock (instead using arcgis.rand) as i couldn't get it to work when importing the statement at the begining of the codeblock string.
Mar
7
accepted ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
Mar
7
comment ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
if sewer in globals(): gives same error when using either globals() or vars(). I have three import statements: arcpy, string, random.
Mar
7
comment ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
So, running it as is will return an the error string is not defined. As you stated blah, the empty string needs to be dealt with as well. I'm not sure how to deal with that empty string.
Mar
7
comment ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
I had a feeling it was going to need an if statement. However I wouldn't be sure how to code that.
Mar
7
revised ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
added 608 characters in body
Mar
7
asked ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?
Mar
6
comment Concatenate only when all fields to be concatenated have values
Great, this worked. But I had to return an empty string - return "" - for it to work as I was getting an error The field is not nullable
Mar
6
accepted Concatenate only when all fields to be concatenated have values
Mar
6
revised Concatenate only when all fields to be concatenated have values
added 92 characters in body
Mar
6
comment Concatenate only when all fields to be concatenated have values
hmmm, i'm still getting values from field2 even if field1 has empty strings. The expression i'm using is concat_fields(!FIELD1!, !FIELD2!)
Mar
6
asked Concatenate only when all fields to be concatenated have values
Mar
5
comment Type mismatch error in Calculate Field tool in ArcGIS 10.1
This worked, thanks dmahr. And thanks to nmpeterson for spoon feeding me the code block.
Mar
5
accepted Type mismatch error in Calculate Field tool in ArcGIS 10.1
Mar
1
comment Type mismatch error in Calculate Field tool in ArcGIS 10.1
Thank's guys. For dummies like me, how would you go about writing the code block. Sorry for being such a vampire, I don't know much about coding.
Mar
1
asked Type mismatch error in Calculate Field tool in ArcGIS 10.1