Import .stl file

Hi, I need to import a stl file present in filysystem.
So I need to implement the same operation performed with command line _Import(…) but with sdk c++ rhinocheros command (but not using command RhinoApp().RunScript(…).
Have you suggestions about this?
Thanks
Teo

Make your your command class inherits from CRhinoScriptCommand.

– Dale