I have had success using Box, but am now struggling to use Add, in particular multi-parms.
I have read in the docs that;
Multiparms are represented as a sub list of dictionaries.
Here is what I have so far;
geo = hou.pwd().geometry() verbs = hou.sopNodeTypeCategory().nodeVerbs() buffer = hou.Geometry() add_verb = verbs["add"] add_verb.setParms({"points": [{"pt":(0,1,2)}, {"pt":(4,5,6)}] }) add_verb.execute(buffer, []) geo.merge(buffer)
The error I am seeing, is that pt is not a parameter for the add verb, however, that is the name of the multi-parm when moused over.
Is my syntax wrong for a multi-parm? I am trying to pass list of dicts, each passing a tuple for pt.