Sure. Below is a link to a similar post I responded to in a similar way about 2 years ago which contains a very basic iLogic example.
https://forums.autodesk.com/t5/inventor-programming-ilogic/retrieve-3d-dimensions-placed-on-an-assem...
But I can post another example here too. This example will iterate through each sheet, and each view on each sheet, setting that view property to True on each one. I believe this setting is similar to the one you see on the 'Recovery Options' tab of the Drawing View editing dialog, where there is a checkbox named 'All Model Dimensions'.
Sub Main
Dim oDDoc As DrawingDocument = TryCast(ThisDoc.Document, Inventor.DrawingDocument)
If oDDoc Is Nothing Then Logger.Debug(iLogicVb.RuleName & " exited (wrong DocumentType)") : Return
Dim oSheets As Inventor.Sheets = oDDoc.Sheets
Dim oASheet As Inventor.Sheet = oDDoc.ActiveSheet 'record originally active sheet
For Each oSheet As Inventor.Sheet In oSheets
oSheet.Activate
Dim oViews As DrawingViews = oSheet.DrawingViews
If oViews.Count = 0 Then Continue For 'skip to next sheet
For Each oView As DrawingView In oViews
'<<< setting that Boolean type property to True here >>>
oView.Include3DAnnotations = True
Next 'oView
oSheet.Update
Next 'oSheet
'restore originally active sheet to active again
If oDDoc.ActiveSheet IsNot oASheet Then
oASheet.Activate
End If
End Sub
At the following link, I had also responded to another similar forum post about 3 1/2 years ago where I showed a code way to simulate the manual process of retrieving model annotations in a drawing, but I generally do not recommend using a command execution and SendKeys type routine anymore, due to the inherent dangers of using the SendKeys methods (the keystrokes could potentially get sent to the wrong place, which could have an unknown effect).
https://forums.autodesk.com/t5/inventor-programming-ilogic/retrieve-model-annotations-ilogic/m-p/975...
There are also other forum posts out there on this subject too, which may offer more insights, and different code examples.
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield

(Not an Autodesk Employee)