Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
05 ArchiCAD 11 GDL Reference Guide.pdf
Скачиваний:
60
Добавлен:
11.03.2015
Размер:
3.22 Mб
Скачать

Attributes

Directives Used in 2D Scripts Only

DRAWINDEX

DRAWINDEX number

Defines the drawing order of 2D Script elements. Elements with a smaller drawindex will be drawn first.

Restriction of parameters:

0 < number <= 50

(In the current version of GDL only the 10, 20, 30, 40 and 50 DRAWINDEX values are valid. Other values will be rounded to these.) If no DRAWINDEX directive is present, the default drawing order is the following:

1Figures

2Fills

3Lines

4Text elements

[SET] FILL

[SET] FILL name_string

[SET] FILL index

All the 2D polygons generated afterwards will represent that fill until the next SET FILL statement.

The index is a constant referring to a fill stack in the internal data structure. This stack is modified during GDL analysis and can also be modified from within the program. The use of the index instead of the fill name is only recommended with the prior use of the IND function.

Default:

SET FILL 0

i.e., empty fill, if there is no SET FILL statement in the script.

See also IND function description in the “Miscellaneous” > “Requests” on page 242.

ArchiCAD 11 GDL Reference Guide

159