Hi @vvvxxvvv333
To get the drawing to update automatically when the model property is updated you could do something like what is shown below.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
1. Update the rule in the part model:
iProperties.Value("Custom", "Db") = Ds
iLogicVb.UpdateWhenDone = True
oDrawDoc = ThisApplication.Documents.Open(ThisDoc.ChangeExtension(".idw"), True)
Dim DrawingUserParams As UserParameters
DrawingUserParams = oDrawDoc.Parameters.UserParameters
DrawingUserParams.Item("Parmeter_Db").Value = Ds
Thisdoc.Document.Activate
2. add a parameter to the drawing:

3. Update the drawing rule:
oTrigger = Parmeter_Db
oSheet = ThisDoc.Document.Sheets(1)
Dim oTG As TransientGeometry
oTG = ThisApplication.TransientGeometry
Dim oProperty = ThisDoc.ModelDocument.PropertySets.Item(4).Item("Db").Value
If UCase(oProperty) = "PAINTED" Then
sText = "<StyleOverride Italic='True'><Property Document='model' " & _
"PropertySet='User Defined Properties' Property='Db' " & _
"FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='3'>Db</Property></StyleOverride>"
Else
sText = "<StyleOverride Bold='True'><Property Document='model' " & _
"PropertySet ='User Defined Properties' Property='Db' " & _
"FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='3'>Db</Property></StyleOverride>"
End If
Dim oNote As GeneralNote
Dim oGenNotes = oSheet.DrawingNotes.GeneralNotes
For Each oNote In oSheet.DrawingNotes.GeneralNotes
If UCase(oNote.Text) = "PAINTED" Or UCase(oNote.Text) = ("FURNER") Then oNote.Delete
Next
oGenNotes.AddFitted(oTG.CreatePoint2d(30, 5), sText)