OnCreatedscript that I didn't want to touch.I then added my own external
OnCreatedscript by creating a /scripts/lop/thatHDAfromtheweb_OnCreated.pyin order to add my own code. (more on it here [www.sidefx.com])So I had two competing scripts. As a result, my script overrode the embedded one.
Luckily, I found help on Think Procedural Discord server where @probiner suggested trying this code in my external script as a workaround :
exec(kwargs["node"].type().definition().sections()["OnCreated"].contents())
It basically executes the embedded script from my external script.
And it works, but it feels a bit hacky. Is there a proper way to do this, or is this it?

