Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I succeeded in expressing the angular dimension using the code below. But I can't move the location.
I want to show the angular dimensions inward in the picture below.
oAgIntent1,2,3 are work points.
'Dim AgLocation As Point2d = oTG5.CreatePoint2d(view3.Center.X, view3.Center.Y - 3)
and applied it, but it gives an error.
Dim view3 = Sheet_1.DrawingViews.ItemByName("BaseView3") Dim oDimStyle As Inventor.DimensionStyle = oStylesMgr.DimensionStyles.Item("일반") oAgIntent1 = view3.GetIntent("AG1-1") oAgIntent2 = view3.GetIntent("AG1-2") oAgIntent3 = view3.GetIntent("AG1-3") Dim oAgDimension = Sheet_1.DrawingDimensions.GeneralDimensions dimAngle = oAgDimension.AddAngular("angle", view3.Center , oAgIntent1, oAgIntent2, oAgIntent3, , , , oDimStyle)
Solved! Go to Solution.