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.
SOLVED!

Get object's parameter description (not just name)

Miha Nahtigal
Advocate

HI everyone. I am looking for a way to get a parameter description from a placed GSM object.

 

I can get parameter's name with

 

const API_AddParType& parameter = (*memo.params)[ii];
GS::UniString ParameterName = parameter.name;
 
but the values of "valueDescription" or "uDescname" of  the struct API_AddParType
are always empty. Is there another way?
 
Neimenovano.png
BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi,

I'd suggest you to use ACAPI_LibraryPart_GetParams() to get parameter description.

HTH.

View solution in original post

2 REPLIES 2
Solution
LChen
Graphisoft
Graphisoft

Hi,

I'd suggest you to use ACAPI_LibraryPart_GetParams() to get parameter description.

HTH.

Miha Nahtigal
Advocate

Thanks, that worked fine.

BIMquants.comBETA - Quantities and Costs Estimation in Archicad - BETA testers needed.