예제 #1
0
        public static SheetParameters CreateA43Views(ComponentDefinition 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);
        }
예제 #2
0
        public static SheetParameters CreateA33Views(ModelInfo cdef, DrawingDocument drawDoc)
        {
            var parameters = new SheetParameters(cdef, drawDoc);

            parameters.SheetFormat = drawDoc.SheetFormats["А3"];
            parameters.AddBaseView(point: CAddIn.App.TransientGeometry.CreatePoint2d(8.5, 22.5));
            parameters.AddProjectedView(point: CAddIn.App.TransientGeometry.CreatePoint2d(18.5, 22.5));
            parameters.AddProjectedView(point: CAddIn.App.TransientGeometry.CreatePoint2d(8.5, 15.5));
            return(parameters);
        }