Macro to edit views based on configuration size

Hello,

I am trying to export drawings of a few hundred configurations. Drawing is quite simple, but its size variation is from 10mm to 400mm. So it changes drasticaly and every drawing has to be of scale 1:1 (exported to dxf)

I have managed to complete part where it exports every configuration, however due to changing size it still requires multiple export and quite a bit of tweaking in between.

Is it possible to use API for these things:

1. Change size of axies so that they would go through all of the view instead of fixed.

2. Automaticaly move views so they wouldn't colide with each other.

SolidworksApi/macros