Message 1 of 4
iLogic AddRadius dimension bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm curious if this is a bug, or if there is something I'm overlooking that would explain why I am seeing this error. See attached 2025 files.
If I run this version of the rule ( In Inventor 2025) I get the error shown :
Dim oSheet = ThisDrawing.Sheets.ItemByName("Sheet:1")
Dim oView = oSheet.DrawingViews.ItemByName("VIEW1")
Dim oDims = oSheet.DrawingDimensions.GeneralDimensions
oFace1 = oView.GetIntent("HoleEdge")
oPoint = oView.SheetPoint(-0.1, -0.1)
oDim = oDims.AddRadius("Radius99", oPoint, oFace1)
If I remove Dim from the beginning of line 3 as shown in this version, it runs without error:
Dim oSheet = ThisDrawing.Sheets.ItemByName("Sheet:1")
Dim oView = oSheet.DrawingViews.ItemByName("VIEW1")
oDims = oSheet.DrawingDimensions.GeneralDimensions
oFace1 = oView.GetIntent("HoleEdge")
oPoint = oView.SheetPoint(-0.1, -0.1)
oDim = oDims.AddRadius("Radius99", oPoint, oFace1)
Anyone have any ideas about this? @MjDeck