I spent a few hours on that... According to EREL, it's not that easy, thus no other solution for time being than to manually change the value in the C code.
For the error, have you called WS2812B.initialise(...) in your main code?
No, there was no text in my code called "WS2812B.initialise(...)". So I added: "WS2812B.initialise(3)" to the AppStart sub, but B4R reports that it is an undeclared variable.
Previously, I added this line: "Initialize(3)" to the the AppStart sub, but saw the error: "b4r_ws2812b has not been declared".
I simply copied your two examples and pasted them into B4R and changed the number of LEDs and the multiplication factor. The first example worked, but the second example caused the error. The second example did not include an AppStart sub, so I thought it might be missing something, so I created the AppStart sub and put "Initialize(3)" in it.
I'm not in a hurray. Thank you.