geo = hou.pwd().input(0).geometry() dic = geo.attribValue('detail_attrib') lis = [k for k,v in dic.items() if v==1] return(' '.join(lis))
Image Not Found
geo = hou.pwd().input(0).geometry() dic = geo.attribValue('detail_attrib') lis = [k for k,v in dic.items() if v==1] return(' '.join(lis))
aparm = hou.parm('/obj/geo1/sphere1/tx') aparm.setKeyframeExtrapolation(1,hou.parmExtrapolate.Cycle)
WillASammer1
Hi WillA,
It sounds like what you might be looking for is 'Current Operation' in the Parameters pane. When the Curve SOP is selected and you are in edit mode you can enter values and move relative to the current position. (Either select points in the view scene view and then enter the value or enter the point # and then the value)
I hope this is helpful,
Sam
I would like to be able to type in the actual coordinate value.
For example, I want to make sure that certain points in a curve are a specific Z value.
I was wondering, what if you want return different values in such simple way?
This doesn't seem to work:return 3 if ch("../target_type")=="targetmeshsize" else 10
3 if ch("../target_type")=="targetmeshsize" else 10