Reload Macro
This macro will reload the current used design.
Download: reload.layout
1 #!/usr/bin/layout
2 #name=reload design
3 #help=reloads a design
4
5
6 int main(){
7 string designName=layout->filename;
8 layout->closeDesign();
9 layout->filename=designName;
10 layout->drawing->openFile(designName);
11 }
See also
CategoryMacro
reloadMacro (last edited 2011-05-30 17:55:25 by dslb-088-064-001-234)