@osmanburcu, if this is helpful we have a snippet that should do this in python (which has been discussed in our other post) …
@osmanburcu, if this is helpful we have a snippet that should do this in python (which has been discussed in our other post) …