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?
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.
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.
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.
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.
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?
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.