Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

HOME_STORY request does not work in elevation or 3DD

SeaGeoff
Ace

Hello GDL experts. I am having a problem with a custom label I created. Among other things I need it to report the home story of the associated element. I used this basic request and passed "story_name" to a text command.

 

n = REQUEST("HOME_STORY", "", index, story_name)

 

The label reports the correct story in plan view but not in section/elevation or 3D documents. In those views it always shows the name of Story 0.

 

This old topic (now locked) confirms the problem, and offers a solution for openings but not for other element types. Is this considered a bug that will be fixed? Is there a good workaround? Any help is greatly appreciated, thanks.

Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester
5 REPLIES 5
Barry Kelly
Moderator

I haven't tried this but is that request in the 3D script?

 

Barry.

One of the forum moderators.
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
SeaGeoff
Ace

Labels don't have 3D scripts. I tried putting the request in my label's 2D script and master script with the same (bad) result.

Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester

@SeaGeoff wrote:

Labels don't have 3D scripts. I tried putting the request in my label's 2D script and master script with the same (bad) result.


Of course they don't - I should have thought of that.

 

I was just playing with it and I am not sure it is working in plan either.

It seems to as it is reporting the home storey of the label itself?

i.e. place object on ground floor and set to show on home and 1 storey up.

Go up a floor and label it - it shows first floor and not ground floor.

 

Barry.

One of the forum moderators.
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
Lingwisyer
Guru

You could request the height from PZero then compare that to your storey heights?

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
SeaGeoff
Ace

You are correct Barry. I was mistaken that the label was working correctly in plan view. I was fooled by the fact the active story was also the home story of the element to which the label was associated. This request seems basically useless, at least for labels, which one would assume is its primary purpose. Not sure what it's good for actually.

 

Lingwisyer, thank you for the suggestion. I may try that. But it will require so much more code just to do something that appears to be—and should be—simple.

 

So frustrating,

Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-28, M1 Mac, OS 15.x
Graphisoft Insider's Panel, Beta Tester

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!