Manipulating Layers
Modifying basic layer properties and changing layer visibility settings can be done directly by setting properties like AcMapLayer.Name, AcMapLayer.Selectable, and AcMapLayer.Visible. More complex manipulation requires modifying layer resources in the resource repository.