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

Disable sectional view

Anonymous
Not applicable
Hello all,
I would like to know if I can disable sectional view in archicad17 with an add-on?
Sectional view does crash my add-on, if it's possible when my add-on start, sectional view will be disable.

Thank you in advance.
3 REPLIES 3
Ralph Wessel
Mentor
atila-diffusion wrote:
Sectional view does crash my add-on, if it's possible when my add-on start, sectional view will be disable.
If your add-on causes ArchiCAD to crash, I think the only solution is to find and fix the bug in your code. Disabling parts of ArchiCAD is a temporary fix at best. If you don't address the core problem - the bug - it will lead to crashes elsewhere in future.
Ralph Wessel BArch
Anonymous
Not applicable
Disabling parts of ArchiCAD is a temporary fix at best
For now, I have to satisfy me with this fix...
Do you know what are the lines of code to disable the section view?
Indeed, it is better to fix the bug, not avoid it...
Anonymous
Not applicable
Up