(self, node, attr, value, attr_type="")
attr_type has no meaning in Houdini.  Everything is a string
attr_type has no meaning in Houdini.  Everything is a string
attr_type has no meaning in Houdini . Everything is a string
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)
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 )