public static SheetParameters CreateA32Views(ComponentDefinition cdef, DrawingDocument drawDoc) { var parameters = new SheetParameters(cdef, drawDoc); parameters.SheetFormat = drawDoc.SheetFormats["А3"]; parameters.AddBaseView(point: CAddIn.App.TransientGeometry.CreatePoint2d(11.5, 22.5)); parameters.AddProjectedView(point: CAddIn.App.TransientGeometry.CreatePoint2d(11.5, 15.5)); return(parameters); }
public static SheetParameters CreateA43Views(ModelInfo cdef, DrawingDocument drawDoc) { var parameters = new SheetParameters(cdef, drawDoc); parameters.SheetFormat = drawDoc.SheetFormats["А4"]; parameters.AddBaseView(point: CAddIn.App.TransientGeometry.CreatePoint2d(8.5, 22.5)); parameters.AddProjectedView(point: CAddIn.App.TransientGeometry.CreatePoint2d(13.5, 22.5)); parameters.AddProjectedView(point: CAddIn.App.TransientGeometry.CreatePoint2d(8.5, 15.5)); return(parameters); }