C# 클래스 Revit.SDK.Samples.AllViews.CS.ViewsMgr

Generating a new sheet that has all the selected views placed in.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
ChooseTitleBlock ( string name ) : void

Retrieve the title block to be generate by its name.

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

Generate sheet in active document.

SelectViews ( ) : void

Retrieve the checked view from tree view.

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

Constructor of views object.

비공개 메소드들

메소드 설명
AssortViews ( string view, string type ) : void

Assort all views for tree view displaying.

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

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

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

Finds all the views in the active document.

GetOffSet ( BoundingBoxUV bBox, double x, double y ) : Autodesk.Revit.DB.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.

메소드 상세

ChooseTitleBlock() 공개 메소드

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

GenerateSheet() 공개 메소드

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

SelectViews() 공개 메소드

Retrieve the checked view from tree view.
public SelectViews ( ) : void
리턴 void

ViewsMgr() 공개 메소드

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