Change name of Point to something else. (Not user attributes)

When I right click a stack of points, each object reads ‘Point’. I can add a name (such as NewName) by modifying the user attributes which would result in me seeing “Point - NewName”. However I’d like to change the Point text. I assumed I could do this by changing the RhinoObject.Name property but this is the same as modifying the attributes. Is what I’d like to do even possible?

I’ve put some example code here;

Guid id = doc.Objects.Add(point);
RhinoObject obj = doc.Objects.FindId(id);
obj.Attributes.Name = "NewName";
obj.CommitChanges();

Results in “Point - NewName”

Guid id = doc.Objects.Add(point);
RhinoObject obj = doc.Objects.FindId(id);
obj.Name = "NewName";
obj.CommitChanges();

Results in “Point - NewName”

Additional question, would a CustomPointObject allow this?

Yes

– Dale

For those wondering how to do this, simply override the ShortDescription property of any CustomRhinoObject

public override string ShortDescription(bool plural) => "MyCustomObject";