mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-09 14:41:37 +00:00
41 lines
3.5 KiB
Plaintext
41 lines
3.5 KiB
Plaintext
{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
|
|
{\colortbl ;\red0\green0\blue255;}
|
|
{\info{\horzdoc}{\*\lchars ([\'7b}{\*\fchars !),.:\'3b?D]\'7d}}
|
|
\viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 ViewPrinter\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 2008.0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Medium\line\b Category:\b0 Data Exchange\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Print the printable views.\line\b Summary:\b0 \line This sample demonstrates how to print the printable view and sheets.\i\f1\par
|
|
\i0\f0\par
|
|
\b Classes:\f1\par
|
|
\pard\ltrpar\nowidctlpar\li420\b0\f0 Autodesk.Revit.DB.Document.PrintManager\f1\par
|
|
\f0 Autodesk.Revit.DB.VirtualPrinterType\f1\par
|
|
\f0 Autodesk.Revit.DB.PrintRange\par
|
|
Autodesk.Revit.DB.PrintSetup\par
|
|
Autodesk.Revit.DB.PrintSetting\par
|
|
Autodesk.Revit.DB.ViewSheetSetting\par
|
|
Autodesk.Revit.DB.ViewSheetSet\f1\par
|
|
\pard\ltrpar\nowidctlpar\f0\par
|
|
\b Project Files:\b0\i \cf1\i0\f1\par
|
|
\cf0\f0 Command.cs\f1\par
|
|
\pard\ltrpar\nowidctlpar\li420\f0 This is the main DLL source file; it contains the class Command which implements interface IExternalCommand.\f1\par
|
|
\pard\ltrpar\nowidctlpar\f0 PrintMgr.cs\par
|
|
\pard\ltrpar\nowidctlpar\li420 Exposes the print interfaces just like the Print Dialog (File->Print \'85) in UI.\f1\par
|
|
\pard\ltrpar\nowidctlpar\f0 PrintSTP.cs\par
|
|
\pard\ltrpar\nowidctlpar\li420 Change and save printer setup setting, exposes the print parameters just like the Print Setup Dialog (File->Print Setup\'85) in UI such as Printer name, paper, zoom, options, etc.\f1\par
|
|
\pard\ltrpar\nowidctlpar\f0 ViewSheets.cs\f1\par
|
|
\pard\ltrpar\nowidctlpar\li420\f0 Exposes the View/Sheet Set interfaces just like the View/Sheet Set Dialog (File->Print \'85; selected views/sheets->Select\'85) in UI.\f1\par
|
|
\pard\ltrpar\nowidctlpar\f0\par
|
|
\b Description:\b0 This sample demonstrates the following functionalities:\par
|
|
\pard\ltrpar\nowidctlpar\fi-420\li420\tx420 -\tab Print the printable views and sheets.\cf1\f1\par
|
|
\pard\ltrpar\nowidctlpar\fi-420\li420\cf0\f0 -\tab Change print setting.\cf1\f1\par
|
|
\pard\ltrpar\nowidctlpar\cf0\f0\par
|
|
\b Instructions:\cf1\b0 \f1\par
|
|
\cf0\f0 Assumption: Available printer(s) is installed.\f1\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360\tx360\f0 1.\tab Run this command.\par
|
|
\pard\ltrpar\nowidctlpar\fi-360\li360 2.\tab In the Print dialog box, select a printer for Name.\par
|
|
3.\tab If desired, select print to file. You can save the print job as either a PRN or a PLT file. \par
|
|
4.\tab Under Print range, specify if you are printing the Current window, a visible portion of the current window, or Selected views/sheets. If you are printing selected views/sheets, click Select, choose from the list of available views to print, and click OK.\par
|
|
5.\tab Under Options, specify the number of copies to print and whether to print a view or sheet set in reverse order. You can select Reverse print order for a multiple-page print job so that the last page is printed first. \par
|
|
6.\tab To print a complete copy of the project before the first page of the next copy is printed, select Collate. To print all copies of the first page and then print all copies of each subsequent page, clear Collate.\par
|
|
7.\tab Under Settings, click Setup to change print settings.\par
|
|
8.\tab When you are ready to print, click OK.\par
|
|
\pard\ltrpar\nowidctlpar\qj\kerning2\f1\fs21\par
|
|
}
|
|
|