Yes, it is possible. I tried VBA macro for drawing dimensions in one view. Here yoy have few steps for drawing dimensions by macro. For iLogic you must make some changes.
First you must find lines wit poit for dimensions
Dim oView As DrawingView
Dim oCurve As DrawingCurve
For Each oCurve In oView.DrawingCurves ' - finding lines in your view
'here you chose some lines for dimension
Next
Then transform line points to points for dimension
Dim oPoint As GeometryIntent
Set oPoint = oDocument.ActiveSheet.CreateGeometryIntent(oCurve, kStartPointIntent) ' - make points for dimesion, you must have two point
One poit for dimension text
Dim oPointForText As Point2d
Finaly draw the dimension
Call oSheet.DrawingDimensions.GeneralDimensions.AddLinear( oPointForText, BodPrvni, BodDruhy, kHorizontalDimensionType)
___________________________________________________________
Dell Precision T3620
Inventor 2019, Autocad Mechanical 2019, Vaul Basic 2019