C# Class BuildingCoder.CmdExportImage

Inheritance: IExternalCommand
Datei anzeigen Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Method Description
ExportToImage ( Document doc ) : string
ExportToImage2 ( Document doc ) : System.Result

Wrapper for old sample code.

ExportToImage3 ( Document doc ) : System.Result

New code as described in Revit API discussion forum thread on how to export an image from a specific view using Revit API C#, http://forums.autodesk.com/t5/revit-api/how-to-export-an-image-from-a-specific-view-using-revit-api-c/m-p/6424418

SetWhiteRenderBackground ( View3D view ) : void

Method Details

Execute() public method

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result