Change scale of cube as big as viewport

Hello guys,
been experimenting stuff, i got viewport size with “Get Viewport Size” - but it shows pixelsize… ex: 1280x720

how can i convert it and change a cube to that size (viewport )

:set world transform x1 y1 z1