cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Request Story Name of Door

Anonymous
Not applicable
I am trying to get the story height of a door in a custom door marker. Is this possible? So far - the output of the Requests make no sense to me.

I am a GDL newbie, and I have tried all manner of REQUESTS listed here:

https://www.graphisoft.com/ftp/gdl/manual/16/002.015.html#REQUESTOptions_section

Hopefully this is clear, let me know if there is more explanation required. Thanks!
2 REPLIES 2
Matt Balaam
Advocate
Do you want story name or story height?

To get the story name use the following:
success = request("Home_story_of_opening", "", _index, _story_name)

text2 0, 0, _story_name
To get the story height you can use GLOB_HSTORY_HEIGHT:
text2 0, 0, GLOB_HSTORY_HEIGHT
Or (a better way) is to add this line after the "Home_story_of_opening" request shown above:
success = request("Story_info", _index, _nStories, _index, _name, _elevation, _height)

text2 0, 0, _height
AC24 (7000 AUS FULL)| Windows 10 Pro | Intel Core i7-12700 @ 2.1GHz | 32GB RAM | NVidia T1000
Anonymous
Not applicable
Awesome, thank you Matt!

I was doing:

success = request("Story_info", _index, _nStories, _index, _name, _elevation, _height)

text2 0, 0, success

Now it works like a charm!