POST
|
Hello, As far as i know, ArcPy has no ability to create bookmark ( from data frames' current extent ) . Is there any news or plan for this ability ? Thanks.
... View more
09-07-2017
01:47 AM
|
0
|
1
|
509
|
POST
|
>>> import arcpy >>> mxd = arcpy.mapping.MapDocument(r"CURRENT") >>> arcpy.mapping.ExportToPNG(mxd, r"Z:\test\test2.png", "PAGE_LAYOUT", 1600, 2400, 400) Maybe issue can be easy one but i've no clue for now. The code above work perfectle as but when i try outside from mapdoc from file as below i'm losing annotations. Labels seems fine. Any idea for this behaviour? Any idea for source of difference ? import arcpy mxd = arcpy.mapping.MapDocument(r"Z:\test\test.mxd") arcpy.mapping.ExportToPNG(mxd, r"Z:\test\test.png", "PAGE_LAYOUT", 1600, 2400, 400)
... View more
06-05-2017
06:21 AM
|
0
|
2
|
865
|
POST
|
We are using same map service on two different platform, at web and at tablets on our own application. While updating a service(overwriting existing service) which has WMS capability only, the map on web which uses WMS as source updates correctly but at map on our tablets application which uses map service as a source is not updates until cache is deleted and new service is being created. Any idea to use overwrite existing service correctly will be helpful. Thanks in advance.
... View more
04-12-2017
11:09 PM
|
0
|
0
|
729
|
IDEA
|
Gus, you're right about this issue. Working same things as you mentioned seem as time loss to me. With the not knowing the backround reason why thats not possible, this feature can help anybody to make things more faster than before.
... View more
03-08-2017
02:55 AM
|
0
|
0
|
529
|
POST
|
Hi Ian, That'll be at the end of project. For now, watching at mxd is better, faster. After executing stand-alone script, mxd opening was the avoided time cost and now execution time on actual mxd starts to exceed that time. Thanks.
... View more
03-07-2017
08:45 AM
|
0
|
0
|
386
|
POST
|
From documentation (GraphicElement—Help | ArcGIS for Desktop ) elements can be deleted as below but after one element deletion layout refreshes with delete function and if you have good amount of elements at layout this operation requires good time to be finished. How can this elements can be deleted simultaneously ? One delete and refresh operation would be better for time perpective, any idea'd be helpful. for elm in arcpy.mapping.ListLayoutElements(mxd, wildcard="_clone"😞 elm.delete() del mxd Thanks in advance.
... View more
03-07-2017
04:26 AM
|
0
|
2
|
1032
|
POST
|
Best solution is the easy solution. Calling scripts was the idea and this is very handy way to do that. Thanks Luke.
... View more
08-30-2016
04:37 AM
|
0
|
0
|
1278
|
POST
|
As you mention, threads old and there is not much clue, i'll try but it seems only way ArcObjects for this type issues. Thanks.
... View more
08-26-2016
07:24 AM
|
0
|
0
|
1278
|
POST
|
Hello everyone, While searching for how to get any user parameter @ add-in, i found tkinter but before move forward with tkinter i'd like to ask if is there any other easy way to get user input. Just i want to get text from user and at layout i've text element and add-in button 'll only change element 's text property according to value comes from user. Only issue some kind of gui is needed to show user and get the text expected. Any walkthrough or sample would be helpful. Thanks in advance.
... View more
08-26-2016
01:13 AM
|
1
|
11
|
2698
|
POST
|
Thanks for the clarification so that was the reason.
... View more
08-24-2016
04:24 AM
|
0
|
0
|
144
|
POST
|
Any idea for copy element (graphic, text etc.) from a.mxd to b.mxd while working on b.mxd would be helpful. It seems with clone function element couldn't move to other layout due to some reason.
... View more
08-23-2016
12:03 AM
|
0
|
2
|
1001
|
POST
|
So what i'm getting from this issue is: listlayoutelements functions can not work for any other mxd then current. While same script works fine at reference.mxd, fails at another map document. At reference mxd there is title element on layout but why same script can not reach this element again is the point i couldn't get. If you check issue with a simple sample, you'll find the reason i think. Thanks.
... View more
08-22-2016
05:43 AM
|
0
|
0
|
1001
|
POST
|
Hello Xander, I'm normally trying as you corrected, at reference mxd if i use python window to check script and no error occurs and i can clone the element but when trying at another mxd to get element with same script gives "IndexError: list index out of range" error. What is the reason to get this error while using same function on another mxd ? Thanks in advance.
... View more
08-22-2016
05:17 AM
|
0
|
3
|
1001
|
POST
|
Hello, I've an reference mxd which has a lot of type of elements which are already formatted as expected. I want to copy a element (text, graphic etc.) from reference map document to the mxd document that i'm working on. Normally, at current mxd i can clone any element at layout as much as desired as below; import arcpy mxd = arcpy.mapping.MapDocument("Current") element = arcpy.mapping.ListLayoutElements(mxd,"TEXT_ELEMENT","Title") newElement = element.clone("2") newElement.text= "Test !" but that with that way i couldn't get element from mxd at specific folder. Maybe any other function for copy can help my situation. Normally, elements copied to current mxd manually but if any function which can copy or clone element, we can solve the issue. I'm using script at the current mxd. Thanks for the quick reply.
... View more
08-22-2016
04:43 AM
|
0
|
5
|
1001
|
POST
|
Is it possible to make script or add-in as below or is there any other way to get element to current one ? Thanks. # to reach element @ specific mxd import arcpy mxd = arcpy.mapping.MapDocument(r"D:\Reference\Reference.mxd") element = arcpy.mapping.ListLayoutElements(mxd,"TEXT_ELEMENT","Title") # clone @ current newElement = element.clone("2") newElement.text= "Test !"
... View more
08-22-2016
04:15 AM
|
0
|
10
|
2531
|
Title | Kudos | Posted |
---|---|---|
1 | 08-26-2016 01:13 AM |
Online Status |
Offline
|
Date Last Visited |
03-07-2023
01:43 PM
|