logo

Macro Programming Example 2

logo

Introduction
Screenshots
License/Download
Installation
Userinterface
Function Index
Macro Programming
Links
Community

mouse left
no help

#!/usr/bin/layout
#name=#2: Layers
#help=Handling of layers

int main(){

layers::num[10].visible=false;

int i;
i = 6;
string s="Layer ";
string layerNum6=layers::num[i].name;
layers::num[i].name= s+i;

int k;
k=layers::findLayer("Layer 6");
layers::num[k].name= layerNum6;

for (k=1; k<=3 ; k++){
layers::num[k+1].visible=false;
}

layers::num[1].setColor(255,100,0);
layers::num[1].setStyle(5);
return 0;
}

SourceForge.net LogoThis page may be outdated. Visit the new LayoutEditor homepage for the newest infomations!