I’ve created with MATLAB a txt-file in which I imported some Rhino commands. Now I want to read this txt-file with RhinoScript and run the commands in Rhino. Therefore I use the command openfilename. My Problem is, that i have to choose the txt-file in a Windows Dialog box. Is there a way to get the commands automatically, without choosing the txt-file in a Dialog box?
A similar Problem I have at the part where I want to save a stp-file. Furthermore my stp-file is always empty. Where is my mistake.
I added the script in the attachment.
I appreciate your help.
Mat2Rhino.rvb (820 Bytes)