How to continuously export Layers with “Export Layer Objects” and no need to press 'Enter'?

Hi,

I am able to export layers with 3dm format into separate stl files using the “Export Layer Objects” rhino script, but I am wondering whether it is possible to do this without pressing ‘Enter’ during the exporting process?

Any advice appreciated. Thanks.

Hello - if you post your script, it will be easier to answer that question.

-Pascal

Hi, Pascal,

Thank you for your reply.

The script is shown in the following link. Thanks.
exportlayerobjects

Hello - I thnk just put the Enter into the command string:

			' Export the selected objects
			Dim strCmd: strCmd = "_-Export " & strFile & " _Enter"
			Rhino.Command strCmd, False

-Pascal

Great thanks for your help!