Floor - Elevation at bottom/top <varies> - BuiltInParameters

Floor - Elevation at bottom/top <varies> - BuiltInParameters

se.ha
Advisor Advisor
523 Views
5 Replies
Message 1 of 6

Floor - Elevation at bottom/top <varies> - BuiltInParameters

se.ha
Advisor
Advisor

Hi,

 

I can`t seem to find the BuiltInParameters for floors elevation at bottom/top parameters. Is it the STRUCTURAL_ELEVATION_AT_BOTTOM and TOP?

 

I have a code that is supossed to do something, if the value <varies>. Whats the actual output in this case? It is probably not a string "<varies>", right?

 

Thank you


se.ha
Dieser Beitrag war hilfreich? Dann könnt ihr diesen Beitrag gerne liken.
Hat dieser Beitrag die Frage erfolgreich beantwortet? Dann klickt bitte auf den Button 'Lösung akzeptieren'.

EESignature


0 Likes
Accepted solutions (1)
524 Views
5 Replies
Replies (5)
Message 2 of 6

NGM_AiYo
Advocate
Advocate

Parameter has a StorageType,  for STRUCTURAL_ELEVATION_AT_BOTTOM it is Double.

0 Likes
Message 3 of 6

se.ha
Advisor
Advisor

Thank you. Since its Double, what would be the output in case the value <varies>?


se.ha
Dieser Beitrag war hilfreich? Dann könnt ihr diesen Beitrag gerne liken.
Hat dieser Beitrag die Frage erfolgreich beantwortet? Dann klickt bitte auf den Button 'Lösung akzeptieren'.

EESignature


0 Likes
Message 4 of 6

se.ha
Advisor
Advisor

seha_0-1689846462971.png

Here are all the builtinparameters for the selected element. none of the elevation information changes when creating a slope or even moving the element up and down for that matter. All I want to know is the value "Elevation on Bottom" thats visible in the regular properties window.


se.ha
Dieser Beitrag war hilfreich? Dann könnt ihr diesen Beitrag gerne liken.
Hat dieser Beitrag die Frage erfolgreich beantwortet? Dann klickt bitte auf den Button 'Lösung akzeptieren'.

EESignature


0 Likes
Message 5 of 6

NGM_AiYo
Advocate
Advocate
As far as I know, when the floor has a slope, its elevation information is always 0, which can only be calculated by obtaining the top and bottom surfaces.
Try to use HostObjectUtils.GetBottomFaces And GetTopFaces , maybe can help.
0 Likes
Message 6 of 6

se.ha
Advisor
Advisor
Accepted solution

Thanks for your answers.
I found a different approach, that works for me now:
Since Im already creating a ray to find the intersection with the floor, Im creating a second one with slight offset in x and y direction. If the two intersections have different z-values, the floor is sloped.


se.ha
Dieser Beitrag war hilfreich? Dann könnt ihr diesen Beitrag gerne liken.
Hat dieser Beitrag die Frage erfolgreich beantwortet? Dann klickt bitte auf den Button 'Lösung akzeptieren'.

EESignature


0 Likes