Filter of registers to be exported by Script from model export

SOLVED

Hi,

Is it possible to create an specific script, in model export, in order to filter by code some registres to be exported?

I need it to check a value from a table that is not linked to the model's object

Thnkx