Bulk Parameters Creator
Eliminate repetitive parameter creation in Revit families with a professional pyRevit tool that enables bulk configuration and batch creation of family parameters with full control over discipline, data type, and parameter grouping.
Project Overview
Bulk Parameters Creator is a pyRevit extension tool designed for BIM managers and content creators who need to add multiple parameters to Revit family documents efficiently. It eliminates the repetitive task of creating parameters one-by-one through Revit's native interface, which is especially time-consuming when standardizing families across large libraries.
The tool operates exclusively in Family Editor context and provides a WPF-based interface for configuring parameters before batch creation. With version-aware API support for Revit 2023 and 2024+, it ensures compatibility across different project environments while offering full control over parameter configuration.
Key Features
- Bulk Configuration: Add multiple parameters to a queue before batch creation
- Instance vs Type Toggle: Configure each parameter as Instance or Type via radio buttons
- Discipline Selection: Choose from Common, Structural, HVAC, Electrical, Piping, and Energy
- Data Type Support: Text, Integer, Number, Length, Area, Volume, Angle, Currency, Mass Density, URL, Material, Yes/No
- Parameter Groups: Assign to any of 24 built-in groups (Constraints, Construction, Data, Dimensions, Identity Data, Materials and Finishes, etc.)
- Duplicate Detection: Prevents adding duplicate parameters to the queue
- Enter Key Support: Press Enter in the name field to quickly add parameters
- Result Summary: Clear feedback showing created count and any failures
Technical Implementation
- pyRevit Framework: Built with pyRevit for rapid deployment and Revit integration
- WPF/XAML UI: Professional Windows Presentation Foundation interface via WPFWindow
- FamilyManager API: Uses FamilyManager.AddParameter() for actual parameter creation
- Transaction Management: Single transaction wraps batch creation for atomicity
- Version-Aware API: Detects Revit version and uses GroupTypeId/SpecTypeId for 2024+ or BuiltInParameterGroup/ParameterType for 2023-
- Error Reporting: Per-parameter error handling with detailed failure feedback
Specifications
Architecture
- Framework: pyRevit (IronPython)
- UI Framework: WPF/XAML (WPFWindow)
- API: Autodesk Revit API (FamilyManager)
- Language: Python 2.7 (IronPython)
- Context: Family Editor only
- Dependencies: pyRevit, System.Windows, Revit API
Parameter Configuration Options
- Disciplines: Common, Structural, HVAC, Electrical, Piping, Energy
- Data Types: Text, Integer, Number, Length, Area, Volume, Angle, Currency, Mass Density, URL, Material, Yes/No
- Parameter Groups: 24 groups including Constraints, Construction, Data, Dimensions, Electrical, Identity Data, Materials and Finishes, Mechanical, Plumbing, Structural, Text, Visibility, and more
- Parameter Type: Instance or Type
Use Cases
Family Library Standardization
Add consistent parameters across dozens of family files to meet project or company standards
Template Creation
Quickly build family templates with pre-configured parameter sets for different categories
Workflow Automation
Reduce manual parameter creation time when developing parametric families
Impact
Time Saved
Batch creation eliminates repetitive one-by-one parameter setup
Parameter Groups
Full control over parameter organization in the Properties palette
Version Support
Version-aware API ensures compatibility across Revit releases