|
POST
|
All, I am using ArcScene 10.2.2 to map data for the Africa sub-sahara. In ArcMap I created a buffer around the coastline of Africa and set this to a gradient fill that gives the map a pleasing effect. This same layer when copied into ArcScene just goes to a solid blue fill as shown below even though the legend shows it as gradient fill. I've looked at the help, crashed around in GeoNet and fiddled around with settings but I cannot get ArcScene to display this polygon layer as a nice gradient fill. So my question to ESRI is does ArcScene actually support gradient fills, I guess the answer will be no but I cannot find any documentation that states it does or it does not. Duncan
... View more
09-03-2014
04:06 AM
|
0
|
1
|
2012
|
|
POST
|
I used a slight variant of the above approach
import arcpy
descObj = arcpy.Describe("myLayer")
SRef = descObj.spatialReference
print SRef.factoryCode
... View more
09-01-2014
06:28 AM
|
4
|
1
|
1597
|
|
POST
|
I assume you are using an iterator on your rasters and that is feeding into a Collects tool? As you have not uploaded an image of your model I will assume this is the case? People often make the mistake of connecting the collects tool to the final tool within the same model. This is wrong, the collects tool should be the last tool in the model and exposed as a parameter. You then add that whole model as a sub-model to another and connect the output parameter (your collect tool) to the final tool that will do something to the collection of datasets. You will find the model executes much more efficiently. Basically you need to understand the quirky nature of an iterator, everything in the model executes X number of times when it contains an iterator. This is subtlety different from a standard loop say in python.
... View more
08-29-2014
03:40 AM
|
0
|
0
|
756
|
|
POST
|
According to the help the IEditor.EditSelection property is a read only property... I think what you want to do is create an event listener. Have a look at the IEditEvents.OnSelectionChanged event?
... View more
08-08-2014
08:30 AM
|
1
|
0
|
1401
|
|
POST
|
The logic of your cursor loop is flawed. You've created a list of filenames and you enter the if section of your code when it finds a name in names. You then create an update cursor but you have not specified over what, so in this case the cursor defaults to ALL rows in the featureclass. You need to specify a whereclause when you create the cursor, something like field = '"' + filename + '"'.
... View more
08-08-2014
08:12 AM
|
0
|
2
|
2239
|
|
POST
|
Samanta, Assuming your 3 DEMs do not overlap and you want to create a single raster with all 3 "stitched" together then you would want to use the geo processing tool Mosaic to new Raster. If you read the help on this tool you will see that you can save the results in many different formats, I assume one of them will be at least readable by your other software? Duncan
... View more
08-07-2014
02:36 AM
|
0
|
0
|
924
|
|
POST
|
No idea why it would fail but have you tried the alternate overloaded method of BindLicence(productcode)? May be that will work?
... View more
08-06-2014
08:58 AM
|
0
|
0
|
1268
|
|
POST
|
Riyas, Have a look at these pages: Use Field Mapping and Python Scripting to Make Your Job Easier ArcGIS Desktop Help From your question it sounds like you want to be running custom code in the validation section of the script tool? This page talks about making a choice list but it shows how you get in and out of the validation part of the tool. Other people have scripted this and here too.
... View more
08-04-2014
04:00 AM
|
0
|
2
|
1559
|
|
POST
|
You would use the IWorkspaceFactory to connect to an ArcInfoWorkspaceFactory at that point there are several approaches to get hold of the ITable object which you could then read using an ICursor.
... View more
07-30-2014
09:26 AM
|
1
|
0
|
546
|
|
POST
|
Never had to create a custom layer, but a worked example is found here. You say you are new to ArcObjects and I was wondering if when you say custom layer you simply meant an existing dataset (e.g. shapefile) you wish to visualize on a map? If this is what you actually meant then create an IFeatureLayer object and add that to the IMap.
... View more
07-29-2014
08:14 AM
|
0
|
1
|
959
|
|
POST
|
This can be done with a very simple model (if you have the Advanced license, which you do not state). The model is shown below with the final result (green polyline) The only assumption is that the order of the polylines in the shapefile dictates the order of the extracted nodes which is the order the vertices are in your green line.
... View more
07-22-2014
09:21 AM
|
0
|
1
|
2372
|
|
POST
|
May be the steepest path tool hooks into environment settings? You can set environmental settings with ArcObjects, it is discussed here but I don't know if they affect 3D analyst objects?
... View more
07-22-2014
09:11 AM
|
0
|
1
|
1691
|
|
POST
|
So in your example you are trying to create that green polyline, in this case it is compose of only 3 vertices? OK several questions: are your blue polylines whose end vertices you are trying to connect always stacked precisely one above each other, i.e. their X coordinates are always the same? Which line do you start from, the very top or the bottom? Are these bunches of lines all over the place in a single datasets or is it a bunch per shapefile?
... View more
07-22-2014
08:49 AM
|
0
|
1
|
2372
|
|
IDEA
|
Don't know if this helps you but the Help file says the Add Join geo-processing tool honours the Qualified Field names environment so no need to alter anything? Have a look at the help file for the topic Qualified Field Names (Environment setting), there is some example code.
... View more
07-22-2014
07:14 AM
|
0
|
0
|
2029
|
|
IDEA
|
Don't know if this helps you but the Help file says the Add Join geo-processing tool honours the Qualified Field names environment so no need to alter anything? Have a look at the help file for the topic Qualified Field Names (Environment setting), there is some example code.
... View more
07-22-2014
07:14 AM
|
0
|
0
|
1373
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-03-2026 07:31 AM | |
| 3 | 06-29-2026 05:17 AM | |
| 1 | 02-15-2023 05:45 AM | |
| 1 | 06-16-2026 02:37 AM | |
| 1 | 06-15-2026 08:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|