C# 클래스 BuildingCoder.CmdCropToRoom

상속: IExternalCommand
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples

공개 메소드들

메소드 설명
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

비공개 메소드들

메소드 설명
BumpRoomIndex ( int room_count ) : int

Increment and return the current room index. Every call to this method increments the current room index by one. If it exceeds the number of rooms in the model, loop back to zero.

IsElementOutsideCropBox ( Element e, View v ) : bool

Return true if element is outside of view crop box

SectionBox ( UIDocument uidoc ) : void

Set 3D view section box to selected element extents.

메소드 상세

Execute() 공개 메소드

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