help > Close overlays command
Showing 1-4 of 4 posts
Mar 16, 2017 10:03 PM | Andreas Horn
Close overlays command
Dear Chris & Surfice experts,
I'd like to write a script that loads one surface, then loads a series of overlays and for each exports an image.
After exporting the image, I'd like to "Close overlays", load the next pair and then save another image.
I got it all running except can't find the command for "Close overlays". Does such a command exist?
CLOSEOVERLAYS or OVERLAYCLOSE doesn't work.
Thanks so much for this awesome tool and any hint!
Best, Andy
I'd like to write a script that loads one surface, then loads a series of overlays and for each exports an image.
After exporting the image, I'd like to "Close overlays", load the next pair and then save another image.
I got it all running except can't find the command for "Close overlays". Does such a command exist?
CLOSEOVERLAYS or OVERLAYCLOSE doesn't work.
Thanks so much for this awesome tool and any hint!
Best, Andy
Mar 16, 2017 10:03 PM | Chris Rorden
RE: Close overlays command
The command you want is
OVERLAYCLOSEALL;
You can find commands by using the graphical user interface, in this case you would select the Insert/Overlays/OverlayCloseAll function. Whenever you select a command from the insert menu, a description of the command appears in the bottom of the scripting menu.
By the way, you could also use the
RESETDEFAULTS;
command, but this would close the overlays, the background and any other custom setting you chose. So the OverlayCloseAll function is the most specific for your needs.
The scripting window's "File" menu will show you a series of typical scripts, that illustrate a lot of useful scripting functions. For example, the "new_2017" script shows some of new features added into the latest release.
-c
OVERLAYCLOSEALL;
You can find commands by using the graphical user interface, in this case you would select the Insert/Overlays/OverlayCloseAll function. Whenever you select a command from the insert menu, a description of the command appears in the bottom of the scripting menu.
By the way, you could also use the
RESETDEFAULTS;
command, but this would close the overlays, the background and any other custom setting you chose. So the OverlayCloseAll function is the most specific for your needs.
The scripting window's "File" menu will show you a series of typical scripts, that illustrate a lot of useful scripting functions. For example, the "new_2017" script shows some of new features added into the latest release.
-c
Mar 17, 2017 04:03 PM | Andreas Horn
RE: Close overlays command
Dear Chris,
this is awesome, thanks so much!!
Best, Andy
this is awesome, thanks so much!!
Best, Andy
Mar 17, 2017 04:03 PM | Andreas Horn
RE: Close overlays command
…just now found the insert commands in the scripting window –
that's really cool, thanks again!