DenisT, could you kindly elaborate on how to get the when construct working with this? the help suggests that the name[s] change handler is -
|Signaled when the name of an object is changed if this occurs because a user edits the name in one of the 3ds Max command panels. The handler is called repeatedly with each character that is changed.|
I thought maybe its not working as the layer manager is not classed as a command panel??