Simulating ENTER key when using Camber SendCommand node

I am using the command IFCINFRAEXPORT which needs a file path parameter. I am able to send the command to the command line but I want to execute it by automatically pressing ENTER key. Is this possible?

Hi @Gauzdx,

What I would recommend instead is to set FILEDIA to 0 before running the command, which will allow you to pass in the filepath as a command line input. You can then set FILEDIA back to 1 again once the export is finished so that everything is returned to normal. This could all be done in the Dynamo script as a string of commands, for example:

There’s a similar example from awhile ago here:

Hope that helps!

2 Likes