Do you need to import free curves/points? If not then you could choose not to import them:
Only mention this option as often free curves wouldn't show up in an image as they are typically construction geometry.
This could either be pre-set on the machine or you could access this option via the API (see http://help.solidworks.com/2018/english/api/swconst/fileopenoptionsgeneral.htm for the relevant methods)
first of all, thanks for your swift response!
Yes, unfortunately I need those free curves, since they are displayed in the exported image.
Just for some clarification:
- I create some geometries in MATLAB (curves and surfaces)
- import them into ANSYS, do some analysis (all the curves get a cross-section, which is not included in a step-file)
- afterwards use Solidworks to create a picture of the structure.
Sure, it would be ideal if all the cross-sections would be applied in Solidworks, but I think this might be harder to achieve than just skipping the warning.
Where have you turned on the import of Free Curves?
Under General import options (as per my image above)
Or under STEP import options
Also which version of SOLIDWORKS are you using?
If 2017/2018 have you got 3D interconnect turned on?
Just an idea: try using LoadFile4 instead of LoadFile2. SolidWorks might have improved the behaviour of that command.