-
Notifications
You must be signed in to change notification settings - Fork 86
Version History
Dan Rumery edited this page Oct 5, 2019
·
18 revisions
See also: Releases page
Updates:
- Adds CSV support (thanks to @RyanSchw)
- Data from any additional columns in the Revit file list can now be accessed from the python task script using
revit_script_util.GetAssociatedData()
. This function returns a list of strings representing the cell values that were adjacent to the Revit file path currently being processed. - The Revit file scan now has the option to ignore Revit backup files (thanks to @vinnividivicci)
- Support for Revit installations on D: drive (thanks to @vinnividivicci)
Fixes:
- Improved UI layout algorithm (thanks to @RyanSchw)
Updates:
- Changed the (internal) Revit session initialization time-out to 5 minutes (it was previously 10 minutes; an upper bound of 10 minutes waiting for the Revit session to initialize was a bit excessive!)
Fixes:
- If the Revit session terminates before ANY file processing has begun (e.g. if the initialization time-out kicks in, or if Revit crashes on startup), then DO NOT skip processing of files that would have been processed in that session. Process the files in a new Revit session. (Previously the files that would have been processed in a Revit session that terminated before initialization was completed would be skipped under this scenario.)
Updates:
- Add support for newer JSON Dynamo workspace file format (Dynamo 2+ scripts) (Issue #34)
- Add
--per_file_timeout
command-line option for setting the per-file processing time-out from the command-line. (Issue #33)
Fixes:
- Dynamo 2+ workspace files in JSON format no longer fail to execute. (Issue #32)
Updates:
- Support for Revit 2020 (Issue #31)
Updates:
- Ignores (does not log output) 'Load Link' dialog box (as this dialog box goes away on its own after a link is temporarily upgraded)
Fixes:
- Fixes command-line --audit option not working (Issue #29)
Updates:
- New Workset Configuration option for Central file processing (Issue #27):
- Close All Worksets
- Open All Worksets
- Open Last Viewed
- Audit option (Issue #28)
- Improved command-line --help (includes command-line examples for the above options)
Updates:
- A plain-text copy of the log file is now generated when RBP processing completes. The log output (seen in the GUI / console) makes a note of the plain-text log file's path when processing is completed. It will be saved to the same log folder as the original json-based log file. (Issue #18)
Fixes:
- Fixes a bug where BatchRvtUtil fails to load if PyRevit is installed. (Issue #26)
Updates:
- The Revit Batch Processor GUI now has the option to create a new Revit file list from scratch (so you will no longer need to construct this list by hand!) (Issue #17). You can point it to a folder path and it will scan that folder (and optionally any subfolders) for Revit project files or Revit family files, or both. Optionally it can also extract Revit file version information for the files found (this information will appear as extra columns in the resulting .txt-based Revit list file; these additional columns will be ignored by the Revit Batch Processor).
Updates:
- New command-line argument --help shows basic BatchRvt.exe command-line usage. This is also shown if no arguments are provided at the command-line.
- Non-settings-file mode for the BatchRvt.exe command-line. This allows for basic batch processing without a settings file, using new command-line arguments --file_list, --task_script and (optionally) --revit_version. Note that this mode operates in Detach mode when processing Central files.
Fixes:
- If the Dynamo task script has its HasRunWithoutCrash XML attribute set to False, then it is temporarily set to True so that Dynamo will still execute the script (fixes Issue #21)
Updates:
- Can now process Revit 2019 files (if Revit 2019 is installed, of course!)
- Improved Revit file version / build number detection. Can now detect very old (i.e. pre-2015) Revit files including those that come from discipline-specific versions (e.g. MEP, Structure, etc. ... these discipline-based versions were available up to Revit 2016). However, in order to process such files you would need to choose a specific version of Revit that RBP supports (Revit 2015-2019).
Updates:
- New BatchRevitDynamo.dll module provides functions that can execute batch processing tasks programmatically. By importing this module via Dynamo's Import Library mechanism, these functions can be used directly as nodes in Dynamo scripts!
- New BatchRevitDynamo.dll module functions / nodes:
RevitBatchProcessing.RunTask()
RevitBatchProcessing.RunSingleTask()
RevitBatchProcessing.RunTaskAdvanced()
RevitBatchProcessing.RunTaskFromSettingsFile()
RevitBatchProcessing.RunTaskOnListFile()
Fixes:
- Fix bug in handling the internal time-out waiting for the session script host to start.
- When running in single task mode, show an error if the specified Revit version is not installed or the addin is not installed for it.
- Handles error that can occur if attempting to create a new local file from an existing local file. Show a more helpful error message.
- Dialog box handler correctly handles dialog boxes with win32-style buttons. Explicitly handles 'Autodesk Customer Involvement Program' dialog box. Explicitly handles 'Opening Worksets' dialog rather than use the fall-back dialog handler.
- Tweaks to log output related to settings.
Updates:
- Simplified UI. Less-used features are hidden under a 'Show Advanced Settings' tick box. (Issue #13)
- New option to Discard Worksets when detaching from a central file. (Issue #15)
- When closing the UI mid-processing, given the option to terminate task processing (i.e. to kill the BatchRvt.exe process) (Issue #16)
- Add Revit session / file processing Time-out functionality to the UI (Issue #12)
Fixes:
- Fixes a (rare!) bug when accessing
EnvironmentVariables
property ofProcessStartInfo
. The script host will not initialize under this scenario. - Adds an internal time-out (set to 10 minutes) for terminating the Revit session due to the script host failing to initialize and begin task / file processing. Of course, this will very rarely happen!
- Fixes bug in Single Task processing mode (was broken due to a regression introduced with session progress tracking / recovery).
- Fixes handling of Revit file paths that are too long (now correctly filters them out).
Updates / Fixes:
- If the Revit session crashes mid-file processing, any remaining files that would have otherwise been processed in that same session are now processed in a new Revit session. Previously these files would be left unprocessed.
- Add optional task / file time-out setting. If the time-out is reached, the Revit session is forcibly terminated and a new Revit session started for the remaining files. (This is NOT currently configurable in the UI; only configurable in the exported / imported settings file; the property name is
"processingTimeOutInMinutes"
). - If the Revit Dynamo module cannot be loaded, logs a more meaningful error message for the user ('There must be EXACTLY ONE VERSION of Dynamo installed!').
- Before processing each Revit file in the Revit session, detects if the monitoring BatchRvt process has terminated and aborts the operation, showing an error message to the user.
- Add optional parameter
clearTransmitted
torevit_file_util.SaveAsNewCentral()
function that allows for clearing the transmitted flag when saving the new central file. Note that this is set to False by default (because it would cause an error if applied to non-transmitted Central files). - Improve error handling / filtering when processing the Revit file list.
Updates / Fixes:
- Fix bug in
revit_file_util.SaveAs()
function. Function did not actually save the file.
Updates / Fixes:
- Supports Excel file as Revit File List (if Excel is installed).
Updates / fixes:
Fixes issue #8 - Adds support for common alternative Revit installation paths for Revit 2015, 2016. (e.g. Revit Architecture 2016).
Updates / fixes:
- Fixes issue #7 - Some Revit dialog boxes are not handled in Revit 2018
- Fixes issue #5 - Can't see entire window contents (e.g. start button) when using Windows Display setting size > 100%
- Captures internal Revit error stream output and logs it to the console with the prefix [REVIT ERROR MESSAGE]. Useful for troubleshooting Revit crashes, etc.
Updates / fixes:
- Fix potential issue with broken relative paths in Dynamo script.
Updates / Fixes:
- Detect Revit process's output messages that didn't originate from RBP code. Prepend such messages with timestamp and message marker
[ REVIT MESSAGE ]
indicating that they're messages from the Revit process itself.
Updates / Fixes:
- Supports Dynamo scripts as task scripts!
Updates / Fixes:
- Initial stable release with installer.