I have a problem when changing the Background. The layout does not change and remains on the settings of the 1st basemap.
To "correct" this "default" I created a small macro that changes the basemap and then the layout according to the basemap. My problem is that depending on the size of the background plan we change printers which puts my macro at default.
How do I include a printer change in a macro???
Or how to include this layout change when manually changing the baseline???
If I understood correctly, you print a4 on an "A" printer, and a3 on a "B" printer?
Why not set the a3 basemap directly to print on the "B" printer and the a4 on the "A"?
Then when you launch your macro, (I did the same one, it's really practical), since your basemaps have their own printing parameters, everything works.
That's exactly what I wanted to do but I must have missed something when making the background plan because when changing the background plan the printer doesn't change.
Well I did some tests again by redoing my basemaps and the printer is not kept in the baseplane...
How I create my basemaps: I create my DRWDOT or I fill in the printer, the layout and then in the explorer I make a copy that I rename to . SLDDRT
Edit: @stefbeno I confirm that the layout doesn't change hence the macro I'm trying to do... On the other hand, there is the problem of choosing the printer that I can't implement in my macro...
Have you tried to do a macro in manu and see what happens?
By that, I mean, record a macro, do the manipulation and then edit the macro to see how it works (it doesn't always work, but you never know. It helps sometimes)
That said, for the original problem, I don't really understand why it doesn't follow. In general it follows on its own. And if you need to scale on writing, there's a message that pops up asking you the question. Maybe you checked "by default" the fact of not doing it? (Tools, System Option, Advanced)
Thank you Bart I didn't know the API help site of solid...
So the same fight for the choice of printer: http://help.solidworks.com/2015/English/api/swconst/fileprint.htm => Not currently available in SOLIDWORKS API
I had built my macro on the basis of a manual macro recording without finding the printer change, I understand why now.... :'(
Hello to tous.je come here to testify that you are attempting an impossible mission. Personally, I have not yet found a solution to this problem but as soon as I find a lead, I will come back to you to inform you.