Set a "section range end" for event from BP or C++

Hello,
is it possible, from within blueprint or c++ to set a “section range end” for a specific event in Sequencer?
I need, that added event will set its duration based on some passed variable (global, or from given event?)

Best,
hmental

If this is the wrong section of the forum I apologize, I was having trouble figuring out which section to assign the query to

Okay I was able to find how to manage these values. I had to plug in an additional plugin that allows you to create custom sequencer/track/section - “Customizable Sequencer Tracks”