cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
taigd
Contributor

Is there any example of using the parameter BEAM_SEGMENT_INFO?

I have trouble using this parameter. 😟 Maybe there is a simple executable example so I can understand how to use it. Thank you. 

3 Replies 3
Jochen Suehlo
Moderator Emeritus

Try to find the macro object "label_content_macro.gsm". There this Global is used.

Jochen Suehlo . AC12-29 . MAC OSX 26 . WIN11
GDL object creation: b-prisma.de
taigd
Contributor

Thanks for the info, I'll give it a try。😀

 

taigd
Contributor

It works...

--------------------------------------------------------------------------------------------------------------------------------------------------------

IF GLOB_ELEM_TYPE = 12 or GLOB_ELEM_TYPE = 28 THEN

     IF BEAM_SEGMENT_INFO.segments[1].crossSection.type= 1 THEN text2 0, 0, "BEAM_RECTANGULAR"
     IF BEAM_SEGMENT_INFO.segments[1].crossSection.type= 2 THEN text2 0, 0, "BEAM_ROUND"
     IF BEAM_SEGMENT_INFO.segments[1].crossSection.type= 3 THEN text2 0, 0, "BEAM_COMPLEXCCC"
ENDIF

--------------------------------------------------------------------------------------------------------------------------------------------------------

taigd_1-1719801672109.png

 

 

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!