I did manage to get it to work. I don’t fully understand the order of transactions that occur through Dynamo, especially the ones executed in python nodes.
I was unable to have the transactions creating the floor & opening occur inside my python nodes. I tried several variations including seperate python nodes as well as using SubTransactions but I couldn’t get this to work.
Instead, I took your suggestion of using nodes and had success with this graph
Upon running, it appears that the transaction started by the nodes runs first as I see the floor placed in my model first, then all my other transactions (including the one for creating the NewOpening object) seem to occur and get placed in the model at the same time.
When using undo inside my model I notice that the floor created by the node transaction is a seperate undo as the others which are grouped in the same undo. Although this isn’t a technical way to explain as I don’t yet fully understand this area, I hope it helps someone who may encounter similar situations.
I may attempt to recreate my graph in the future with C# and I believe the transactions will be more straight forward in that approach.