If you use design script then it only takes one line of code!
Follow the steps below
1. add the following designscript code in a Code Block in DynamoBIM
2. Wire any DynamoBIM geometry into the input port on the code block
3. insert any scale value you want and watch is scale!
This process is summarized below