How to Rotate BlockReferences After Placing Them Around Any Axis

Hello Dynamo community!

I’ve come across a method for rotating BlockReferences around any specified axis after placement, which can be incredibly helpful when working with dynamic models that need adjustments to the block orientation after initial placement.

Explanation:
When placing a BlockReference, it’s essential to choose the correct normal axis for placement. This normal can differ from the one used to create the block in the block model space. For instance, in my example, the block was originally created along the Z-axis normal in model space. However, in my project, I need to place it along the X-axis normal.

This rotation process allows the block to orient correctly in any chosen axis even after placement, making it flexible for different project requirements. To make things clearer, I’ve attached a screenshot that demonstrates the setup and results.

If anyone is interested in implementing this or needs guidance with the Dynamo script, just leave a reply here, and I’ll gladly share the details!

Looking forward to connecting and collaborating with others on similar challenges!

Best,

2 Likes