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

Attributes

fixed_height: possible values

1: the placed TEXTBLOCK will be scale-independent and all specified length type parameters will mean millimeters

0: the placed TEXTBLOCK will be scale-dependent and all specified length type parameters will mean meters in model space.

string_expri: means paragraph name if it was previously defined, simple string otherwise (with default paragraph parameters).

Additional Data

Attribute definitions can contain optional additional data definitions after the ADDITIONAL_DATA keyword. The additional data must be entered after the previously defined parameters of the attribute command. An additional data has a name (namei)and a value (valuei), which can be an expression of any type, even an array. If a string parameter name ends with the substring “_file”, its value is considered to be a file name and will be included in the archive project.Different meanings of additional data can be defined and used by ArchiCAD or Add-Ons to ArchiCAD.

See meanings of LightWorks Add-On parameters at http://www.graphisoft.com/support/developer/documentation/LibraryDevDoc/11.

Additional data definition is available in the following commands:

DEFINE MATERIAL

DEFINE MATERIAL parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

DEFINE FILL

DEFINE FILL parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

DEFINE FILLA

DEFINE FILLA parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

DEFINE SYMBOL_FILL

DEFINE SYMBOL_FILL parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

DEFINE LINE_TYPE

DEFINE LINE_TYPE parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

DEFINE SYMBOL_LINE

DEFINE SYMBOL_LINE parameters [[,] ADDITIONAL_DATA name1 = value1, name2 = value2, ...]

ArchiCAD 11 GDL Reference Guide

177

Attributes

External file dependence

FILE_DEPENDENCE "name1" [, "name2", ...]

You can give a list of external files on which your GDL script depends on. File names should be constant strings.

All files specified here will be included in the archive project (like constant macro names used in CALL statements and constant picture names used in various GDL commands). The command works on this level only: if the specified files are library parts, their called maro files will not be included.

The command can be useful in cases when external files are referenced at custom places in the GDL script, for example: ADDITIONAL_DATA file parameters, data files in file operations.

178

ArchiCAD 11 GDL Reference Guide