Rebridge¶
Rebridge¶
1entity = impact.gui.picker.get_entity("select the entity to match", True)
2
3if not entity.isNone():
4 options = impact.creator.rebridge_options()
5
6 options.rebridge_mode = ipRebridgeMode.rmEntity
7 options.match_entity = entity
8
9 # Select all visible entities in the active block
10 active_block.select_all()
11
12 active_block.rebridge(options)
13