Hello @khuvv.hp,
I think the script in the YouTube clip is this one here: Why rebar dimensions crooked with python script?