Button for python code

Hello, I wrote the code in python.
I want to run it from the Rhino button.
I can’t do it

Hello @Alex_GM ,
Check this reply for a solution (you have to enclose the code):

1 Like

Thank you for spending your time with newbies like me.

1 Like

With a little help, newbies become oldbies in a very short time… :stuck_out_tongue_winking_eye:

Concerning running scripts, here is the complete guide:

https://wiki.mcneel.com/rhino/macroscriptsetup

1 Like

Thank you, I looked here so it did not work

Yes, unfortunately that article is incomplete and lacks some necessary information.