POST
|
No problem :0) (feel free to mark my post as the answer if it solved your problem :))
... View more
02-23-2014
04:46 PM
|
0
|
0
|
2573
|
POST
|
The help lists the syntax as: Import3DFiles_3d (in_files, out_featureClass, {root_per_feature}, {spatial_reference}, {y_is_up}, {file_suffix}, {in_featureClass}, {symbol_field}) It appears you have missed one parameter and incorrectly specified the optional parameters: Note that you don't need to type out the 'in_featureClass =' etc, just add the string or variable in the correct location Also, the parameters are read in order meaning you either need to specify one of the available options (i.e "Z_IS_UP") or accept the default option ("#")- You still need to put something there otherwise your parameters will get mixed up. So I think you should have: # Import the files using the point feature class and specifying the symbol_field
arcpy.Import3DFiles_3d("D:\\foo", "D:\\bar.gdb\\baz", spacial_ref, "Z_IS_UP", "flt", "D:\\bar.gdb\\qux", "OFNAME")
... View more
02-23-2014
04:40 PM
|
0
|
0
|
225
|
POST
|
Do you have spatial analyst? To get actual difference values, I'd look at converting your TINs to elevation rasters and then using some raster math to work out the difference (i.e. higher raster minus lower raster). I've always found it less than useful that the Cut/Fill tool doesn't also output the actual differences between cells too.
... View more
02-17-2014
10:48 AM
|
0
|
0
|
2573
|
POST
|
Can you be a bit more specific? You can certainly create datasets that ArcScene uses, but there is no equivalent for arcpy.mapping for .sxd files (ArcScene documents)
... View more
02-10-2014
03:57 PM
|
0
|
0
|
159
|
POST
|
If the purpose of this tool is to 'clean' documents of un-needed graphics, perhaps an alternative approach may work? (i.e. use arcpy.mapping to copy all the layers to a new temporary document, saving it, closing the original document and re-naming the new document to the old documents name. This would effectively get rid of the graphics but keep the layers?
... View more
02-10-2014
01:07 PM
|
0
|
0
|
201
|
POST
|
Depending on the quality/clarity of the map, georeferencing it and then digitising the contours for use in a TIN or Raster is a valid approach. Alternatively, look at something like ArcScan (http://resources.arcgis.com/en/help/main/10.1/index.html#//000w00000001000000) which can automatically extract features from an image/scan. Obviously, on a very 'busy' map or a low quality scan, a human eye and brain may be better at extracting the lines from the image than an algorithm. If the area is fairly small also, it may be easier and cost effective to just digitise it by hand 🙂 Remember also, that the shape of the land may not have changed significantly (or at all) since 1894 so sourcing 'modern' DEM data for that area may be a better approach.
... View more
02-10-2014
12:04 PM
|
0
|
0
|
184
|
POST
|
This may be completely obvious to you, apologies if it is, but when you are trying to debug a python addin, having the Geoprocessing> Python command line open in ArcMap while running the tool/button etc will show any error messages there.
... View more
01-28-2014
05:41 PM
|
0
|
0
|
764
|
POST
|
Can you give some more details? Where are you trying to edit the model from? ArcCatalog?
... View more
01-28-2014
05:21 PM
|
0
|
0
|
207
|
POST
|
Arcpy.Mapping was only introduced at version 10.? so it wont work under the older geoprocessor. I think that before arcpy.mapping was around you needed to do it in a VBA macro- Perhaps the old arcscripts may have something?
... View more
12-09-2013
12:26 PM
|
0
|
0
|
249
|
POST
|
Any particular reason why you are mixing the older gp with the newer arcpy? Have you instantiated/imported them both?
... View more
12-09-2013
12:22 PM
|
0
|
0
|
730
|
POST
|
Is it possible to use the pythonaddins.GPToolDialog(X,Y) as part of my python addins toolbar script to open a script tool I have stored in a custom toolbox? Where X is a string representing the location of my toolbox and Y is the name of my script tool. I can use this to open geoprocessing tools but have not been able to figure out how to open my script in the toolbox. Thanks for any ideas you may have. Your script is a 'tool' after you import it/add it into a toolbox so works the same as any other tool- pythonaddins.GPToolDialog() just references the name (Y) of the tool within the toolbox (X). Remember that the tool will display using its 'Label' within the toolbox, but you need to reference the 'Name' so right click on the tool/script that you want to use and inspect the 'Name' value in the 'General' tab. I think you may be trying to use the 'label' which is tripping you up?
... View more
12-08-2013
11:18 AM
|
0
|
0
|
334
|
POST
|
Hi there If I call an additional python module installed on my machine (i.e. https://code.google.com/p/simplekml/) from a python addin button, does that module need to be installed on every machine where the button is used? Or does it somehow package up any extra functionality it calls in the .addin file?
... View more
11-20-2013
09:58 AM
|
0
|
2
|
1898
|
POST
|
Xander, Wow, thank you so much for putting so much time into this. I am incredibly impressed. -spencer +1 I find your posts very helpful Xander 🙂 Kudos!
... View more
11-13-2013
05:29 PM
|
0
|
0
|
692
|
POST
|
Just to check you have also set the scale in the 'Feature Properties' (the one where you set if the layer is 'city blocks' etc)? I would also clear and then increase the size of your cache (Customise > ArcGlobe Options > Display cache), check 'Automatic LOD tuning' is turned off in the 'Level of Detail' tab and move your far clipping plane out (View > View Settings)
... View more
11-13-2013
05:07 PM
|
0
|
0
|
109
|
Title | Kudos | Posted |
---|---|---|
1 | 08-23-2017 02:09 PM | |
3 | 04-20-2020 06:41 PM | |
1 | 08-23-2017 01:41 PM | |
1 | 08-22-2017 02:50 PM | |
2 | 08-23-2017 07:11 PM |
Online Status |
Offline
|
Date Last Visited |
12-09-2021
12:43 AM
|