def METHOD_NAME(in_wrapper):
    print('on_post_process')
    # in_wrapper.on_post_processing_delegate.remove_callable(on_post_process)
    # Iterate over all PDG/TOP networks and nodes and log them
    print('TOP networks:')
    for network_path in in_wrapper.get_pdgtop_network_paths():
        print('\t{}'.format(network_path))
        for node_path in in_wrapper.get_pdgtop_node_paths(network_path):
            print('\t\t{}'.format(node_path))
    # Enable PDG auto-bake (auto bake TOP nodes after they are cooked)
    in_wrapper.set_pdg_auto_bake_enabled(True)
    # Bind to PDG post bake delegate (called after all baking is complete)
    in_wrapper.on_post_pdg_bake_delegate.add_callable(on_post_bake)
    # Cook the specified TOP node
    in_wrapper.pdg_cook_node('topnet1', 'HE_OUT_PIGHEAD_GRID')