This functionality is only available for certain module packages. Info / Copyright

Action: changelayer


Parameters

Description

PROJECTNAME

Project name with complete file path (optional).
If nothing is entered, the selected project will be used if the action is to be run over the user interface (e.g. via script or the toolbar). When executing from the Windows command line, PROJECTNAME must be specified or ProjectAction has to be used before that. Otherwise a system message will appear.

LAYER

Name of the layer whose properties are to be changed.

VISIBLE

Specifies whether the layer property Visible is to be active (optional). Default value: 1

PRINTED

Specifies whether the layer property Print is to be active (optional). Default value: 1

TEXTHEIGHT

Specifies the font size of the layer (optional).

COLORID

Specifies the color of the layer (optional).

TRANSPARENCY

Specifies the transparency of a 3D layer (optional). Possible values lie between 0.0 and 1.0.

Note:

It is possible to modify the properties of several layers by calling this action. To this purpose the parameter /LAYER and all the following parameters have to be supplemented with an identical number (for example /LAYER1:EPLAN100 /VISIBLE1:1 /COLORID1:10). By doing so further layers can be specified that have to be changed: /LAYER2:EPLAN110 /VISIBLE2:1 /COLORID2:55 (...) /LAYER15:EPLAN200 /TEXTHEIGHT15:3,75.