So I was able to partially solve this one. It seems to work reliably for standard objects but runs into trouble with blocks. I did my best to implement some of the suggestions from this thread, but didn’t really solve it.
Strangely, I thought I had it solved at some point, and then maybe I ruined my code. I’m really not sure. I’ve attached the latest version, as well as an earlier version that I THOUGHT was working perfectly, but have since lost hope with.
MULTI-LAYER WITH CSV IMPORT:adnLayerOperations_cmd.py (6.5 KB)
Sample CSV:test.csv (174 Bytes)
SIMPLE (OLD VERSION, I thought this was handling blocks perfectly, but who knows…): andLayerOperation_2021-08-19.py (4.1 KB)
Hopefully someone can use these / improve upon them