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

Graphical Editing

Example 4: combined length type editing with 2 parameters:

2D SCRIPT: HOTSPOT2 -1, 0, 1 HOTSPOT2 1, 0, 2

HOTSPOT2 corner_x, 0, 3, corner_y, 1+128 HOTSPOT2 corner_x, -1, 4, corner_y, 3 HOTSPOT2 corner_x, corner_y, 5, corner_y, 2 HOTSPOT2 0, corner_y, 3, corner_x, 1+128 HOTSPOT2 -1, corner_y, 4, corner_x, 3 HOTSPOT2 corner_x, corner_y, 5, corner_x, 2 LINE2 -1, 0, 1, 0

LINE2 -1, 0, corner_x, corner_y LINE2 1, 0, corner_x, corner_y

3D SCRIPT:

HOTSPOT -1, 0, 0, 1 HOTSPOT -1, 0, 0.5, 2 HOTSPOT 1, 0, 0, 3 HOTSPOT 1, 0, 0.5, 4

HOTSPOT corner_x, 0, 0, 5, corner_y, 1+128 HOTSPOT corner_x, -1, 0, 6, corner_y, 3 HOTSPOT corner_x, corner_y, 0, 7, corner_y, 2 HOTSPOT 0, corner_y, 0, 8, corner_x, 1+128 HOTSPOT -1, corner_y, 0, 9, corner_x, 3 HOTSPOT corner_x, corner_y, 0, 10, corner_x, 2 HOTSPOT corner_x, 0, 0.5, 11, corner_y, 1+128 HOTSPOT corner_x, -1, 0.5, 12, corner_y, 3 HOTSPOT corner_x, corner_y, 0.5, 13, corner_y, 2 HOTSPOT 0, corner_y, 0.5, 14, corner_x, 1+128 HOTSPOT -1, corner_y, 0.5, 15, corner_x, 3

HOTSPOT corner_x, corner_y, 0.5, 16, corner_x, 2 PRISM_ 4, 0.5,

-1, 0, 15, 1, 0, 15,

corner_x, corner_y, 15, -1, 0, -1

HOTLINE2

HOTLINE2 x1, y1, x2, y2

Status line definition between two points.

ArchiCAD 11 GDL Reference Guide

137

Graphical Editing

HOTARC2

HOTARC2 x, y, r, startangle, endangle

Status arc definition with its centerpoint at (x, y) from the angle startangle to endangle, with a radius of r.

138

ArchiCAD 11 GDL Reference Guide