메소드 | 설명 | |
---|---|---|
MyMessageBox ( String strMsg, MessageBoxIcon icon ) : void |
My custom message box
|
|
RoomScheduleForm ( ExternalCommandData commandData ) : System |
Class constructor
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
메소드 | 설명 | |
---|---|---|
CreateMyRoomSharedParameter ( ) : bool |
Create shared parameter for Rooms category
|
|
GetAllLevelsAndPhases ( ) : void |
Get all available levels and phases from current document
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
RoomCreationPreparation ( Phase &curPhase ) : bool |
Some preparation and check before creating room.
|
|
RoomCreationStart ( ) : int |
Some preparation and check before creating room.
|
|
ShareParameterExists ( String paramName ) : bool |
Test if the Room binds a specified shared parameter
|
|
UpdateFormDisplay ( bool bUpdateAllRooms ) : void |
Update control display of form call this method when create new rooms or switch the room show(show all or show by level)
|
|
UpdateNewRoom ( Room newRoom, int row ) : void |
Update new room with values in spreadsheet, currently there are three columns need to be set.
|
|
UpdateRoomMapSheetInfo ( ) : void |
Display current Room sheet information: Excel path
|
|
clearIDButton_Click ( object sender, |
Clear all values of shared parameters Allow user to create more unplaced rooms and update map relationships between Revit and spreadsheet rooms.
|
|
closeButton_Click ( object sender, |
Close the form.
|
|
importRoomButton_Click ( object sender, |
Import room spread sheet and display them in form
|
|
levelComboBox_SelectedIndexChanged ( object sender, |
Filter rooms by specified level.
|
|
newRoomButton_Click ( object sender, |
Create new rooms according to spreadsheet based rooms data and specified phase.
|
|
showAllRoomsCheckBox_CheckedChanged ( object sender, |
Show all rooms in current document
|
|
tablesComboBox_SelectedIndexChanged ( object sender, |
Select one table(work sheet) and display its data to DataGridView control. after selection, generate data table from data source
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |
public static MyMessageBox ( String strMsg, MessageBoxIcon icon ) : void | ||
strMsg | String | message to be popped up |
icon | MessageBoxIcon | icon to be displayed |
리턴 | void |
public RoomScheduleForm ( ExternalCommandData commandData ) : System | ||
commandData | ExternalCommandData | Revit external command data |
리턴 | System |