Consider the following code:
mapdoc = arpy.mapping.MapDocument("CURRENT")
What does the keyword CURRENT refer to?
Respuesta
a variable called CURRENT in preceding lines of code in the script
the map document current loaded into ArcMap
the map document in the current workspace
the most recently saved map document by ArcMap
Pregunta 2
Pregunta
Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)
Respuesta
scale
extent
showLabels
dataSource
visible
name
Pregunta 3
Pregunta
Which of the following is (are) a method of the DataFrame object? (check all that apply)
Respuesta
getExtent
panToExtent
delete
save
zoomToSelectedFeatures
mapUnits
Pregunta 4
Pregunta
Not all layers have the same properties. Which method is used to determine whether a particular property (such as showLabels) applies to a specific layer?
Respuesta
supports
contains
isValid
exists
Pregunta 5
Pregunta
Which one of the following functions of the ArcPy mapping module allows you to to add a layer before or after an already existing layer in a data frame?
Respuesta
AddLayer
InsertLayer
AddLayerToGroup
UpdateLayer
Pregunta 6
Pregunta
Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)
Respuesta
findAndReplaceWorkspacePath
replaceWorkspaces
ListBrokenDataSources
findAndReplaceWorkspacePaths
FixBrokenDataSources
replaceDataSource
Pregunta 7
Pregunta
Which of the following is (are) not a layout element type that can be used in scripting using the ListLayoutElements function of the ArcPy mapping module? (check all that apply)
Respuesta
GRAPHIC_ELEMENT
DATA_ELEMENT
TEXT_ELEMENT
LEGEND_ELEMENT
SCALE_ELEMENT
Pregunta 8
Pregunta
Consider the following code:
import arcpy
mapdoc = arcpy.mapping.MapDocument("C:/Project/Study.mxd")
Which of the following correctly creates a list of the all the text elements on a layout?