DimensionTypeFromString extension

on