BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Make available newly created attribute for roofs

Anonymous
Not applicable
Hello,

Is it possible when creating a new attribute (for example a composite) to be available when creating a roof element? I see that it can be set manually from attribute manager, or when editing the composite window from the four buttons at the bottom right (see the atached image) but I can't understand how it can be done programtaically.

I would be very helpful for some guidance in the documentation maybe, because i can't seem to find anything there.

All the best,
Julian
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
jcimentarov wrote:
Hello,

Is it possible when creating a new attribute (for example a composite) to be available when creating a roof element? I see that it can be set manually from attribute manager, or when editing the composite window from the four buttons at the bottom right (see the atached image) but I can't understand how it can be done programtaically.

I would be very helpful for some guidance in the documentation maybe, because i can't seem to find anything there.

All the best,
Julian
Hi Julian,

Set the following flag before creating the attribute (for composites):
attribute.header.flags |= APICWall_ForRoof;
Best, Akos
Learn and get certified!