The obj must not already belong to a different document or view, nor to a group. If the object already belongs to this layer, nothing happens. The object's GoObject.Layer property will be changed to be this layer. If the object already belonged to a different layer in this same document or view, the Changed hint will be ChangedObjectLayer, otherwise it will be InsertedObject.