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

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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