node = hou.pwd()
geo = node.geometry()
# Add code to modify contents of geo.
# Use drop down menu to select examples.
for prim in geo.prims():
path = prim.attribValue("path")
newpath = path[:20]
Prim.setattribvale("path",newpath)
getting error
Error
Python error: IndentationError: ('expected an indented block', ('', 8, 4, 'path = prim.attribValue("path")\n'))
i dont know anything about python i started a tutorial and getting this error he was using some older version of houdini and i am 17.5 may be because of this or anything else, please help me out .
Thanks