I want name "presentations tabs" selectionned.
How ?
if you tell us what are you going to do with it, maybe we can tell if you can\how to select it.
Moshe
To rename a layout:
I want to know the 'presentations tabs' selectionned for print automatically with lisp, because I will name the pdf according to the name of the presentation and today's date
Lots of lisp routines already written to plot dwgs. But depends on your setup. For example does the presentations tab have a page setup that has all the plot parameters set? If not then what plot parameters do you want in the lisp like: paper size (A1, A2, A3,A4), plot area (layout), pen assignment (ctb or stb), scale (1:1 or Fit), orientation (landscape or portrait) ? You mentioned name of the presentation and date. So you don’t want to include name of the dwg but just the layout name with todays date or a specific date?
Please use the word "Layout" that is what they are known as. Like others have plot lisp routines. Yes can have layout name. This is one example you can have a go at changing the variable dwgname to (getvar 'ctab). It is hard coded to suit a A1 title block. Save Multi getvals.lsp in a support path its auto loaded.
Hye,
My presentations tab have a configuration : size, scale, plot area, orientation and printer (pdf).
I want generate automaticuly only presentations tab selected the pdf with 'dwgname' & 'presentations tabs name' & 'todays date'.
I already have the lisp to generate a trace file.
I want and repeat the list of presentation tabs selected.
Thanks
Patrice
Hye,
Ok for layout.
Ok for plotA3pdfrange.lsp
Is it possible to know if layout is selectionned ?
Patrice
Attached is function I call plttabs.lsp
It'll bring up a dialog box for you to select the layouts you want to plot.
Then it'll cycle through each layout you selected & plot using the layout's plot settings.
Note: The plot will fail on layouts that do not have plot settings
There is no way to get a list of selected layouts. The only option is to get the current one.
If you like, you can use this generic dcl... used for layouts in this case.
Hie
Your solutions are good for me.
Sometimes I select the layouts at the bottom.
Do you have a solution to know the selected layouts?
In this exemple :
Phase 6, Phase 11, Phase 13 Noel
Else your lisp is ok for me.
Patrice
Using the plot range pdf.lsp I posted you just run it, but put start and end as same number and it will only plot 1 layout reasonably fast. @ВeekeeCZ method looks good also, one suggestion use (layoutlist) rather than "get layouts".