C# 클래스 RevitLookup.Test.SDKSamples.CreateSheet.Views

파일 보기 프로젝트 열기: jeremytammik/RevitLookup 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

GenerateSheet() 공개 메소드

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

SetSelectViewsFromNames() 공개 메소드

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

SetTitleBlock() 공개 메소드

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

Views() 공개 메소드

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