Questions tagged [element]
The element tag has no summary.
21 questions
0 votes
1 answer
133 views
Delete MS Word-Object in Dataview with ArcPy (ArcMap)
My mxd has a dataframe which contains a MS Word-Object ("Insert" - "Object"). The Object was added to data view. I want to access the MXD dataframe in PyScripter using arcpy....
2 votes
1 answer
425 views
How can I make an unique symbol when I have more than one element in the same coordinate?
I'm trying to map in QGIS with symbols. I'm georeferencing fruits in the same point. For example in a same place (equal coordinate) I have identified three different fruits. So in my Excel I have ...
0 votes
1 answer
230 views
Removing elements that cut other elements using QGIS
I have line elements and polgone-elements on two different layers (lets say layer A (line) and layer B (polygons). Now I want to remove all elements of layer A that crosses/touches/laying in polygones ...
1 vote
0 answers
411 views
Dynamic text colour in ArcGIS Pro Table Frame
Has anyone figured out a way to alter the text properties (colour, boldness, font, etc.) of a table element based on a specific property in ArcGIS Pro? For example, I want to add tables to a layout in ...
0 votes
1 answer
201 views
Deleting Picture Element using ArcPy in ArcGIS 10.3 Desktop?
I'm trying to delete a Picture Element from 45 MXDs. This code is a start for me: import arcpy from arcpy import env env.workspace = r"G:\PROJECTS\landuse\gis" for mxdname in arcpy.ListFiles("*.mxd")...
1 vote
0 answers
415 views
Subsetting rasterstack for subtraction between elements using R?
I want ro calculate the differences between rasters within a raster stack with a certain step, and I am unsure how to do so. What I want is to subtract every element from its 5th next one, something ...
1 vote
2 answers
105 views
Altering text elements in multiple mxds?
I am trying to make changes to titles on multiple mxds instead of having to open 1 by 1 but keep getting an error. import arcpy.mapping as mapping, os for root, dirs, files in os.walk(r"F:\Final ...
1 vote
1 answer
78 views
Text element name not appearing in ListLayoutElements
As in the title, I have the simple below code: import arcpy arcpy.env.workspace = r"U:" mxd = arcpy.mapping.MapDocument(r"U:RAFT.mxd") layoutlist = arcpy.mapping.ListLayoutElements(mxd, "...
2 votes
1 answer
94 views
Unable to Update Map Element
I'm trying to update my text elements, but after running script no changes occur and no error are triggered. Running suggested code triggered an error. I need to update my title and date text box. I ...
2 votes
0 answers
751 views
ERROR 00735: Layer Name or Table View: Value is required Failed to execute
Im trying to create a script that will created two buffer shapefiles using SelectLayerByAttribute, but same error keeps popping up. This tool runs fine in Modelbuilder, but I want to create a script ...
3 votes
0 answers
223 views
Why do I get invalid elements (polygons), when smoothing a vector layer (smooth geometry)?
The problem occurs, when using the commands "Smooth geometry" or "v.generalize.smooth" in QGIS. The shapefile, which I want to smooth, shows a flood water level and looks like this: The water level ...
1 vote
3 answers
492 views
Ungroup ArcMap Graphic Elements in Layout using ArcPy
I want to alter text elements in a layout. This text elements were grouped. Grouped elements behave like GraphicElement and it is possible to query the property isGroup. I can not alter these text ...
2 votes
0 answers
477 views
Problem with grouping items in print composer- QGIS 2.14
This is print composer: when i group all elements with "group items" and minimize the frame- some items step out from the frame: How can i group all items, and still maintain the same ratio of ...
6 votes
2 answers
9k views
Changing layout element order in ArcGIS Pro?
I cannot find an option to change the order of Layout elements in ArcGIS Pro (1.3.1). This is where you right-click > Order on a map element and choose from Bring to Front, Send to Back, Bring ...
0 votes
2 answers
1k views
Change text\ font size element using Arcpy
I try to change the font size and the element xy position of text element for several maps. Right now the font size is 21.79 and the xy position is: elm.elementPositionX = 8.204 elm.elementPositionY ...