Wish: More UserData like SetUserText(): SetUserBool() and SetUserList()

You are assigning the UserText to the geometry not the object.

see also: Difference between Attribute user text and Geometry user text?

Try

objref.Object().Attributes.UserDictionary.Set("Feature", True)

cant test it right now, but if objref is an object not an objectreference

objref.Attributes.UserDictionary.Set("Feature", True)