Message 1 of 3
Not applicable
01-04-2017
08:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a Rule that creates a drawing from a 3D model which includes, Base View, Side View, and Isometric View. It works very well except I would like to rescale the ISO view smaller to fit on the page better. haven't had much luck finding a solution on the forum. Here is what I have. Thanks, John
Dim oAssyDoc As AssemblyDocument Dim oDrawingDoc As DrawingDocument Dim oSheet As sheet Dim oBaseView As DrawingView DWGcreate = MsgBox ("Would You Like To Create A Drawing From This Part?" & vbLf & vbLf & "This Will Create a Base, Side, Section & ISO View", vbYesNo, "User Prompt") If DWGcreate = vbYes Then oAssyDoc = ThisDoc.Document oDrawingDoc = ThisApplication.Documents.Add(kDrawingDocumentObject, "C:\Users\Public\Documents\Autodesk\Inventor 2015\Templates\B Template.idw", True) oDrawingDoc.Activate() oSheet = oDrawingDoc.Sheets.Item(1) oPoint1 = ThisApplication.TransientGeometry.CreatePoint2d(8,12) oBaseView = oSheet.DrawingViews.AddBaseView(oAssyDoc, oPoint1, 1/14, kFrontViewOrientation, kHiddenLineRemovedDrawingViewStyle) Dim oRightView As DrawingView oPoint2 = ThisApplication.TransientGeometry.CreatePoint2d(18,12) Dim RightView = oSheet.DrawingViews.AddProjectedView(oBaseView,oPoint2,DrawingViewStyleEnum.kFromBaseDrawingViewStyle) Dim oIsoView As DrawingView oPoint3 = ThisApplication.TransientGeometry.CreatePoint2d(35,18) Dim IsoView = oSheet.DrawingViews.AddProjectedView(oBaseView,oPoint3, kShadedDrawingViewStyle)
Solved! Go to Solution.

