def METHOD_NAME(in_wrapper):
    print('on_post_instantiation')
    # in_wrapper.on_post_instantiation_state_exited_delegate_delegate.remove_callable(on_post_instantiation)
    # Set parameter values for the next cook
    # in_wrapper.set_bool_parameter_value('add_instances', True)
    # in_wrapper.set_int_parameter_value('num_instances', 8)
    in_wrapper.set_parameter_tuples({
        'add_instances': unreal.HoudiniParameterTuple(bool_values=(True, )),
        'num_instances': unreal.HoudiniParameterTuple(int32_values=(8, )),
    })
    # Print all parameter values
    param_tuples = in_wrapper.get_parameter_tuples()
    print('parameter tuples: {}'.format(len(param_tuples) if param_tuples else 0))
    if param_tuples:
        for param_tuple_name, param_tuple in param_tuples.items():
            print('parameter tuple name: {}'.format(param_tuple_name))
            print('\tbool_values: {}'.format(param_tuple.bool_values))
            print('\tfloat_values: {}'.format(param_tuple.float_values))
            print('\tint32_values: {}'.format(param_tuple.int32_values))
            print('\tstring_values: {}'.format(param_tuple.string_values))
    # Force a cook/recook
    in_wrapper.recook()