Method | Description | |
---|---|---|
DbUpdater ( UIApplication uiapp ) : System | ||
Execute ( UIApplication a ) : void |
Execute method invoked by Revit via the external event as a reaction to a call to its Raise method.
|
|
GetName ( ) : string |
Required IExternalEventHandler interface method returning a descriptive name.
|
|
SetLastSequence ( ) : int |
Determine and set the last sequence number after updating database.
|
|
ToggleSubscription ( UIApplication uiapp ) : void |
Toggle subscription to automatic database updates. Forward the call to the external application that creates the external event, store it and launch a separate thread checking for database updates. When changes are pending, invoke the external event Raise method.
|
|
UpdateBim ( ) : void |
Apply all current cloud database changes to the BIM.
|
Method | Description | |
---|---|---|
CheckForPendingDatabaseChanges ( ) : void |
Repeatedly check database status and raise external event when updates are pending. Relinquish control and wait for timeout period between each attempt. Run in a separate thread.
|
|
GetForegroundWindow ( ) : |
||
SetForegroundWindow ( |
||
UpdateBimFurniture ( RoomEditorApp.DbFurniture f ) : bool |
Update a piece of furniture. Return true if anything was changed.
|
public DbUpdater ( UIApplication uiapp ) : System | ||
uiapp | UIApplication | |
return | System |
public static ToggleSubscription ( UIApplication uiapp ) : void | ||
uiapp | UIApplication | |
return | void |