RVTDocs.com

KeyBasedTreeEntryTable.Reload

Method
Description:
Reloads KeyBasedTreeEntries from their currently-stored location into this KeyBasedTreeEntryTable.
Remarks:
Revit will try to read KeyBasedTreeEntries from the resource reference stored within the KeyBasedTreeEntryTable. If the operation fails, the table will be unchanged.
Parameters
Parameter Type Description
loadResults KeyBasedTreeEntriesLoadResults <p>If provided, Revit will use this object to store any errors or warnings that were encountered. Note that if the KeyBasedTreeEntries in the model are already up to date, no errors or warnings will be added to this object.</p><p> This argument may be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LST355D284_1"></span></span>.</p>
Return Value
Type Description
ExternalResourceLoadStatus Returns the outcome of the reload operation.
Exceptions
Exception Condition
ModificationForbiddenException The document containing this KeyBasedTreeEntryTable is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document containing this KeyBasedTreeEntryTable is being loaded, or is in the midst of another sensitive process.
ModificationOutsideTransactionException The document containing this KeyBasedTreeEntryTable has no open transaction.