How to Automatically Unwrap UV2 for Lightmap/AO?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CEDoromal

I have quite a lot of models so I need to know if there’s a way to automatically unwrap the UV2 of all those models in a small amount of time. Like using a script, maybe?