Thanks for looking into this Bob! I think you are right that I want to do an explicit conversion, but I am not understanding how to do that with typemaps. The problem I am having is that in ruby the input type is String. SWIG has a map somewhere that converts String to std::string, I want to add one that converts String to path. I’ve tried looking in the files related to strings in \SWIG\Lib\ruby\ but I am not seeing anything that makes sense to me.
TypeError: Expected argument 0 of type openstudio::path const &, but got String
in SWIG method 'funcOnlyTakesAPath'