How can i use this python script to define a block in grasshoppper?

You need to change the scriptcontext when targeting the Rhino document from a GHPython script. See this thread:

Edit: Here’s a quick implementation:


220324_MakeBlock_00.gh (3.1 KB)

1 Like