First attempt Editing a Python script

Thank you @MJB-online, you really saved me lots of time…

At first it didnt work correctly on my model with elements that are flipped/mirrored/rotated in various ways. some results were good and some elements didnt rotate at all.
I managed to fix it with the help of GetElementRotation node from modelical and reversing the HandOrientation according to the elements rotation/mirrored condition.

Thanks again for the share @MJB-online

Assemblies_ModifyOrigin_v04 (mirrored elements fix).dyn (108.5 KB)

3 Likes