C# Class RevitLookup.Test.SDKSamples.CreateSheet.Views

Exibir arquivo Open project: jeremytammik/RevitLookup Class Usage Examples

Public Methods

Method Description
GenerateSheet ( System.Windows.Forms.Document doc ) : void

Generate sheet in active document.

SetSelectViewsFromNames ( ArrayList viewNames ) : void

Set the views to generate from a list of ViewNames.

SetTitleBlock ( string name ) : void

Retrieve the title block to be generate by its name.

Views ( System.Windows.Forms.Document doc ) : System

Constructor of views object.

Private Methods

Method Description
CalculateDistance ( BoundingBoxUV bBox, int amount, double &x, double &y ) : void

Calculate the appropriate distance between the views lay on the sheet.

GetOffset ( BoundingBoxUV bBox, double x, double y ) : UV

Retrieve the appropriate origin.

GetTitleBlocks ( System.Windows.Forms.Document doc ) : void

Retrieve all available title blocks in the currently active document.

PlaceViews ( ViewSet views, ViewSheet sheet ) : void

Place all selected views on this sheet's appropriate location.

Rescale ( Autodesk view, double x, double y ) : void

Rescale the view's Scale value for suitable.

Method Details

GenerateSheet() public method

Generate sheet in active document.
public GenerateSheet ( System.Windows.Forms.Document doc ) : void
doc System.Windows.Forms.Document the currently active document
return void

SetSelectViewsFromNames() public method

Set the views to generate from a list of ViewNames.
public SetSelectViewsFromNames ( ArrayList viewNames ) : void
viewNames System.Collections.ArrayList
return void

SetTitleBlock() public method

Retrieve the title block to be generate by its name.
public SetTitleBlock ( string name ) : void
name string The title block's name
return void

Views() public method

Constructor of views object.
public Views ( System.Windows.Forms.Document doc ) : System
doc System.Windows.Forms.Document the active document
return System