Store relative paths of mxd with ArcGIS 10.0

Discussion created by garethmann on Dec 13, 2012
Latest reply on Dec 13, 2012 by jmoulds-esristaff
I have ArcGIS 10.0. I wanted to to programmatically loop through a bunch of mxds and set relative paths to true. I found an example online here:

Seems like just what I need, however when I try to run it i get this error on the mxd.relativePaths = 'True' line:

Runtime error <type 'exceptions.AttributeError'>: MapDocObject: Set attribute relativePaths does not exist

Is this because I need to have ArcGIS 10.1 for this? If so, is there a workaround?