You can put the code into ilogic. Just needed a bit of a touchup to suit VB.Net.
Once you have added the code, go to Event Triggers which is located under the Manage TAB in the ribbin panel and add this code to After Save.
Public Sub Main()
On Error Resume Next
'Get the drawing document
Dim oDrawingDoc As Inventor.DrawingDocument
oDrawingDoc = ThisApplication.ActiveDocument
'Dim oErrResponse As VbMsgBoxResult
If Err.number <> 0 Then
MsgBox("Active document must be a drawing", vbExclamation, "Error")
Exit Sub
End If
'Get the first sheet
Dim oSheet As Inventor.Sheet
oSheet = oDrawingDoc.Sheets.Item(1)
'Get the first view
Dim oView As Inventor.DrawingView
oView = oSheet.DrawingViews.Item(1)
If Err.number <> 0 Then
MsgBox("Drawing has no views", vbExclamation, "Error")
Exit Sub
End If
'Get the view scale string
Dim sViewScale As String
sViewScale = oView.ScaleString
'Get the custom propertyset
Dim oCustomPropSet As Inventor.PropertySet
oCustomPropSet = oDrawingDoc.PropertySets.Item("Inventor User Defined Properties")
'Get the "Scale" custom iproperty. If it doesn't exist, we'll create it
Dim oScaleProp As Inventor.Property
oScaleProp = oCustomPropSet.Item("Scale")
If Err.number <> 0 Then
oScaleProp = oCustomPropSet.Add("", "Scale")
End If
oScaleProp.Value = sViewScale
'Update the drawing. This will update the title block scale
oDrawingDoc.Update
End Sub