Due to a scheduled maintenance, a maximum 20 minutes license delivery outage may be expected on July 6 2024 (Saturday) between 6PM to 8PM (CEST).
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

ACAPI_Element_RefreshElement() doesn't work on AC27

HKM
Contributor

blnForce = true;
err = ACAPI_Element_RefreshElement( &element.header, &blnForce);
//It worked on AC26 but not on AC27
//Please tell me how to deal with it

//note)element is GDL with script

13 REPLIES 13
MOREH Tamas
Graphisoft
Graphisoft

Hi HKM!

 

Are you sure the parameter list after placing the element remains inconsistent?

If you place the object on the GUI the parameters of the placed object are different comparing the object placed from the addon with the same default parameters?

 

If you call the "Run Parameter Script on Placed Library Parts" menu command from the Library Developer menu, the object which is placed from the addon changes?

 

Tamás

del

HKM
Contributor

del

I apologize.
The program I created for testing had a bug and was not working properly.
The title problem was solved in Version 27.2.1.
The "EndX", "EndY", and "EndZ" in the program source from the other day were fine in Version 27.2.1.

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!