Skip to content
/ PyRebar Public

PyRevit extension for Autodesk Revit - reinforcement modelling productivity toolkit.

License

Notifications You must be signed in to change notification settings

WT-MWO/PyRebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyRebar

PyRevit extension for Autodesk Revit ®️ reinforcement modelling. This is a toolkit of useful scripts increasing productivity during reinforcement detailing.

image

Currently tested with REVIT 2025.4

Any improvement ideas and features to add are welcome!

Features

Most of the functions have flexible selection - you can preselect rebars to execute command only on them, or script is executed on all rebars in view if nothing is selected.

Summary

View tab

  • Unobscure bars - Works for all reinforcement bars in current view.
  • Obscure bars - Works for all reinforcement bars in current view.

Selection tab

  • Same Number - Selects all rebars with the same number within the same partition. ⚠️ Requires preselection of rebar.
  • Select by Parameter - Selects all rebar objects with assigned parameter. You can type your own parameter name and value, or choose from preselected.
  • Select Rebar Type - Selects all rebars in view by chosen type.

Modify tab

  • Reverse hook - Reverse hook ⚠️ This function works only when 'Include hooks in Rebar Shape definition' is disabled in Reinforcement Settings.

Query tab

  • Audit rebars - Executes audit, that checks if there are any hidden rebars in current view, if there are any super short rebars (<10cm) and if Rebar Shape does not match 'Workshop Instructions' property. This is newest feature and yet not fully tested.
  • RebarCoG - Calculates the Centre of Gravity of selected rebar or rebars. The CoG can be visualized with small Sphere generic model. CoG is returned in mm, with respect to project base point. The total mass is returned in $kg$.
  • Rebar ratio - Calculates rebar mass/concrete volume ratio in $\frac{kg}{m^3}$. User is prompted to select a formwork, all reinforcement in selected element is taken into account. In case of multiple elements selected the masses and volumes are added to eachother.
  • Get mass - Calculates mass of the selected rebar element(s). The calculation is based on equation: $\frac{\pi d^2}{4} L_{bar }$ , where $d$ is diameter, $L_{bar}$ is total bar length calculated by Revit. Value is returned in $kg$.

I do not work in Revit that often anymore but will try to maintain this add-in for future versions.

About

PyRevit extension for Autodesk Revit - reinforcement modelling productivity toolkit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages