Import a mesh (stl or obj) Using Rhino Python

Just getting started with Rhino Python and looking for a suggestion on how to import a mesh file into a document. I am think ing of using OpenFileName followed by open (file, “r” ). However, is there a means to import the mesh without appending data line by line using AddMesh?

You can open .3dm files by scripting the Open command using rs.Command. Check the Python help file for details.

Thankyou. Does this also apply to mesh (obj or stl) file formats?

Yep, sure does.