Component nickname event?

Hello
Is there an event for NickName of the component?

What do you mean by nickname event?

NickName of any component

image

Yes, and by event, you mean what kind of action? What is your goal? You can list nicknames of components in canvas.

I created a listbox which show all components, the list updated by ObjectsDeleted , ObjectsAdded … events.
I want that the nickname of any object updated when changed but sadly i don’t find an event for this, maybe there is another trick.

iirc theres no event for nickname being modified. But there’s an event of completed NickName change.

More details please

Hi Seghier,

try this events
GH_ComponentParamServer.ParameterNickNameChanged Event (rhino3d.com)

GH_ObjectChangedEventArgs Class (rhino3d.com)

GH_ObjectEventType Enumeration (rhino3d.com)

I use it on one of my components.

Hope it helps.

Ondrej

1 Like

Thank you Ondrej , i will try it