You might be able to check some of the pre-made functions in the editor folder in your content browser.
Or there might be someone that can help you more than I am by trying to replicate your issue. I am not a modeler unfortunately it would be hard for me.