Save as without dialog box?

Hello
I try to save hatch using makeHatch plugin without display the dialog box, is that possible?

import rhinoscriptsyntax as rs

file = r"C:....../test.pat"

command = "makeHatch X 1 Y 1 D 0.1 Enter test test "

rs.Command(command,True)

image

You should be able to run each command in scripted mode by prepending a - (dash) to the command name.

Thanks @menno
Save as always show the dialog, i want save the file directly

1 Like

Thank you @menno , this is a vey helpful information.

The problem here is that makeHatch give only this line to save the file:

Save hatch as ( Browse ):

image

is this the plugin by @SamPage ?

Hi @Gijs
Yes