Consider the following code:
mapdoc = arpy.mapping.MapDocument("CURRENT")
What does the keyword CURRENT refer to?
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
Which of the following is (are) not a propery of a data frame object when using the ListDataFrames function? (check all that apply)
scale
extent
showLabels
dataSource
visible
name
Which of the following is (are) a method of the DataFrame object? (check all that apply)
getExtent
panToExtent
delete
save
zoomToSelectedFeatures
mapUnits
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?
supports
contains
isValid
exists
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?
AddLayer
InsertLayer
AddLayerToGroup
UpdateLayer
Which method (s) can be used on map documents to update or fix broken data sources? (check all that apply)
findAndReplaceWorkspacePath
replaceWorkspaces
ListBrokenDataSources
findAndReplaceWorkspacePaths
FixBrokenDataSources
replaceDataSource
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)
GRAPHIC_ELEMENT
DATA_ELEMENT
TEXT_ELEMENT
LEGEND_ELEMENT
SCALE_ELEMENT
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?
textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")[0]
textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")
textlist = arcpy.mapping.ListLayoutElements(mapdoc, "", "Text")
textlist = arcpy.mapping.ListLayoutElements(mapdoc, "TEXT_ELEMENT")[0]
Which of the following is the ArcPy function used to create a PDF file of a map document?
SaveToPDF
PrintMapToPDF
PDFDocumentCreate
ExportToPDF
Which of the following cannot be accomplished by using the ArcPy mapping module in a Python script? (check all that apply)
Add a new data layer to a data frame
Add a new data frame to a map document
Create a new empty map document
Add a scale bar to a map layout