Layer full path not correct when using "Move Up One Parent" in Rhino's layer panel

I am using LayerTableEvent to check when the layer table is modified. When I use “Move Up One Parent” in Rhino’s layer panel (see the upper image) then the full path of the layer in old state is same as in the new state. So the old full path of the layer is not correct since it is same as the new full path (see the lower image)

image

Hi @jukka.maenpaa,

I see that. However, there probably isn’t anythign we can do about it. You see FullPath isn’t really a property of the underlying ON_Layer class, but rather something calculated on demand and presented as a property because it’s read-only.

– Dale

I handled this by comparing parent layer’s id.