Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Custom CW frame scripting

alemanda
Advocate
Hi,
I made my own custom CW frame. Script.
I used the cprism function but I'm sure that I have to use the sprism{2}.
In fact when I make a CW along a polyline my transoms are not cut properly at the extremities.
My problem is how to define the "tangle" and "bangle" parameter for sprism{2}.
Among the parameters for the CW there is AC_clampvector and AC_topconnplane and AC_bottomconnplane ...
Does anybody have experience with that?
Thanks

custom_CW_frame_profile.png
AC 19 and AC21 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
3 REPLIES 3
alemanda
Advocate
...and these are the parameters I've mentioned before
Regards
custom_CW_frame_profile_parameters.png
AC 19 and AC21 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Laszlo Nagy
Community Admin
Community Admin
What Frame Intersection Priority numbers are set for these Frames?
I would set the vertical one to something (e.g. 10) and then set it for the two horizontal ones to some lower value (like 9 or less).
This works with normal Frames but I am not sure it also works with custom frames. You need to check.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
alemanda
Advocate
The priorities are set well. This was my first doubt ...

I save a curtain wall as GDL.
Reading the code of the element (transoms and mullions) I saw that the SPRISM{2} is used.
One of the parameter to be passed to the SPRISM{2} is the top angle and bottom angle.
When you write a script for a custom frame part (mullion or transom) these parameters can be passed by archicad to the custom element.
The problem is that I couldn't understand which of the parameters highlighted before is the right one ...
Moreover also the priorities are regulated by one of the parameters listed above ...

I tried to read the code of the "profile 13" listed among the "custom" frame profiles ... but it's impossible to read that code ... it's not an usual GDL object ...
AC 19 and AC21 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it