We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Requesting

Anonymous
Not applicable
Sorry I was going to do a search for this but the search seems to be down. I was wondering if there is a way to request the pen weight and description for a pen?
2 REPLIES 2
Thomas Holm
Booster
Ralph Wessel
Mentor
Landry wrote:
Sorry I was going to do a search for this but the search seems to be down. I was wondering if there is a way to request the pen weight and description for a pen?
Take a look at ACAPI_Attribute_Get. Pass an API_Attribute to this function, setting header.typeID to API_PenID and header.index to the required pen number. The pen weight will be returned in pen.width and the description in pen.description.
Ralph Wessel BArch
Software Engineer Speckle Systems