Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm kind of new at coding. Can someone help me? Right now, my SHEET # is linked to the browser name. How do I attach the field text, SHEET #, to modify this code below?
This is the outcome I need to accomplish in the end.
Dim oDDoc As DrawingDocument = ThisDrawing.Document Dim oView As DrawingView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter, "Select a drawing view.") If oView IsNot Nothing Then If oView.ViewType = DrawingViewTypeEnum.kDetailDrawingViewType Then oDView = oView oOrigName = oDView.Name oDView.Name = oOrigName & "/ MU-8005" oDView.Label.FormattedText = "DETAIL " & oOrigName & "<Br/>SCALE <DrawingViewScale/>" End If Else MsgBox("The selected View's Scale is set by the Base View, and can't be changed this way.", vbOKOnly + vbExclamation, " ") End If
Solved! Go to Solution.