Open ChrisClems opened 2 months ago
drawingViews.AddSheetMetalView(modelLink, ViewOrientationConstants.igTopView, scale, 0.2159, 0.15, SheetMetalDrawingViewTypeConstants.seSheetMetalFlatView);
Somehow provide desired min/max coordinate range of area within sheet coordinate system where drawing should reside.
Scale DrawingView by adjusting scale based on comparison of coordinate range and DrawingView.Range()
Center DrawingView in center of coordinate range by moving DrawingView.SetOrigin to drawingViewOriginX += sheetXMid - drawingViewXMid;
drawingViewOriginX += sheetXMid - drawingViewXMid;
Extension methods on views? Different Add*View methods exist Helper method? Lots of logistics to consider.
Somehow provide desired min/max coordinate range of area within sheet coordinate system where drawing should reside.
Scale DrawingView by adjusting scale based on comparison of coordinate range and DrawingView.Range()
Center DrawingView in center of coordinate range by moving DrawingView.SetOrigin to
drawingViewOriginX += sheetXMid - drawingViewXMid;
Extension methods on views? Different Add*View methods exist Helper method? Lots of logistics to consider.