parameters: (self, node, attr, value, attr_type="")
docstring: attr_type has no meaning in Houdini.  Everything is a string
docstring_summary: attr_type has no meaning in Houdini.  Everything is a string
docstring_tokens: attr_type has no meaning in Houdini . Everything is a string
function: def set_attr(self, node, attr, value, attr_type=""):
          '''attr_type has no meaning in Houdini.  Everything is a string'''
          if attr == "tacticNodeData":
              return hscript('opcomment -c "%s" %s' % (value,node) )
          else:
              value = value.replace("$", "\\$")
              cmd = 'opparm %s %s "%s"' % (node, attr, value)
              print(cmd)
              return hscript(cmd)
function_tokens: def set_attr ( self , node , attr , value , attr_type = "" ) : if attr == "tacticNodeData" : return hscript ( 'opcomment -c "%s" %s' % ( value , node ) ) else : value = value . replace ( "$" , "\\$" ) cmd = 'opparm %s %s "%s"' % ( node , attr , value ) print ( cmd ) return hscript ( cmd )