How can I import stl file into anyscript? I use Rhinoceros to create an object instead of solidwork.
It will depend on what you need to do with it. Normally you can use AnySurfSTL class for the actual surface definition, or AnyDrawSurf for the visualization object. Please read more in the ref. manual.