Model.add_modifier

Model.add_modifier(a, b, modifier_type=None, **kwargs)

Add a modifier between two elements.

Parameters:
edgetuple[int, int]

The edge of the interaction graph representing the interaction between the two elements. Order matters: interaction is applied from node V0 to node V1. The first element create and instance of the interaction.

modifier_typetype[compas_model.interactions.Modifier] | None

The type of modifier interaction. Modifiers are defined at the element level.

**kwargs

Additional keyword arguments to pass to the modifier.

Returns:
None