Consider the following code:
mapdoc = arpy.mapping.MapDocument("CURRENT")
What does the keyword CURRENT refer to?
Responda
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
Questão 2
Questão
Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)
Responda
scale
extent
showLabels
dataSource
visible
name
Questão 3
Questão
Which of the following is (are) a method of the DataFrame object? (check all that apply)
Responda
getExtent
panToExtent
delete
save
zoomToSelectedFeatures
mapUnits
Questão 4
Questão
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?
Responda
supports
contains
isValid
exists
Questão 5
Questão
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?
Responda
AddLayer
InsertLayer
AddLayerToGroup
UpdateLayer
Questão 6
Questão
Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)
Responda
findAndReplaceWorkspacePath
replaceWorkspaces
ListBrokenDataSources
findAndReplaceWorkspacePaths
FixBrokenDataSources
replaceDataSource
Questão 7
Questão
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)
Responda
GRAPHIC_ELEMENT
DATA_ELEMENT
TEXT_ELEMENT
LEGEND_ELEMENT
SCALE_ELEMENT
Questão 8
Questão
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?