Hello. I was trying to implement one algorithm where I am trying to update one particular property of an instance of an object in Archicad environment.
Here exists some rectangular element:

It has following properties:

Now, I will try to update only one property (width) to 100...
I use commands in this order:
ACAPI_LibraryPart_OpenParameters(); to open the selected object's properties,
and ACAPI_LibraryPart_ChangeAParameter(), where I pass updated parameters.
then I execute ACAPI_LibraryPart_CloseParameters(); to close the parameters.
I do not modify anything else.
In the end I have this result:

with these properties:

As you can see,the width have been changed correctly. Other properties, however, have been corrupted.
Do somebody know why it might happen?
Operating system used: Windows 11