2020-07-16
07:39 PM
- last edited on
2022-09-26
10:48 PM
by
Daniel Kassai
Solved! Go to Solution.
2020-07-16 07:45 PM
2020-07-16 07:45 PM
2020-07-16 10:15 PM
2020-07-17 12:39 AM
Geometry 1 (actual GDL script just represented by the term Geometry for this post) if GLOB_VIEW_TYPE # 4 then Geometry 2 Geometry 3 Geometry 4 endifGLOB_VIEW_TYPE 4 is for sections (refer to GDL manual for the rest, and don use this function in the parameter script)
HEIGHT = 2.100 WIDTH = .050 DEPTH = .100 THICK = .002 put 0, 0, 15 put WIDTH, 0, 15 if GLOB_VIEW_TYPE # 4 then put WIDTH, THICK, 15 put THICK, THICK, 15 put THICK, DEPTH -THICK, 15 put WIDTH, DEPTH -THICK, 15 endif put WIDTH, DEPTH, 15 put 0, DEPTH, 15 prism_ nsp/3, HEIGHT, get(nsp)it super easy and as you can see it gives you the ability to make your geometry responsive to all sorts of conditions.
2020-07-24 03:02 PM
2020-07-26 05:18 PM
Martin wrote:
Hi, many thanks for your response!
With if GLOB_VIEW_TYPE = 4 then I know, if I am in a section view.
Would it be possible to recognize the direction of the 3D section?
I would like to know if a window is cut perpendicular.