GDL
About building parametric objects with GDL.

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

William Yan
Expert

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!

 

AC 26 5002 CHI, Windows 10
11 REPLIES 11
Lingwisyer
Guru

GLOB_CUTPLANES_INFO[1] + GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV >= 0

 

Cutplane height, elevation of current story, elevation of home story. You could just used these variables? Though it does not seem to work if you set the object to All Relative Stories....

 

 

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 

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


You should now be able to get home story index.

I created another simple object.

 

This object is displayed as "Higher floor" if it is above the homestory, "Lower floor" if it is below the homestory, and "This floor" if it is the same story.

 

Is this correct?