2022-05-23 02:40 PM
Hello everyone,
Making a Surface Override for my custom Curtain Wall Panels doesn't work ! ( either at Element level or in Edit Mode ) Any suggestions please ?...
Solved! Go to Solution.
2022-05-24 03:31 PM - edited 2022-05-24 03:33 PM
In the 3D script you will find the call to the "CW_Panel_Collection" object (actually rewritten by Archicad everytime you save a custom component) with some parameters.
This command should be tucked inside its own group ... endgroup.
Then third line is the creategroupwithmaterial command as shown above.
Here for your understanding. Really simple. Just three lines, highlighted in yellow.
You have to consider however that the panel now gets overriden all the time. Another "IF" loop would be necessary to determine if the overriding should take place or not. But that is left as an exercise for the reader 😉
2022-05-23 03:30 PM
As noted in the setting - it only affects schematic and simplified views. Is your MVO Curtain Wall option for panels set to schematic or simplified?
2022-05-23 08:57 PM
Thank you..I didn't pay attention to that setting. It seems that is the reason why the Surface Override is not possible. (My MVO is set to "Full" )
So in full detailed Curtain Wall it is not possible to make Surface Override for Custom Panels ?
2022-05-23 09:51 PM
This is a shortcoming and overlook, imho.
I can kinda guess why they have done it that way, but there would have been an easy solution – see below.
Do you have experience in GDL?
Don't worry if not! It's actually very easy to do.
Open the "CW Custom Panel 25" object, scroll down 'til you see the CALL command to the "CW_Panel_Collection" and encapsulate that in a GROUP.
Then lastly just drop a casual `placegroup creategroupwithmaterial("yourgroupnamehere", 2, 0, matPanel)` in there after your new group. BOOM! Done!
2022-05-24 11:56 AM
Since i don't have any competence in GDL programing.. Can you please explain further more that procedure for me to understand what "encapsulate in a group" means and to know exactly how to execute the next step... Thank you very much.
2022-05-24 03:31 PM - edited 2022-05-24 03:33 PM
In the 3D script you will find the call to the "CW_Panel_Collection" object (actually rewritten by Archicad everytime you save a custom component) with some parameters.
This command should be tucked inside its own group ... endgroup.
Then third line is the creategroupwithmaterial command as shown above.
Here for your understanding. Really simple. Just three lines, highlighted in yellow.
You have to consider however that the panel now gets overriden all the time. Another "IF" loop would be necessary to determine if the overriding should take place or not. But that is left as an exercise for the reader 😉
2022-05-30 03:26 PM
Thank you very much. I am gonna try this
2022-05-30 09:05 PM - edited 2022-05-30 09:06 PM
I tried it and it worked ! This was very useful 👍 ...Thank you