Hi.
try this code at VBA macro. But it cant run at iLogic rule.
Public Sub ModelPosition()
Dim oDWGdoc As DrawingDocument
Set oDWGdoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
Set oSheet = oDWGdoc.ActiveSheet
Dim CMDMan As CommandManager
Set CMDMan = ThisApplication.CommandManager
Dim oView As DrawingView
Set oView = CMDMan.Pick(kDrawingViewFilter, "Select View")
MsgBox oView.Position.X & vbLf & oView.Position.Y
End Sub
Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.
Autodesk Inventor Professional Certified 2014