@conf.commands.register
def bind_layers(lower, upper, __fval=None, **fval):
 if (__fval is not None):
  fval.update(__fval)
 bind_top_down(lower, upper, **fval)
 bind_bottom_up(lower, upper, **fval)

@ conf . commands . register def bind_layers ( lower , upper , __fval = None , ** fval ) : if ( __fval is not None ) : fval . update ( __fval ) bind_top_down ( lower , upper , ** fval ) bind_bottom_up ( lower , upper , ** fval )
bind 2 layers on some specific fields values .