cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

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
Enthusiast
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
Central Innovation