Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

C# Grasshopper Component inheritance

$
0
0

@Petras_Vestartas wrote:

Hi,

I have basic question about class inheritance.

I have created Grasshopper component base class, not to write the same things for each component:

When I inherit this class in another component, like this below and I have two the same components on grasshopper canvas. One of them will overwrite/change variables such as preview, bbox, m, lines, directory or other variables from base class. Will it only be affected/changed for one component only while other will have initial values?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles