Export Facetbodies as .stl - reduced quality

Hello everyone,

I've the necessity to export Facetbodies as .stl.
Normally I use

File>Export>stl...

that open a "Rapid Prototyping" GUI that allow me to choose some output quality parameters (triangle Tol, Adjancy Tol...) and the export process is very fast. Moreover output file are quite small...

How could use that command from journaling?

I've only found a different solution on https://community.plm.automation.siemens.com/t5/NX-Programming-Customiza... but that script simply export the facetbody as-is, not with a "reduced quality"

Many thanks
Gabriele