If ThisDoc.Document.DocumentType <> DocumentTypeEnum.kDrawingDocumentObject Then Exit Sub
Dim oDDoc As DrawingDocument = ThisDoc.Document
Dim oSheets = oDDoc.Sheets
For Each oSheet As Sheet In oSheets
Dim oViews As DrawingViews = oSheet.DrawingViews
If oViews.Count = 0 Then Continue For
For Each oView As DrawingView In oViews
If oView.ViewType <> DrawingViewTypeEnum.kDetailDrawingViewType Then Continue For
Dim oDetailView As DetailDrawingView = oView
oDetailView.DisplayFullBoundary = True
oDetailView.DisplayConnectionLine = True
oDetailView.ShowLabel = False
oDetailView.IsBreakLineSmooth = True
Next 'oView
Next 'oSheet
You code did give a error but I fix it ... you have to take
oDetailView.DisplayFullBoundary = True
before
oDetailView.DisplayConnectionLine = True
but I still missiong one thing I need to delete the Letter on the last one

If do that with right clcik on it--- select text and delete it all

can you add that to the code ?