Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Make available newly created attribute for roofs

$
0
0
Author:Akos Somorjai
Posted: Thu Jul 20, 2017 12:26 pm (GMT+1)


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):

Code:
attribute.header.flags |= APICWall_ForRoof;


Best, Akos


Viewing all articles
Browse latest Browse all 564

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>