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:
![Emkave_0-1732104960413.png Emkave_0-1732104960413.png](/t5/image/serverpage/image-id/79761i096C09706254808F/image-size/medium?v=v2&px=400)
It has following properties:
![Emkave_1-1732105057925.png Emkave_1-1732105057925.png](/t5/image/serverpage/image-id/79762i2EE2BF24BCA4DE3D/image-size/medium?v=v2&px=400)
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:
![Emkave_2-1732109266279.png Emkave_2-1732109266279.png](/t5/image/serverpage/image-id/79767iB2BCFE385D6C24BE/image-size/medium?v=v2&px=400)
with these properties:
![Emkave_3-1732109282108.png Emkave_3-1732109282108.png](/t5/image/serverpage/image-id/79768iD4981F8A10F5F615/image-size/medium?v=v2&px=400)
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