There is an OpenStudio measure for matching unmatched surfaces, which is run from the OpenStudio application. The measure uses the native matchSurfaces method (source code here), rather than SketchUp-specific methods.
matchSurfaces