Jasmine Derry


About Me

Not Specified
Not Specified


Recent Forum Posts

Parameters and Python June 29, 2018, 10:46 a.m.

change the button callback to this:

and change your code to this:
def executeButton(kwargs):
    node = kwargs["node"]

there are other errors but this will get you past the first ones

Thanks so much! Changing the callback (along with some other code cleanup) was what did the trick!

Parameters and Python June 28, 2018, 3:44 p.m.

I'm creating a digital asset that exports data from the geometry spreadsheet into a CSV. However, whenever trying to reference in parameters from the digital asset, I get errors about “NoneType has no attribute ____”. I know that this is due to the hou.node() function messing up, but there's no clear way for me to resolve it. I've attached my hip file and hda file, where I can explain further. Any help is appreciated. If you want me to explain in more detail in the thread, just let me know!

EDIT: To elaborate a little more, all of my code is in the Scripts tab of the Type properties of my digital asset. The asset can be run by hitting the “GO” button, and then that's when you get the errors.

Normalized Time June 28, 2018, 3:37 p.m.

Thank you! I'll try the backticks method.

I'm using a wrangle node, not a VOP node, so the the text isn't referred to as a snippet in that case?