Originally Posted by
Steve_Bennett
So no one has any ideas on how to do this via command line? what about programatically?
It's really simple to accomplish with programming. Here is a start with VBA
Code:
Sub chLayerDescription()
Dim oLyr As AcadLayer
Dim strLyrName As String
Dim strLyrDesc As String
'Accept layer name and description from the user
strLyrName = ThisDrawing.Utility.GetString(False, "Enter layer name to set description: ")
strLyrDesc = ThisDrawing.Utility.GetString(True, "Enter layer description: ")
If strLyrName <> "" And strLyrDesc <> "" Then
For Each oLyr In ThisDrawing.Layers
If StrComp(strLyrName, oLyr.Name, vbTextCompare) = 0 Then
oLyr.Description = strLyrDesc
Exit For
End If
Next
End If
Set oLyr = Nothing
End Sub