Tool Palette Buttons for Layouts - Paper Size and Scale in Title Block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
We work with a DWG with Paper Size Layouts that we transfer to our drawing with a Tool Palette Button.
Seems to me that this is a widely used technique within AutoCAD?
I'm trying to get Paper Size and Scale into the Title Block automatically.
That works except for a few small things.
Paper Size looks at 'ctab' which works well when e.g. the Layout is called 'A3'.
A second A3 is then called 'Layout1-A3', which then appears in the Title Block, which is not the intention.
Can I get the Paper Size in another way?
After a Layout is created, the ViewPort is activated and it scales to 0.9xp so that the user can set a scale, close ViewPort etc.
This works fine for the first Layout created, but not for those that follow, I can not get the focus on the next Layout.
See video.
I use this code under the button:
^C^C-layout;template;"HML_Bibliotheek.dwg";"A3";-layout;d;Empty;tilemode;0;zoom e;zoom s .9xp;_.mspace;zoom e;zoom s .9xp;regenall;layout set "A3";^C
In short, how can I make this run more smoothly, does AutoCAD meanwhile have standard options for this that I don't know about?
Thanks in advance.