BIM Pars is a Revit extension developed using Python within the pyRevit environment, functioning as an app designed to simplify complex workflows by automating tasks. This tool is primarily focused on BIM and data processing within a Revit model, but can be beneficial for various other users, including planners and anyone who works with Revit. BIM Pars is an open-source application, offering users an enhanced, customizable experience.
Key Features
1. Automatic Report Generation
BIM Pars generates reports in the form of data grids, which include the necessary data and modifications based on the tools executed within the app.
2. Data Grid Modifications
Users can search, add, remove columns and rows, filter data, and apply color coding to better identify specific data points. The reports can be exported to formats such as HTML, XLSX, or CSV.
3. Output and Printing
Reports can be printed in the pyRevit output window, with an optional user-defined logo at the report header. The output can then be saved as PDF or HTML.
4. HTML Importing
BIM Pars can import and display any HTML file in the pyRevit output window, making it easy to view previous reports stored in HTML format.
5. Selection Management
Users can manage selections without altering the Revit model. Actions like filter, store, import, export, and load selections are available without changing the model itself.
6. Custom Scripts
BIM Pars supports custom Python scripts, enabling users to add, delete, and run scripts directly within the app. Custom documentation and resources such as video links and GitHub references can also be integrated.
7. Multi-language Support
BIM Pars supports sevenlanguages, allowing users to switch the app interface and report generation language as needed.
The Mode feature allows you to change the appearance and theme of the BIM Pars app.
Changing the Mode:
Open the Settings window of the app.
From the Mode dropdown, select your preferred mode.
Close the Settings window to apply the changes.
Note: As of BIM Pars V1.0, the Mode functionality is not available. The default mode is set to Mode.
Language
BIM Pars supports seven languages for its user interface and report generation. Changing the language of the app does not affect Revit's language settings.
Supported Languages:
English
Deutsch
Farsi
Russian
Spanish
Chinese
Korean
Changing the Language:
Open the Settings window.
From the Language dropdown, select the desired language.
Close the Settings window.
Restart the app for the language change to take effect.
Default Language:
Logo
One of BIM Pars’ unique features is the ability to customize the logo that appears in reports. By default, reports generated in BIM Pars will include the BIM Pars heading logo. However, users can replace this with their own logo.
Changing the Logo:
Open the Settings window.
Navigate to the Logo section and click .
Select the logo you want to use and click .
Close the Settings window to apply the change.
Resetting to Default:
If you wish to revert to the default settings, including the logo, click in the Settings window.
Default Settings
The default configuration for BIM Pars upon installation is as follows:
Mode:
Language:
Logo:
These default settings can be customized as needed through the Settings window
Interface
Tabs
BIM Pars V1.0 consists of two main tabs: ToolBox Tab and Report Tab.
ToolBox Tab: This tab provides access to all tools and actions within the app. It remains active until a tool that generates a report is executed.
Report Tab: This tab only appears when you activate a tool that generates a report. It is a
temporary tab, and while active, the ToolBox Tab is
deactivated. This design prevents the accidental initiation of another tool while a report is still being processed. To return to the ToolBox Tab, click the
Back Button, located on the top toolstrip of the Report Tab.
Important:
Once you close the Report Tab, it cannot be reopened.
The action associated with the report will remain active, so make sure to Export or Print the report before closing the tab if you need it later.
Toolstrips
BIM Pars features two key toolstrips:
Top Toolstrip (Tab-Specific):
Located below the tab ribbon, the top toolstrip is specific to each tab. It contains tools and actions relevant to the active tab, such as starting tools, managing reports, and executing functions.
Positioned at the right edge of the window, this toolstrip is accessible across all tabs. It contains several shortcut actions that apply universally to elements within the Revit model. The available actions include:
Pin/Remove Pin: Pin or remove pins on selected elements.
Information Bar
The Information Bar is located at the bottom edge of the main window and is always visible. It contains several key pieces of information:
BIM Pars and pyRevit logos: Clicking on these logos redirects you to their official websites.
Process Bar: Displays the progress of actions being performed in the app.
User Validity& Connection Status: Shows the status of the current user session.
Number of Selected Elements: Displays the count of elements in the current selection.
Settings Button: Opens the settings window to configure app preferences.
Toolbox
The ToolBox Tab contains two main groupboxes: Left Groupbox and Right Groupbox .
Left Groupbox: Displays a tree structure that organizes the different tool groups. Tools are displayed with their names written in color. Each group corresponds to a category of tools, and you can expand or collapse these groups using the associated toolstrip.
When you select a group, the tools for that group are displayed in the Right Groupbox.
The left groupbox toolstrip contains actions specific to managing the tree structure (e.g., expand/collapse, references, etc.).
Right Groupbox: Contains the tools for the selected group. Each tool in this group has its own action that will execute when clicked.
In addition, the Toolstrip at the bottom of the left groupbox contains buttons for documentation, YouTube videos, GitHub repositories, and reporting bugs related to the selected tool.
Script Node Tree Structure
The Script Node Tree Structure: is user-based, meaning it contains custom scripts that the user has added through the Script Manager. These scripts are organized into groups and sub-groups, allowing for easy navigation and execution. Each script in the tree can be configured with:
Documentation
YouTube Video Link
GitHub Repository Link
To configure script node, a JSON file must be used. If the JSON file is not created, all user-added scripts will be listed under the Script Node with inactive documentation, YouTube, and repository buttons. Report Bug is only active for BIM Pars tools.
Creating JSON for Scripts: See the Collection section for details.
Memory
The Memory Tool allows users to store selections of elements without affecting the Revit model. This feature is helpful when managing selections across different projects.
You can add multiple selections to memory, which will combine into one selection for the project. These selections are stored locally within BIM Pars and will remain in the app even if you close Revit.
Steps:
Select some elements.
Click the Save in Memory button in the Top Toolstrip of the ToolBox Tab.
A notification will appear showing the model path, model name, and user who saved the selection, confirming the memory save.
Load and Select Elements
When you load selections from memory, the current selection will be replaced with the memory selection. If you have elements already selected, they will be deselected when loading memory.
Steps:
Click the Load from Memorydropdown in the ToolBox Tab.
Select Load and Select Elements.
Decide if you want to empty the memory or keep the selection in memory.
Load and Reduce Selected Elements
This option removes elements in the current selection that are also in memory, retaining the rest of the elements in the current selection.
Steps:
Click the Load from Memory dropdown in the ToolBox Tab.
Select Load and Reduce Selected Elements.
Decide if you want to empty the memory or keep the selection in memory.
Save/Load
You can also save selections individually within the ToolBox Tab, similar to how memory functions but with the ability to assign custom names and notes.
Import selections stored in XML files, which contain element IDs and optional notes. Ensure that the imported XML file follows the correct BIM Pars structure, or the import will fail.
BIM Pars allows you to execute custom Python scripts and manage them through the Script Manager. Also you can assign relevant documentation, videos, and GitHub repositories via JSON files.
Enables users to set a directory for scripts and execute them directly from within
BIM Pars. Users can also add or remove scripts from the list.
Steps:
Click the
Script Manager button in the
Top
Toolstrip
.
Set or reset the directory in the Directory groupbox.
My Script groupbox allows you to create and manage a list of scripts by using
the
and
buttons. Execute your desired script from the list using the
button.
AI Assist groupbox redirects you to sources that can help you with scripting.
Run Directory
Executes all scripts from the specified directory. If more than one script is in the directory, you will be prompted to choose which script to run.
Steps:
Click the Run Directory button in the Top Toolstrip.
Select desired script in from the list in case more than one script in directory exist.
Collection
BIM Pars app uses exec() function for execution of scripts.
Steps:
Go to this location: bimpars.extension\BIM-Pars.tab\data\pylist.
Open the script_metadata.json file and configure the script node.
Note: These actions are only applicable if there are elements selected in the model. Buttons will be deactivated if no elements are selected.
Select/Deselect Elements
Select Elements: Selects elements in the model view based on the IDs provided in the report.
Steps:
Select desired IDs from the datagrid in the Report Tab.
Click the Select button in the Right Edge Toolstrip.
Deselect Elements: Deselects all currently selected elements.
Steps:
Click the Deselect button in the Right Edge Toolstrip.
Isolate/Revoke Isolation
Isolate Elements: Isolates the selected elements, hiding all others.
Steps:
Ensure that elements are selected.
Click the Isolate button in the Right Edge Toolstrip.
Revoke Isolation: Restores visibility to all elements.
Steps:
Click the Revoke Isolation button in the Right Edge Toolstrip.
Color/Revoke Color
Color Elements: Changes the appearance of selected elements by applying a color override.
Steps:
Ensure that elements are selected.
Click the Color Elements button in the Right Edge Toolstrip.
Revoke Color: Resets the color of selected elements to their default appearance.
Steps:
Ensure that elements are selected.
Click the Revoke Color button in the Right Edge Toolstrip.
Pin/Remove Pin
Pin Elements: Pins the selected elements by plcing a pointer DirectShape, pointing center point of each selected element.
Steps:
Ensure that elements are selected.
Click the Pin bitton in the Right Edge Toolstrip.
Remove Pin: Removes pins from the selected elements.
Steps:
Ensure that elements are selected.
Click the Remove Pin button in the Right Edge Toolstrip.
BIM Pars Tools
BIM Pars contains a variety of tools designed to perform a wide range of actions. These tools are categorized into different groups, and some of these groups have subgroups organized in a tree structure. The tree structure can be found on the left side of the Toolbox tab, which helps users organize and access the tools more efficiently. There are three main nodes in the tree structure: BIM Pars tools, Scripts, and Package. All tools developed by BIM Pars are listed under BIM Pars tools, while custom scripts developed or collected by users are found under the Scripts node.
Categorization of BIM Pars Tools
The BIM Pars tools are categorized based on three primary contexts:
Info – Tools related to gathering information from elements or models.
Element Self – Tools that interact with or analyze the element itself.
Element Parameter – Tools dealing with the parameters of elements.
Each of these contexts contains a set of specific tools, ensuring that users can easily find the right tool for their needs.
Tree Structure and Toolstrip
The tree structure comes with a toolstrip that contains six options:
Expand – Expands the tree structure.
Collapse – Collapses the tree structure.
Documentation – Redirects to the tool’s documentation.
YouTube Video Guide – Redirects to a relevant YouTube tutorial.
GitHub Repository – Redirects to the GitHub repository for the tool.
Report Bug – Allows users to report any issues with the tool.
To start a tool, users simply need to select a group from the tree structure, and the available tools for that group will appear in the right box of the ToolBox Tab. Clicking on a tool will activate it.
Information Tools
The Info group in the ToolBox Tab is for information tools designed to gather specific information about elements or the model, without making any changes or modifications. Here are the tools available under the Info group:
All Categories in Model: Displays Category ID, Category Name, and Element Count for every category in the entire model.
All Categories and Relevant Views: Displays View Name, Category Name, Category ID, and Element Count, including the views that contain those categories.
How to Use:
Click on the Information tool button.
Select the desired option in the opened window.
Click on the Print button.
The results will be displayed in the Report Tab in a data grid.
Active View
Purpose: Obtains information about the currently active view.
Select using Excel: Facilitates selection of elements through Excel integration.
All tools under the Selection group and its 4 subgroups perform no transactions or modifications; they only select elements based on their respective logic. Once elements are selected, modifications or transactions can be performed, but the tools themselves only select.
Filters
To select elements using filters, there are 3 available filters in BIM Pars app, each with its own logic. These filters can be used to select elements.
Purpose: This filter operates on a hierarchical logic aimed at maximizing the number of elements in the selection initially, followed by a reduction in each subsequent step. The process consists of a maximum of 10 steps based on hierarchical logic to filter elements, but you are not required to complete all 10 steps.
How to Use:
Ensure that no elements are selected.
Click on the Hierarchy tool button.
Click on the Filter button after selecting your options in each step.
Once finished, click OK, and the filtered elements will appear in the Report Tab with their Element ID, Name, and Category.
DUDUL
Purpose: Includes 12 methods of filtering, with 2 methods that may increase your selection and 10 that will reduce your selection.
Methods:
View Method: Can be used even if no element is selected. It will bring all elements from a specific view into the selection.
Level Method: Requires elements to be selected as referece. This method displays the levels of the elements in the selection and selects all elements of a selected level.
Category: Filters selection to a specific category.
Family: Filters selection to a specific family.
Type: Filters selection to a specific type.
Existence of Parameters: Filters selection to elements that have a specific parameter.
Parameter Value: Filters selection based on a specific parameter value.
String in Parameter Value: Filters selection based on a string value in any of the element parameters.
Number in Parameter Value: Filters selection based on a numeric value in any of the element parameters.
Ownership: Filters selection to elements owned by a specific user .
Modified by: Filters selection to elements last modified by a specific user .
Creator: Filters selection to elements created by a specific user .
Enter the required specifications for the selected method.
The filtered elements will be selected.
The Report Tab will display their ID, Name, and Category.
Type
Purpose: This filter is based on the characteristics and location of elements, including View, Level, Category, Family, and Type.
How to Use:
Click the Type tool button.
Choose if you want to filter elements in the Current View or any other view, and decide if you want to include Levels in your filtering process.
Afterward, specify criteria such as view name, level name, category name, family name, and type name in the opened window.
After applying the specifications, the filtered elements will be selected, and their Element ID, Name, View, Category, Family, Type, and Level will be displayed in the Report Tab.
Purpose: This tool selects elements using IDs from an Excel file.
How to Use:
Click on the IDs from Excel tool button from the ToolBox Tab.
In the opened window, choose the method for the Excel file format:
Method 1: IDs in different columns.
Method 2: IDs in one column.
Method 3: IDs in one row.
After selecting the method, click on the Import button to load the Excel file.
If the file imports correctly, the light will turn .
Specify the row, column, or both based on your method.
Click OK, and the tool will select elements corresponding to the valid IDs.
If any invalid IDs are found, an alert window will display their cell address. The Report Tab will show the ID, Name, and Category of only the valid elements, excluding the invalid ones.
The tools in this group are designed to reduce your current selection based on different criteria. In order to use these tools, you must have some elements already selected; otherwise, the tools will be deactivated. These tools only reduce the selection without making any modifications or transactions.
The tools in this group are designed to delete elements in the model using various methods. These tools perform the deletion transaction, and it's important to ensure no elements are selected before starting any of these tools. If elements are selected, you will be notified to deselect them first. Additionally, some elements may be dependent on others, which can prevent their deletion. In such cases, even though the tools will display results in the Report Tab, the deletion will not be executed .
The tools in this group are focused on parameters themselves, rather than the values they hold. These tools are divided into three subgroups: Search, Check, and Delete. The Search and Check tools provide insights into parameter data without modifying the model, while the Delete tools are designed to delete parameters and perform transactions in the model.
The tools in this subgroup focus on searching for and investigating parameter values without making changes to the model. These tools help you find and analyze parameter data based on specific filters and conditions.
Purpose: Filters elements and allows you to investigate the parameters and their values for the filtered elements.
How to Use:
Click the Search Value of Parameter by Filter tool button from the ToolBox Tab.
Specify a category from the list of categories.
Select a family from the list of families under the selected category. You can select All families, which includes all elements of the selected category. If you choose a specific family, you will be able to select a type.
After selecting the family/type, choose the parameters you want to investigate.
The data grid in the Report Tab will display the ID, Name, Parameter, and Value of the filtered elements.
Note: If a category or family does not have parameters, you will be notified.
Purpose: Similar to the previous tool but specifically for investigating parameters within a . Useful for nested family parameter investigation.
How to Use:
Click the Search Value of Parameter for Family Document tool button from the ToolBox Tab in a family document.
Select a category and family from the list.
Choose whether to investigate All families or a specific family.
If a specific family is selected, you can further specify a type.
Choose the parameters you want to investigate, and the ID, Name, Parameter, and Value will appear in the Report Tab.
Note: The parameter list includes labels to show if the parameter is Built-in, Type, or Used as Label. If no parameters are available for a selected family or category, you will be notified.
Purpose: Obtains the parameter dictionary of a , including detailed information about the parameter type, name, storage type, and value.
How to Use:
Ensure exactly one element is selected.
Click the Dictionary tool button from the ToolBox Tab.
The Report Tab will display the Type of parameter (Instance or Type), Parameter Name, Storage Type, whether the parameter has a value, and the value of each parameter.
Check Parameter Tools
The tools in this subgroup perform checks based on parameter values. These checks are designed to help you analyze and organize parameter data. The results of these tools will be displayed in a Check Result format.
The tools in this group are designed to completely delete a parameter from the model. These tools provide different methods to identify and delete parameters, ensuring that once deleted, the parameter is removed from all instances in the model.
Purpose: This tool allows you to delete a parameter entirely from the model using three different methods.
How to Use:
Click the Delete Parameter Completely from Model button in the ToolBox Tab.
In the opened window, choose the method you want to use to find the parameter. The three options are:
Option 1: Insert Parameter Name
Enter the name(s) of the parameter(s) you want to delete. You can input multiple parameter names separated by commas.
Option 2: Select Category
Choose a category that you know contains the target parameter(s). After selecting the category, choose the parameter(s) from the list of parameters for that category. You can select multiple parameters.
Option 3: Select Element
Choose exactly one element that you are sure contains the parameter(s). After selecting the element, you will be able to select the parameters you want to delete from that element's list of parameters.
Once the deletion is executed, you will receive a result with the parameter name and the deletion status in the Report Tab.
Notes:
Regardless of the method used, in the model.
This tool does not allow deletion of a parameter for a —it removes the parameter entirely from the model.
Deleting a parameter is , and it will be completely removed from the model, affecting all instances of that parameter.
Parameter Value
The tools in this group focus on modifying and managing the value of a parameter. The tools are divided into five subgroups: Search, Comparison Check, Setting Value, Edit Value, and Delete Value. While the tools in the Search and Comparison Check subgroups only display information and do not alter the model, the other subgroups actively perform transactions that modify the values of parameters.
Purpose: Compares two items (views or elements) based on their parameters to check if their values are identical.
How to Use:
Click the Pair Comparer tool button in the ToolBox Tab.
Choose whether to compare two views or two elements and click Compare button.
For views, select two views from the list.
For elements, select two elements.
The comparison will begin, and you will get the following results in the data grid of the Report Tab:
Type of parameter (instance, type, or unique)
Name of the parameter
Values of the first item
Values of the second item
Status of the check (passed or failed)
Note: If there are unique parameters (i.e., parameters that are not common to both items), they will be identified and displayed as Unique parameters.
Comparer of Multiple Elements
Purpose: Compares multiple elements based on the values of their parameters to check if they are exactly the same.
How to Use:
Select multiple elements to compare. The button will be disabled if no elements are selected.
Click the Comparer of Multiple Elements tool button in the ToolBox Tab.
The data grid in the Report Tab will show the following results for each parameter:
Name of the parameter
Value of the parameter for each element
Status of the check (passed or failed)
Set Parameter Value Tools
The tools in this group are designed to set values for parameters in the model. These tools allow you to assign or change parameter values for multiple selected elements, copy values between parameters, and import a list of values from an external file.
Purpose: This tool allows you to set the same value for a parameter across all selected elements.
How to Use:
Select the elements you want to modify. The button will be inactive if no elements are selected.
Click the Same Value for All Selected Elements tool button in the ToolBox Tab.
In the opened window, enter the parameter name in the first textbox.
Click the Eye button to validate the parameter and check its storage type.
Once validated, enter the new value in the second textbox. For Boolean parameters, you will see options for True or False instead of the value textbox.
For Text storage type, both numbers and strings can be set, even if the value consists only of numbers. It will be treated as a string.
For Number storage type, only integers are allowed as values (no characters). The value will be set as an integer.
Copy from One Parameter to Another Parameter
Purpose: This tool allows you to copy the value of one parameter and set it as the value for another parameter on the same element.
How to Use:
Select the elements you want to modify.
Click the Copy from One Parameter to Another Parameter button in the ToolBox Tab.
In the opened window, enter the name of the source parameter (the parameter you want to copy from) and the target parameter (the parameter you want to set the value to).
After entering the source parameter, the window will display information about the storage types allowed for copying values.
Boolean Type: Identified as integers. , , and . A gray Boolean parameter can only be copied to numeric type parameters.
String Type: Any string-based parameter can be copied, except for the gray Boolean values.
Numeric Type: Numeric values from both string and numeric types can be copied, except when the value is a string. Gray Boolean can be copied to numeric types only.
List Makers of Values from Excel
Purpose: This tool allows you to create a list of repetitive values in an Excel file and use that list to set the value for selected elements.
How to Use:
Ensure some elements are selected; the button will be inactive otherwise.
Click the List Makers of Values from Excel tool button in the ToolBox Tab.
In the window that opens, if you already have a list imported, the list name will appear next to 'File'. If no list is imported, click Import button to bring in your Excel list.
After importing, specify the row and column addresses for the list you want to use (this allows you to select different columns from the same file).
In the Value dropdown, select the target value, and in the Parameter textbox, enter the name of the parameter you want to set the value for.
Click OK.
The system will check if the selected value matches the storage type of the parameter. If it matches, click .
Note: The imported list stays in the memory of the tool until you import a new list or click the Refresh button, at which point the list will be cleared.
Purpose: This tool allows you to set values for parameters in bulk based on datasets in Excel, CSV, or text files, either by element or category.
How to Use:
Element ID List Method:
Ensure some elements are selected; the button will be inactive otherwise.
Click the Batch Parameter Set Using Dataset tool button in the ToolBox Tab.
In the main window, you will see three tabs: Element ID List, Category List, and Data Converter.
Select Element ID List:
Click Import button to load your dataset (Excel, CSV, or text file).
Ensure your dataset has at least three columns: Element ID, Parameter Name, and Value.
The last column, Storage Type, is automatically populated and cannot be edited.
After importing, the dataset will be displayed in the grid. If any row has an issue (shown in ), use Edit(Double Click on Cell) and Delete Row button to modify it.
Select the IDs in the data grid and click Select to select corresponding elements.
Use Filter to refine your dataset for easier investigation.
Once the dataset is ready, click OK to start the batch process.
The tool will process the dataset and display the results: successful sets in and failures in .
You can save the result using Save button, which will include the success/failure colors, as an Excel file.
Category List Method:
Ensure some elements are selected; the button will be inactive otherwise.
Click the Batch Parameter Set Using Dataset tool button in the ToolBox Tab.
In the main window, you will see three tabs: Element ID List, Category List, and Data Converter.
Select Category List:
Click Import button to load your dataset, which should have Category Name, Parameter Name, and Value.
The tool will automatically display the number of elements per category and their Storage Type.
After importing, the dataset will be displayed in the grid. If any row has an issue (shown in ), use Edit(Double Click on Cell) and Delete Row button to modify it.
Use Filter to refine your dataset for easier investigation.
Once the dataset is ready, click OK to start the batch process.
The tool will process the dataset and display the results: successful sets in and failures in .
You can save the result using Save button, which will include the success/failure colors, as an Excel file.
Data Converter:
To avoid issues with Excel or CSV files, use the Data Converter section.
Choose one of the following options based on your file type:
Convert Excel to Text for Element ID List
Convert Excel to Text for Category List
Convert CSV to Text for Element ID List
Convert CSV to Text for Category List
Select your target file and enter the name for the new text file.
After clicking OK, the tool will generate the text file in the same location as your target file.
The tool will notify you of the success or failure of the conversion.
Final Results:
After processing, the results, including ID, Name, Category, Parameter, Storage Type, Previous Value, and New Value, will be available in the Report Tab.
Notes:
If you need to import a new list, clicking the Refresht button will clear the previously imported data.
The Storage Type column is automatically filled by the tool based on the dataset but cannot be edited.
If any row is marked in , it indicates an issue that needs to be resolved before proceeding.
Purpose: This tool generates unique IDs using different methods and then sets these generated IDs as values for a specific parameter of selected elements.
How to Use:
Ensure Selection:
Ensure that some elements are selected; the tool will be inactive if no elements are selected.
Click the ID Generator tool button in the ToolBox Tab.
Main Options for Generating Unique IDs: The tool provides 10 different methods to generate a unique ID. Each option will use a different logic for ID generation and setting values.
Option 1:
Logic: This method counts the elements in the selection and sets the count number as the unique ID for a specific parameter. The counting can start from 0 or 1.
Steps:
Select this option and click the Submit button.
Choose whether to start the count from 0 or 1.
Enter the target parameter name.
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 2:
Logic: This method counts the elements in the selection, starts from 0 or 1, and adds this count before the actual element ID, optionally with a separator.
Steps:
Select this option and click the Submit button.
Choose whether to start the count from 0 or 1.
Decide whether to include a separator. If yes, enter your desired separator.
Enter the target parameter name.
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 3:
Logic: Similar to Option 2 but places the count after the actual element ID.
Steps:
Select this option and click the Submit button.
Choose whether to start the count from 0 or 1.
Decide whether to include a separator. If yes, enter your desired separator.
Enter the target parameter name.
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 4:
Logic: This method uses the unique integer ID of each element and performs a mathematical operation on the ID to generate a new unique ID.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
Enter the desired math operation (e.g., +n, -n, *n, /n).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 5:
Logic: This option creates a random integer as a unique ID for the selected element. The random integer can have 3 to 16 digits, depending on your choice.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
From the dropdown, select the number of digits you want for the random integer (3 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 6:
Logic: This option creates a random string as a unique ID. The random string can have 2 to 16 characters, depending on your choice.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
From the dropdown, select the number of characters for the random string (2 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Note: The random string can include numbers or be entirely numeric in some cases.
Option 7:
Logic: This option generates a random integer, adds it after the actual element ID, and optionally includes a separator.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
Decide if you want to include a separator. If yes, enter your desired separator.
From the dropdown, select the number of digits for the random integer (3 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 8:
Logic: This option generates a random integer, adds it before the actual element ID, and optionally includes a separator.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
Decide if you want to include a separator. If yes, enter your desired separator.
From the dropdown, select the number of digits for the random integer (3 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Option 9:
Logic: This option generates a random string, adds it after the actual element ID, and optionally includes a separator.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
Decide if you want to include a separator. If yes, enter your desired separator.
From the dropdown, select the number of characters for the random string (2 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Note: The random string can include numbers or be entirely numeric in some cases.
Option 10:
Logic: This option generates a random string, adds it before the actual element ID, and optionally includes a separator.
Steps:
Select this option and click the Submit button.
Enter the target parameter name.
Decide if you want to include a separator. If yes, enter your desired separator.
From the dropdown, select the number of characters for the random string (2 to 16).
Click OK to start the process.
After the operation, you'll be notified of the success or failure. The data grid in the Report Tab will display the following details:
ID
Name
Category
Target parameter
Storage type of the target parameter
Method of generating ID
Previous value
New value
Example:
Note: The random string can include numbers or be entirely numeric in some cases.
Final Steps:
After selecting the desired ID generation method, click Submit.
The process will run, and the results (ID, Name, Category, Target Parameter, etc.) will be displayed in the Report Tab.
You can review the results, which include the Method of Generating ID, Previous Value, and New Value.
Notes:
Ensure that you have selected some elements before using this tool.
The Report Tab will display the results after each operation, including the unique ID generated.
Edit Parameter Value Tools
The tools in this group are designed for editing the values of parameters. In order to use the tools in this group, you need to have some elements selected; otherwise, the buttons for the tools will be inactive.
This tool allows you to edit the value of parameters. You will have 4 options to edit the value of a specific parameter for the selected elements.
Option 1: Replacing Characters in Value
This option allows you to replace any character in the value with another character except comma. If you wish to replace a character other than a comma, use the Parameter Value Editor for Special Characters tool.
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name in the first text box.
Enter the character to replace and the character you want to replace it with in the format , where:
is the character to be replaced.
is the separator used by the tool.
is the character to replace .
and can contain more than one character (i.e., a word).
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Storage Type of Target Parameter, Previous Value, and New Value.
Note: This option is only for parameters with a storage type.
Option 2: Add Prefix to Parameter Value
This option allows you to add a prefix to the value of a specific parameter for all selected elements.
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name in the first text box and the desired prefix in the second text box.
If you wish to include a separator with the prefix, simply enter the separator along with the prefix.
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Storage Type of Target Parameter, Previous Value, and New Value.
Note: This option is only for parameters with a storage type.
Option 3: Add Suffix to Parameter Value
This option allows you to add a suffix to the value of a specific parameter for all selected elements.
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name in the first text box and the desired suffix in the second text box.
If you wish to include a separator with the suffix, simply enter the separator along with the suffix.
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Storage Type of Target Parameter, Previous Value, and New Value.
Note: This option is only for parameters with a storage type.
Option 4: Perform Math Operation on Numeric Parameter
This option allows you to perform a math operation on the value of numeric parameters.
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name in the first text box and the desired math operation in the second text box (e.g., +, -, *, /).
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Applied Math Operation, Previous Value, and New Value.
Note: This option is only for parameters with a storage type.
How to Use:
Ensure that you have elements selected.
From the ToolBox Tab, click on the Parameter Value Editor tool button.
In the opened window, select the method and click on the Submit button.
Follow the steps of each method until you get the final result in the data grid of the Report Tab.
Parameter Value Editor for Special Characters
This tool is designed to replace predefined characters with new characters in the value of a specific parameter for all selected elements. You have two options in this tool:
Option 1: Replace Comma
This option replaces commas in the values of parameters with your desired character.
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name in the first text box.
Enter the character you want to replace the commas with in the second text box.
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Previous Value, and New Value.
Option 2: Replace Umlaut Characters
This option automatically replaces German umlaut characters in the value of parameters with standard alphabet letters:
' is replaced with
is replaced with
is replaced with
is replaced with
' is replaced with
is replaced with
is replaced with
Steps:
Select the option from the main window of the tool and click on the Submit button.
In the opened window, enter the target parameter name.
Click OK to start the process.
After completion, you will be notified of the success or failure. The result will be displayed in the Report Tab data grid, showing the following columns: ID, Name, Target Parameter, Previous Value, and New Value.
How to Use:
Ensure that you have elements selected.
From the ToolBox Tab, click on the Parameter Value Editor for Special Characters tool button.
In the opened window, select the method and click on the Submit button.
Follow the steps of each method until you get the final result in the data grid of the Report Tab.
Delete Parameter Value Tools
The tools in this group either delete the value of a parameter or remove characters inside the value of parameters. All these tools require a selection, so ensure you have elements selected before using these tools.
This tool deletes the value of a specific parameter for all selected elements.
Steps:
Ensure that you have elements selected.
From the ToolBox Tab, click on the Value of Parameter for Selected Elements tool button.
In the opened window, enter the target parameter name.
Click OK to start the process.
After completion, you will see the following in the Report Tab data grid:
Element ID
Name
Parameter Name
Previous Value
New Value
Desired Character in Value of Parameter for Selected Elements
This tool deletes specific characters from the value of a parameter for all selected elements.
Steps:
Ensure that you have elements selected.
From the ToolBox Tab, click on the Desired Character in Value of Parameter for Selected Elements tool button.
In the opened window, enter the target parameter name in the first text box and the character to be removed in the second text box.
Click OK to start the process.
After completion, you will be notified of the success or failure.
The result will be displayed in the Report Tab data grid with the following columns:
Element ID
Name
Target Parameter
Erased Character
Previous Value
New Value
Note: This tool is only for parameters with a storage type.
Report
The Report Tab contains a data grid that displays the results of any action or tool used. This tab is temporary and is opened each time a user utilizes a tool. The data grid in the Report Tab presents the information related to the executed action.
Tool Strip: The data grid has a tool strip that offers various tools for processing the report and the data displayed in the grid. These tools allow you to filter, search, and manipulate the data for easier analysis.
ToolBox Tab: :While the Report tab is open, the Toolbox tab is deactivated, and none of its tools can be used.
Back Button
The top tool strip contains a Back Button that closes the Report Tab. It's important to note that once the Report Tab is closed, it cannot be restored. Therefore, if you need the report later, ensure you export or print it before closing the tab. Also, closing the Report Tab has no effect on the action that was performed; the report simply reflects the outcome of that action.
Data
The Report Tab displays data based on the results of the tool or action performed. The information is automatically organized in a data grid for easier recognition and processing.
Additional Information: Along with the core data of the action, additional information such as the element's name and other relevant characteristics will be automatically included in the report. This may vary depending on the specific tool or action.
Non-Editable Data: The data generated by the tool is not editable, but you can add new columns and rows to the data grid. Any columns or rows added by the user are fully editable, allowing you to assign values to their cells as needed.
Tools for Data Processing
To help you manage and process the data in the Report Tab more efficiently, the tool strip includes several options:
Filtering :You can filter the data in the grid to focus on specific elements or values.
Searching :You can search the data grid for particular values or characteristics.
Color Assignment :You can assign colors to cells based on specific criteria or simply paint cells in your desired color. This feature is useful for visually highlighting important data or for organizing the report logically.
These tools help ensure that the report is structured and presented in a way that suits your needs.
Filter
To filter data in the data grid, click on the Filter button from the data grid's toolstrip in the Report Tab. In the opened window:
Specify the column you want to filter from the Groups dropdown of the opened window.
Select the row values that you want to filter.
Click the button.
The filter will then be applied to the data grid. It's important to note that the data not matching your filter will be hidden, but not deleted. If you print or export the data, the hidden data will still be included. To remove the hidden data from the report, use the Delete Hidden Cells option from the Delete dropdown in the data grid's toolstrip in the Report Tab.
.
If you want to restore the hidden data, go back to the Filter window and click for any column that has been filtered. This action will only work if you haven’t deleted the hidden data.
Search
To search for a specific value in the data grid, click the Search button from the data grid’s toolstrip in the Report Tab. In the opened window:
Enter the value you want to search for in the textbox.
Click OK.
Once the search is complete, you will be notified of how many cells were found, and the matching cells will be selected in the data grid.
Edit
There are five options to edit the data grid:
Add a Column:
To add a column to the right of a cell, select a cell or column as the reference, then click Add Column to Right from the Edit dropdown in the data grid’s toolstrip.
To add a column to the left, click Add Column to Left.
The new column will have a default heading of "New Column". You can double-click the heading to rename it. All cells in the added column are editable, and you can assign any value to them. You can add as many columns as you need.
Add a Row:
To add a row to the top or bottom, select a reference cell, then click Add Row to Top or Add Row to Bottom from the Edit dropdown.
The new row will be added based on your selection. All cells in the added row are editable, and you can assign any value. You can add as many rows as needed.
Assign Value to Editable Cells:
To assign a value to editable cells, select the cells (you can select multiple cells across different columns).
Click Assign Value from the Edit dropdown in the data grid’s toolstrip.
In the opened window, enter your desired value in the textbox and click OK. The value will be assigned to all selected cells.
Note that you cannot use the Assign Value option for editable cells in non-editable columns. In such cases, you must manually assign the value to each cell.
Delete
Deletion in the data grid applies to both editable and non-editable rows and cells. There are three options for deletion:
Delete Rows:
To delete a row, select the entire row (either manually or by selecting a cell in the first empty column of the row).
From the Delete dropdown in the data grid's toolstrip in the Report Tab in the data grid’s toolstrip, click Delete Selected Rows.
You will be notified that this action cannot be undone. If you confirm, the selected rows will be deleted.
Delete Columns:
To delete one or more columns, select at least one cell in the column(s) to be deleted.
From the Delete dropdown in the data grid's toolstrip in the Report Tab, click Delete Selected Columns.
You will be notified that this action cannot be undone. If you confirm, the selected columns will be deleted. Note that selecting a cell is sufficient; you don't need to select the entire column.
Delete Hidden Cells:
This option is used for filtered elements. Since the only tool that hides data in the data grid is the filter, hidden data will appear in prints or exports.
If you want to keep only the filtered data (i.e., visible data in the grid), use the Delete Hidden Cells option.
From the Delete dropdown in the data grid's toolstrip in the Report Tab, click Delete Hidden Cells and confirm. The hidden cells will be deleted, and only visible data will be exported or printed.
Color
When analyzing data in a data grid, especially with large datasets, visually highlighting cells with specific characteristics can be helpful. BIM Pars app provides four color assignment options for data grid cells:
Assign the Same Color to Cells with Same Value in One Column:
Select a cell in the column as the reference, then click Same Values Color from the Color dropdown in the data grid’s toolstrip.
All cells with the same value in that column will be assigned the same random color.
Assign the Same Color to Cells with Same Value in the Entire Data Grid:
Click Same Values Color (Full Sheet) from the Color dropdown.
This option does not require selecting a reference cell. All cells with the same value in the entire data grid will receive the same random color.
Assign Colors Based on Numeric Gradient:
Select a cell in a numeric column as the reference. Then click Numeric Gradient from the Color dropdown.
Cells will be colored using a blue gradient, where cells with smaller values are lighter and cells with larger values are darker. This option is only available for numeric columns, and all cells in the column must have values (empty cells should be removed).
Manually Assign a Color to Selected Cells:
Select the cells you want to color, then click Paint Selected Cells from the Color dropdown.
In the opened window, choose your desired color and click button. The selected color will be applied to all selected cells.
Note: Colors assigned in the data grid can be exported as HTML or XLSX files. However, when exporting to CSV or printing, only the data (not the colors) will be included.
Clean
This option resets all colors in the data grid. It will restore the default color (white) for all cells. To clear all colors:
Click Clean in the data grid’s toolstrip.
The color of all cells in the data grid will be reset to the .
To print the data grid, click Print from the top toolstrip in the Report Tab, and then select pyRevit.
The data grid will be displayed in the output window, along with the date and time the report was generated and the user who generated it. The report will be displayed in a table format, and if there are any element IDs, they will be automatically.
The table will include a title representing the action that generated the report. The output window can be expanded, opened in a browser, printed or saved as PDF, saved as HTML, or , copied to the clipboard.
Note: If the data grid contains colors, these will not appear in the pyRevit output window print.
BIM Pars Print
Not available in BIM Pars V1.0
Export
There are three options for exporting the data in the data grid: HTML, XLSX, and CSV.
HTML
Steps:
Click Export from the top toolstrip and select HTML.
Choose the location and file name, then click . If your data grid has colors, these will be exported along with the data.
XLSX
Steps:
Click Export from the top toolstrip and select XLSX.
Choose the location and file name, then click . Colors in the data grid will also be included in the exported file.
CSV
Steps:
Click Export from the top toolstrip and select CSV.
Choose the location and file name, then click . Note that colors will not be included in the export, only the raw data.