BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Scaling issue for Objects rendering using C++


I'm encountering a problem in my C++ project where objects loaded through a library appear smaller than their actual size. The issue corrects itself when I open and close the object settings without any changes. I'm attaching a video to demonstrate this. Has anyone experienced something similar or knows why this might be happening? I'm looking for any advice on how to ensure objects load at their correct size initially.


Hi Sijo,


My first suspicion would be the A and B parameters of the library part. See API_LibraryPart_GetParams.

Also the object element has the following relevant fields:

  • useXYFixSize
  • xRatio
  • yRatio

I suggest you check what you put in these values and parameters when creating the objects.


Hope that helps,



Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website:
Learn and get certified!