License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

BIMx API
About enriching BIMx with new capabilities using its API.

Error found in the Override_Test API example

HTu
Participant

Hello everyone,

 

I need to create an API to set the Fill Background Pen Override = zero (transparent)

 

So I looked up the Override_Test API example and discovered the error in the "CreateTransparentWDOverrideRule" function. It returned APIERR_BADPARS when activated the "Set Perspective View's Override Combination" function of the example.

 

I have narrowed down the source of the issue. It is from the following settings:

------------------------------

// Override fill background pen to 0 (transparent)
rule.style.fillBackgroundPenOverride = static_cast<short> (0);

------------------------------

Any suggestion to overcome this error would be greatly appreciated!

 

Regards,

Hoa

0 REPLIES 0