I can import properly a STL file manually with SW2018 as a Solid or Surface or Graphics (using Options/Import/STLFiles), but when I use a macro to open the same STL file, I only get a Mesh result (without errors) rather than a Solid or Surface for instance.
I tried many things including changing swImportStlVrmlModelType to 2 for Solid, but the result is always a Mesh.
Once again, everything works well when importing manually.
Anyone have an idea of the problem with the macro? Thanks.