Syntax
ACTIVATE arg1 arg2 arg3
Description
Layers are managed in the XML file, which corresponds to the TCL file of the project. The layers are not part of the geometric model, but control the display in the various views. If the layer is not specified then the model is displayed in a predefined manner.
The command has other uses and these are described elsewhere.
Arguments
Minimum number: 1
arg1
Value |
unit |
Meaning |
DRAWLAYER |
KEYWORD |
The command activates the specified layer for all subsequent objects until another layer is activated. When leaving the calling scope then the activated layer becomes inactive. |
arg2
Value |
unit |
Meaning |
XML |
KEYWORD |
Reference type |
arg3
Value |
unit |
Meaning |
xmltag |
TEXT |
Reference to the definition in the project’s XML file |
Scopes
CSECTIONS, CSECTION and their subscopes
TERRAINS, TERRAIN, AXES, STRUCTURE, TGROUP
Examples
ACTIVATE DRAWLAYER XML "Horizontal parametric lines"
The "Horizontal parametric lines" layer is selected. It makes reference to:
<AllplanBridge version="1.0">
<Layers>
<Layer name="DEFAULT" isVisible="true" />
<Layer name="Horizontal parametric lines" isVisible="true" />
<Layer name="Vertical parametric lines" isVisible="true" />
<Layer name="Inclined parametric lines" isVisible="true" />
</Layers>
|
(C) ALLPLAN GmbH |
Privacy policy |