cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

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