GDL command to hide one small part in some plan view while other plan view shows all parts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-26 05:54 PM
Hi guys!
I have a question. Is there a way or GDL command , can hide one small part of a GDL object in some plan views (say floor 1) while other plan views (say floor 2 and 3) shows all parts of the GDL object?
THanks!
- Labels:
-
Library (GDL)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-26 10:01 PM
There are a number of Global Variables listed in the GDL guide that would enable such behaviour. Story Information has several globals to interrogate and apply e.g. GLOB_HSTORY_ELEV. You might also find GLOB_CUTPLANES_INFO of interest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-27 02:31 AM
Thank you. Is there any tutorials I can follow? As English is not my language I find hard to follow GDL manual to do real job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-27 08:26 AM
I don’t think there are any tutorials available covering this area. Try creating a simple object and then play with the global values to see what happens e.g if home story is greater than 3.00m then draw shape A else draw shape B. If you are new to GDL it may be take a while to work out what you need to do.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-27 08:37 AM
You could try looking at the scripts for the elevator object to see how that works across storeys.
I am not saying that will be easy to understand though.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-27 10:27 AM
Thank you guys, I will try my best to write something. But I opened some gs gdl objects, I am shocked, seeing so many "call" and "if endif", too hard for me. I'd rather write my gdls for blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-02-27 03:32 PM
I created a very simple object.
In the floor set in the "hidefloor" parameter (array), the elements from "Hide" to "Hide end" will not be displayed.
I hope this is as you intended it to be.
▼ウィッシュリスト(投票が集まるとGSの検討対象になります。賛同してくださる方は投票をお願いします!)
「仕上げツール」を本体機能に | 「メッシュから屋根を作成」を本体機能に | フロアレベルからメッシュ点高度 | 躯体以外を表示 | メッシュ頂点に一括ラベル | 断面形状パラメータパレット | STB取込みで梁端部を柱面 | RFAをパラメトリック | レイヤーセットを現在の設定で更新 | ひとつひとつの線の線種/色/表示非表示を変更できる機能(ラインワーク) | 「線として表示」としてもBIMx上で通り芯を表示 | 部材の始点/終点座標を一覧表とプロパティで取得 | 通り芯と要素の連動 | 表現の上書きに数式
Win10 / 13th Gen Corei7 / 32GB RAM / RTX2000Ada Laptop
AC17 - 27 / ACUG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-01 01:40 PM
Thank you! I will try to understand it.☕

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-02 10:35 AM
The Library Developer Kit has an Example Library, the "Floor Plan Cut Plane Example" object might help you how to use these globals.
Software Engineer, Library
Graphisoft SE, Budapest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-14 05:23 PM - edited 2022-03-14 05:24 PM
Your example helped me as well, I'm having a similar issue. And, I think he'll need to get which is the "Home Story" of the object inserted, to be able to know if the current story above or below it.
Is there a way to REQUEST the home story index?
Using this:
n = REQUEST ("Home_Story", "", index, story_name)
Gave me no luck.. Seems like it also returns the "current story" instead of the object's home story index.
Archicad 27 / Windows 11 64