Hi,
Is it possible to set spare parameters value from Python Processor or any other PDG Node?
Thanks
Ostap
# Evaluate a parameter with no work item self['example'].evaluateInt() # Evaluate at a specific index self['example'].evaluateInt(2) # Evaluate the parameter against a specific work item. This is needed if you want @attribute expressions to be evalauted. new_item = itemholder.addWorkItem() self['other_example'].evaluateString(new_item) # Specified work item and index self['other_example'].evaluateString(new_item, 1)
import hou node_id = self.customId top_node = hou.nodeBySessionId(node_id) top_node.parm("newparameter").set("test")