sc_dumpworld3d
Dump the objects in a sceneworld into a 3d geoview buffer (Usage: sc_dumpworld3d <world_index>...
For this command to work you must first run
sv_cheats true in the console. It only works on a local map or a private server — not in matchmaking. sv_cheats is a built-in Valve command and is completely safe from VAC.