I managed to whip up an example for you,
Just to confirm, all you want is an Ilogic code to edit the active title block and replace a field with a model/document property? If so, the following works great for me:
Dim InvApp As Inventor.Application
InvApp = Marshal.GetActiveObject("Inventor.Application")
Dim oDoc = InvApp.ActiveDocument
If (oDoc.DocumentType = DocumentTypeEnum.kDrawingDocumentObject) Then
Dim objDrawDoc As DrawingDocument = CType(InvApp.ActiveDocument, DrawingDocument)
'The following gets the active title block in the specified ACTIVE sheet.
Dim TitleBlock As TitleBlock = objDrawDoc.ActiveSheet.TitleBlock
Dim objTitleBlkDef As TitleBlockDefinition = TitleBlock.Definition
' If we are here we have the title block of interest.
' Get the title block sketch and set it active
Dim objDrwSketch As DrawingSketch = Nothing
objTitleBlkDef.Edit(objDrwSketch)
'Get the collection of textboes in the TitleBlockDefinition
Dim colTextBoxes As TextBoxes = objDrwSketch.TextBoxes
'Summary Information, {F29F85E0-40FF9-1068-AB91-08002B27B3D9}
'Document Summary Information, {D5CDD502-20000000000C-101B-9397-08002B2CF9AE}
'Design Tracking Properties, {328530F0F-3444-11D1-9E93-0060B03C1CA6}
'User Defined Properties(Custom Properties), {D5CDD505-20000000000C-101B-9397-08002B2CF9AE} The property ids is in increasing order as they are in the iprop window
For Each objTextBox As Inventor.TextBox In colTextBoxes
'Scan all text boxes in the active title block definition until we come accross the text box named "TITLE"
If objTextBox.Text = "TITLE" Then
'The following line using xml parameters edits the title block definition and replaces the text bob "TITLE" with the <Description> model property.
'Property ids can be found using the object browser
'I dont have your <METAL> property but you can replace it with your id to get the same affect.
objTextBox.FormattedText = "<Property Document='model' FormatID='{32853F0F-3444-11d1-9E93-0060B03C1CA6}' PropertyID='29' />"
Exit For
End If
Next
objTitleBlkDef.ExitEdit(True)
'Close and save changes to active titleblock
Else
MessageBox.Show("Oops, this is NOT a drawing document, nice try!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
Return True
End Function
Note I wrote this is VB.net (External Console app) but with very little changes with grabbing the InvApp, you can put this in ilogic.
Before Running:

After running rule:
