Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5854

UserData OnDuplicate triggered when selecting

$
0
0

@jeffoulet wrote:

Hi,
When I have some object with some UserData attached to it, the OnDuplicate method is called by simply selecting the object. Is that a normal behaviour?

Sample code:

protected override void OnDuplicate(UserData source)
        {
            RhinoApp.WriteLine("---- OnDuplicate ----");
            base.OnDuplicate(source);
        }

In Rhino:

Thanks in advance!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5854

Latest Images

Trending Articles



Latest Images