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

Is there a way to change ID, Structural Function and Position properties of single element ?

Anonymous
Not applicable
Hello,

I'm looking for a function to change ID, Structural Function and Position properties of single element ?

Thanks in advance,
Julian
4 REPLIES 4
Ralph Wessel
Mentor
Try ACAPI_Element_SetCategoryValue for position and structural function.

The ID is stored in the element memo - you can change it there.
Ralph Wessel BArch
Anonymous
Not applicable
Thank you! I was able to set position and structural function with ACAPI_Element_SetCategoryValue.

Now I'm looking the element memo structure in the docs, but I can't figure out where is the ID stored ?
Ralph Wessel
Mentor
API_ElementMemo.elemInfoString
Ralph Wessel BArch
Anonymous
Not applicable
Thank you very much!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!