Revit API Auto Join Geometry

How to use Auto Join Geometry tool.

Join/Unjoin elements between categories.
1/ Select button JoinCategory to trigger the application.
2/ Add/delete rules by right click and select add/delete rule
3/ At tab "Get priority elements from":
- Select current view if you want to apply join/unjoin geometry for current view
- Select current selection if you want to apply join/unjoin geometry for current selection
4/ At tab "Join/Unjoin options":
- Select Auto join if you want to join geometry
- Select Auto unjoin if you want to unjoin geometry
5/ Click OK
6/ If you want to save/reload setting rules click button save/reload setting rules

Join/Unjoin elements between element groups:
1/ Select button JoinElementSet to trigger the application.
2/ Select element set 1:
- You have options to select new elements or append into existed set by select radio New or Append
- Click button Select Element Set 1
- Go to Revit view then select elements, after that click finish.
3/ Select element set 2:
- You have options to select new elements or append into existed set by select radio New or Append
- Click button Select Element Set 2
- Go to Revit view then select elements, after that click finish.
4/ At tab "Priority set":
- Select set 1 if you want elements in set 2 will be cut by elements in set 1
- Select set 2 if you want elements in set 1 will be cut by elements in set 2
5/ At tab "Join/Unjoin options":
- Select Auto join if you want to join geometry
- Select Auto unjoin if you want to unjoin geometry
6/ Click OK

The below video will demo step by step:



Thanks for watching!