Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

customizing a window

Anonymous
Not applicable
Using Eyebrow window under windows classic 81. The mullions are not editable for location. Can I open the gdl object and save-as to a custom window? How can I then add parameters or change the mullion height. Please see image attached. Thanks

4-Right.gif
8 REPLIES 8
TomWaltz
Participant
That depends on how comfortable you are with GDL.

Abolsutely yes, you can save the window as a custom object, but the ability to add a parameter to it will likely require a fair bit of code modification. Many the of GS default windows work by evenly dividing the windows for mullions, into 2's or 3's. Converting that into a distance is not so easy.

Our company switched the SmartPart doors & Windows to get around such problems.
Tom Waltz
Anonymous
Not applicable
But shouldn't it be easy to convert the eyebrow window to a new 8.1 eyebrow, with custom mullions which are hotspot editable?
Or, couldn't I just go into the .gsm elevation view and move the horizontal mullion?
Anonymous
Not applicable
It is difficult changing the code for complex windows - you have learn a lot of GDL to be able to do it.

If don't have many windows in your model try putting a small wall with the same size and material as the mullion at the desired place. It's not very convenient but it works
TomWaltz
Participant
The thing to keep in moind about the GDL "views" is that they are generated from the script itself, not the other way around. You cannot edit the objects directly in the views shown. You much edit the code, which then changes the preview.

Take a look at the 3D script of any window for an example.
Tom Waltz
Anonymous
Not applicable
For a single transom in the WEyebrowsFix window LIbPart insert this after the second line of the 3d script:

! transom definition
material gs_frame_mat ! transom material def-> same as frame material
addx -a/2
addy htr
brick a,gs_frame_thk,gs_frame_thk
del 2
! end of transom definition


and add a new variable for the vertical position of the transom : htr

transom material will be the same as the frame material.
So you will get a result like this - it's ok when you render it
Anonymous
Not applicable
Kliment,

That worked awesome, just what I needed!
However, this created one more question and one problem.
The question, how can I change the Transom Thickness to be equal to the mullion thickness?
The problem created is pasted below: the 3d window now shows the window "off-center" in the wall, while the hotspots still show it being centered in the wall on the plan.
Thanks in advance
Anonymous
Not applicable
Try this, I hope I did it better this time

! transom definition
material gs_frame_mat ! transom material def-> same as frame material
addx -a/2
addy htr
addz ztr
brick a,gw,gth
del 3
! end of transom definition

Thickness of the transom is the same as that of the grill - so you can control it this way. Aligning the transom to the grill turned out to be very complicated (and I'm a bit lazy ) so you will have to insert a new variable, called "ztr", and adjust its position manually.
Anonymous
Not applicable
Thanks Kilment!
Worked like a charm!