This is a Revit limitation. Revit can NOT dimension mesh geometries created via the API.
You need to create those as Solids in Revit. I believe STP is a nurbs file format. You can open it in Rhino and send from there. This way, you should be able to dimension it.