Archicad C++ API
About Archicad add-on development using the C++ API.

Joint walls

Anonymous
Not applicable
Hi,

I add two walls that have joint ending point,
but ArchiCAD draws their ends like they are apart.
How do I make ArchiCAD draw the walls ends correctly?

I hope the following illustration explains the problem:

What I Get What I Wish

___________ ____________
________|__| ________ |
| | | |
| | | |
| | | |


Thanks.
4 REPLIES 4
Anonymous
Not applicable
Hi,

Sorry, my illustration didn't passed correctly (spaces where deleted)
I added dots instead of blanks.
What I Get        What I Wish

___________        ___________
________|__|       ________   |
        |  |               |  |
        |  |               |  |
        |  |               |  |
        |  |               |  |
Anonymous
Not applicable
Hi Graffiti,

Is this specifically a developer problem (you posted this in the developer forum ), or more of a general question?

You probably have 'Clean Wall/Beam Intersections' turned off in the On-screen View Options (found on the 'View' menu, or the OSVO toolbar)

If not, then check the walls aren't on different layers with different layer intersection numbers.

Hope that helps!
Ralph Wessel
Mentor
graffiti wrote:
I add two walls that have joint ending point,
but ArchiCAD draws their ends like they are apart.
How do I make ArchiCAD draw the walls ends correctly?
I assume you are drawing walls with the API? The most important thing to understand is that drawing elements through the API is very similar to drawing things as a user (in the floor plan using ArchiCAD's tools). If a user can't draw something, it is very likely the API can't either; for example creating a new element on a locked layer.

Peter's advice is actually quite relevant even if your are using the API. Check that you understand how these walls would be drawn and why they would connect if you drew them in the floor plan using the Wall tool. Then, once you understand that, use the same settings, geometry, and methodology in the API. In particular, make sure you understand how the position of a wall's reference line is key to making it automatically connect to another wall.
Ralph Wessel BArch
Anonymous
Not applicable
Hi,

The problem was in my the layer setting.

Thanks.