setConstructAttr function

Set the attributes of a construct