BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.

New GDL Railing to extrude in the x-axis or y-axis instead of standard z-axis

jaswrigh
Booster

I am using the "Profiled Post 24" as the base for the GDL object I am modifying. Has anyone already had success at changing the direction of the extrusion for profile railing?

 

jaswrigh_0-1690910697927.png

The ideal

jaswrigh_1-1690910748252.png

 

7 REPLIES 7
Lingwisyer
Guru

If it is a consistent height, just extrude it as a wall to the width that you need then save it as a Custom Railing Post.

 

 

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator

That profile is the horizontal cross section of the post, so that won't work in your case.

The two round uprights would be fine but not the curved top and bottom.

 

Create the post as you want it in 3D (you seem to have already modelled it).

Save it as a custom railing post and then you can use that.

From memory you have to rotate it 90° in plan to how you want it to appear in the railing, when you save it as a railing post.

Here is one I did once.

 

BarryKelly_0-1690939194615.png

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jaswrigh
Booster

Thanks @Lingwisyer and @Barry Kelly. This railing won't be a consistent height. My initial image of the ideal is a custom static height railing object, but is it possible to have a variable height based on the out of the box "profiled post 24" that already extrudes a profile. 

If you want your posts to be variable in height, you would have to model them independantly as post heights within the Railing Tool are fixed to two pairs of parameters. One pair for the End Posts and one pair for the Inner Posts.

 

On a side note, I think someone else attempted to create a post with editable hotspots, but when used within the Railing Tool, these hotspots were ignored.

 

 

Ling.

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

@jaswrigh wrote:

Thanks @Lingwisyer and @Barry Kelly. This railing won't be a consistent height. My initial image of the ideal is a custom static height railing object, but is it possible to have a variable height based on the out of the box "profiled post 24" that already extrudes a profile. 


The complex profile is just the horizontal shape of the post.

It will adjust to any height you set in the railing.

The thing the profiled post can't do is the curved top/bottom you have in your image.    

For that you need to save as a custom rail post and then I think you will need one for each height required as the height is not adjustable.

 

Barry.                   

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru

Oh, if you were talking about variable height between different railings, if you know some GDL, you could try link the vertical sections to RAILINGPOST_TOP_COORD[ ] - [non-vertical part heights].

 

Ling.

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

@Lingwisyer thanks! If I have any success with the GDL script and linking the vertical sections of the top and bottom arch shape I'll let you know.

Learn and get certified!