Auto import of model

Are there any command in rhinoscriptsyntax that lets you auto import a .3dm or .obj file?

import rhinoscriptsyntax as rs
rcs = rs.importModels("C:\Users\utahteapot.3dm")
# Do something with rcs for example coloring them red
for rc in rcs:
     rs.ObjectColor(rc, [255, 0, 0])

Just use rs.Command and script Rhino’s Import command.

In addition to Dale’s answer, use rs.LastCreatedObjects function to return ids of the imported objects:

import rhinoscriptsyntax as rs

#filePath = rs.OpenFileName("Open", "Rhino 3D Models (*.3dm)|*.3dm||")
filePath = rs.OpenFileName("Open", "OBJ (*.obj)|*.obj||")
filePath = chr(34) + filePath + chr(34)
success = rs.Command("_-Import %s _Enter" % filePath)
if success:
    ids = rs.LastCreatedObjects()
    for id in ids:
        rs.ObjectColor(id, [255,0,0])

cool tanks