Registering input/output params between components when writing custom attributes

Hi all,

I’m trying to write custom attributes for a component, which includes having to implement code for MouseDown/MouseMove/MouseUp event handlers.
I’m currently inheriting from GH_Attributes.

Do I have to implement code to tell the objects that I link to from my outputs that their input has changed, and if so, how should I go about it?

The question is not clear to me, what are you trying to do?

If you are creating custom attributes for a GH_Component, you should really derive from GH_ComponentAttributes, not GH_Attributes. There’s a lot of functionality you’re going to have to re-implement otherwise.

1 Like

I’ve inherited from GH_ComponentAttributes instead, and it works now. Thanks!

@Dani_Abalde I was trying to find a way to inherit/mimic basic linking functionality (from one component to another, particularly the case where another component links to the component in question) because not all of my linkers are generic.