import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "*") addLayer = arcpy.mapping.Layer(r"F:\project\Final\Ground floor\steps.lyr") arcpy.mapping.AddLayer(df, addLayer, "BOTTOM")
this code is for adding a layer in arcmap. when i use the same code to add a 3D layer in arcscene i get the following error
cannot open map document Failed to execute (addlayer).
please help. its important for my thesis work!