cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Beams appear extended

kency
Booster

When small beams are placed in a circular way adjacent to each, we have observed that two beams appear extended. But these beams shift to their original size when we move it as illustrated in this video https://www.loom.com/share/bedaa287737a4cb2b7e6d4370649c437?sid=e800d3ec-6004-4df9-9bcf-fc24fea9c7f9

 

Please note the beams are created through C++ API, so we would need to find a solution that could be applied in code as well.

Could someone let me know what could be done.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Ralph Wessel
Mentor

You can get that kind of effect just placing walls/beams manually if:

- They don't meet cleanly at a single point

- There are multiple beams meeting at a point and the junction is ambiguous

The latter situation can be hard to spot if a small beam/wall fragment has been clipped or placed accidentally and is confusing the junction. I'd suggest first checking that the circle contains precisely the expected number of beams and that they all join cleanly.

One important point to keep in mind is that commands to place elements aren't really doing anything fundamentally different to a user placing them, so often odd effects like this are not specifically an API problem.

Ralph Wessel BArch
Software Engineer Speckle Systems

View solution in original post

1 REPLY 1
Solution
Ralph Wessel
Mentor

You can get that kind of effect just placing walls/beams manually if:

- They don't meet cleanly at a single point

- There are multiple beams meeting at a point and the junction is ambiguous

The latter situation can be hard to spot if a small beam/wall fragment has been clipped or placed accidentally and is confusing the junction. I'd suggest first checking that the circle contains precisely the expected number of beams and that they all join cleanly.

One important point to keep in mind is that commands to place elements aren't really doing anything fundamentally different to a user placing them, so often odd effects like this are not specifically an API problem.

Ralph Wessel BArch
Software Engineer Speckle Systems