2024-04-19 12:36 PM - last edited on 2024-09-17 01:11 PM by Doreena Deng
Hello,
We have rendered a few walls with surface paint applied and doors through the Add-On code. However, the building material of the wall appears at the edges of certain walls, as shown in the image below:
However, if we move the wall slightly the surface materials appear correctly. see video.
How can we avoid this? I could not reproduce this issue on the UI by manually drawing the wall so suspecting it has something to do with setting some field in the wall element.
Attaching the project.
Archicad Version 27
2024-04-19 01:38 PM
have you tried the align tool 😃 i tried with your file and it worked.
here is how i did it
- aligned the two outer walls where the issue was
- then aligned the vertical wall into the other outer walls.
2024-04-19 05:09 PM
Hi @kency,
I see you can get the desired result by changing the BM for the radial walls to a different material (even if you copied the same BM of the outer walls) only it should have a lower priority than the material of the outer walls, that will solve this connection issue, hope that helps.
2024-04-22 07:34 AM
Thanks for the reply @_JJ_ and @Mahmoud Qenawi , Please note that the query is asked under the C++ Add-On API board. The project has been rendered through code. So is there any field or method through the C++ API that can be used to avoid this issue and also at what scenarios does this happen?
@Mahmoud Qenawi we would like to pick the same building material for all the walls.
2024-04-22 08:14 AM
The wall reference lines are not joining end to end.
Clean them up and the walls trim properly.
Barry.
2024-04-22 10:21 AM - edited 2024-04-22 10:21 AM
Are these walls defined by length then radially arrayed? Given the walls appear to be overshooting their intersection, maybe check the math of your cord length? My guess is that you are calculating to the outside face without taking into account the reference line offset. ie. Your input radius is incorrect.
Ling.
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |